From 9e24aa042e9fb9de34f7b445778518fcb67e24aa Mon Sep 17 00:00:00 2001 From: BoredGuy Date: Sun, 15 Mar 2026 17:08:36 +0300 Subject: Some Updates --- src/game.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/game.h (limited to 'src/game.h') diff --git a/src/game.h b/src/game.h new file mode 100644 index 0000000..4aa377b --- /dev/null +++ b/src/game.h @@ -0,0 +1,19 @@ +#ifndef GAME_H_ +#define GAME_H_ +/* + * Defines the data needed for the game scene + * the data for the game is stored as a global variable + * of type struct game defined in game.c + */ +#include "entity.h" +#include "constants.h" + +struct game { + struct entity entities[MAX_ENTITY_COUNT]; +}; + +void update_game(float dt); +void draw_game(); +void init_game(); + +#endif -- cgit v1.2.3