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

39 lines
1.1 KiB
C
Raw Normal View History

///
// Build config stuff
2024-07-02 19:12:31 +02:00
#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
2024-07-02 19:12:31 +02:00
// This defaults to "entry", but we can set it to anything (except "main" or other existing proc names"
2024-07-15 21:40:27 +02:00
#define ENTRY_PROC entry
2024-07-02 19:12:31 +02:00
// Ooga booga needs to be included AFTER configuration and BEFORE the program code
#include "oogabooga/oogabooga.c"
2024-07-03 23:01:46 +02:00
// #Volatile tutorial below
// #Volatile tutorial below
// #Volatile tutorial below
2024-07-02 12:48:28 +07:00
//
// Comment & Uncomment these to swap projects (only include one at a time)
//
2024-07-15 21:40:27 +02:00
// 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/custom_logger.c"
// #include "oogabooga/examples/renderer_stress_test.c"
// #include "oogabooga/examples/tile_game.c"
2024-07-15 21:40:27 +02:00
// #include "oogabooga/examples/audio_test.c"
// This is where you swap in your own project!
2024-07-03 23:01:46 +02:00
// #include "entry_yourepicgamename.c"