
- Some compile options that make sense for build.bat, and a build_release.bat - oogabooga: - Big buffer program_memory that always has same base address (goodbye serialisation problems) - Big buffer grows as needed, crash when out of memory - Very sexy platform abstraction & basic os call procedures - Heap allocator around the program memory. - Jaiyfication (context, context.allocator, push_allocator, temp allocator) - Some tests to make sure we ooga the right boogas
19 lines
No EOL
338 B
C
19 lines
No EOL
338 B
C
|
|
///
|
|
// Build config stuff
|
|
#define VERY_DEBUG 0
|
|
#define RUN_TESTS 0
|
|
|
|
typedef struct Context_Extra {
|
|
int monkee;
|
|
} Context_Extra;
|
|
// This needs to be defined before oogabooga if we want extra stuff in context
|
|
#define CONTEXT_EXTRA Context_Extra
|
|
|
|
#include "oogabooga/oogabooga.c"
|
|
|
|
|
|
// Includes for game goes here
|
|
// ...
|
|
|
|
#include "main.c" |