This repository has been archived on 2025-02-04. You can view files and clone it, but cannot push or open issues or pull requests.
helpless/build.c
2024-07-09 14:54:06 +02:00

35 lines
990 B
C

///
// Build config stuff
#define INITIAL_PROGRAM_MEMORY_SIZE MB(5)
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
// This defaults to "entry", but we can set it to anything (except "main" or other existing proc names"
#define ENTRY_PROC entry
// Ooga booga needs to be included AFTER configuration and BEFORE the program code
#include "oogabooga/oogabooga.c"
// #Volatile tutorial below
// #Volatile tutorial below
// #Volatile tutorial below
//
// Comment & Uncomment these to swap projects (only include one at a time)
//
// this is a minimal starting point for new projects. Copy & rename to get started
#include "oogabooga/examples/minimal_game_loop.c"
// #include "oogabooga/examples/text_rendering.c"
// #include "oogabooga/examples/renderer_stress_test.c"
// This is where you swap in your own project!
// #include "entry_yourepicgamename.c"