Initial commit.

This commit is contained in:
2025-10-26 15:42:34 -05:00
commit f1db7de87c
29 changed files with 781 additions and 0 deletions

37
src/main.c Executable file
View File

@@ -0,0 +1,37 @@
/**
* Copyright (c) 2025 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#include "game.h"
#if RPG_TERM == 1
#include "term/term.h"
#endif
int main(int argc, char** argv) {
gameInit();
#if RPG_TERM == 1
termInit();
#endif
while(1) {
#if RPG_TERM == 1
termUpdate();
#endif
gameTick();
#if RPG_TERM == 1
termDraw();
#endif
}
#if RPG_TERM == 1
termDispose();
#endif
return 0;
}