From d67fc3baa8180703f2280738d13335cb9665b348 Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 3 Jul 2025 15:34:28 -0600 Subject: first commit --- src/game.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/game.c (limited to 'src/game.c') diff --git a/src/game.c b/src/game.c new file mode 100644 index 0000000..807220c --- /dev/null +++ b/src/game.c @@ -0,0 +1,25 @@ +#include "game.h" +#include "utils.h" + +void initGame(Game* game) +{ + // Settings. + game->settings = defaultSettings(); + + // Window. + InitWindow(game->settings.windowWidth, game->settings.windowHeight, + "Find Things"); +} + +void updateGame(Game* game) +{ + BeginDrawing(); + ClearBackground(RAYWHITE); + + EndDrawing(); +} + +void closeGame(Game* game) +{ + CloseWindow(); +} -- cgit v1.2.3