
- Refactor drawing to keep blocks persistent in memory - Make string usage easier & more consisten (macros for string vs const char*) - rdtsc intrinsic (get cycle count) - Profiling macros (generates a google trace json) - Write D3D11 debug messages to stdout - String_Builder & thorough tests for it
31 lines
No EOL
614 B
C
31 lines
No EOL
614 B
C
|
|
|
|
///
|
|
// Build config stuff
|
|
#define RUN_TESTS 0
|
|
|
|
// This is only for people developing oogabooga!
|
|
#define OOGABOOGA_DEV 1
|
|
|
|
#define ENABLE_PROFILING 0
|
|
|
|
// When we need very debug
|
|
// #define CONFIGURATION VERY_DEBUG
|
|
|
|
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
|
|
|
|
#define GFX_RENDERER GFX_RENDERER_D3D11
|
|
|
|
#include "oogabooga/oogabooga.c"
|
|
|
|
|
|
//
|
|
// Comment & Uncomment to swap projects
|
|
|
|
// #include "entry_engine_test.c"
|
|
// #include "entry_minimal_example.c"
|
|
#include "entry_randygame.c" |