diff options
| author | BoredGuy <osome3717@gmail.com> | 2026-03-15 17:08:36 +0300 |
|---|---|---|
| committer | BoredGuy <osome3717@gmail.com> | 2026-03-15 17:08:36 +0300 |
| commit | 9e24aa042e9fb9de34f7b445778518fcb67e24aa (patch) | |
| tree | eb71468111da570dad7e1117e04a25aeba08e29c /src/game.h | |
| parent | 0ed3bb4569ded185237c6d530285382e6c2b6200 (diff) | |
Some Updates
Diffstat (limited to 'src/game.h')
| -rw-r--r-- | src/game.h | 19 |
1 files changed, 19 insertions, 0 deletions
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 |
