
- Input state polling & consuming - is_key_down, is_key_just_pressed, is_key_just_release - consume_key_down, consume_key_just_pressed, consume_key_just_released - Input events - Key event - Scroll event - Text event - unicode.c - utf16_to_utf32
26 lines
No EOL
539 B
C
26 lines
No EOL
539 B
C
|
|
|
|
///
|
|
// Build config stuff
|
|
#define RUN_TESTS 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
|
|
|
|
#define ENTRY_PROC start // This is "entry" by default but we're not like all the other girls so we call it start
|
|
|
|
#include "oogabooga/oogabooga.c"
|
|
|
|
|
|
// Includes for game goes here
|
|
// ...
|
|
|
|
#include "entry.c" |