diff options
author | 2025-05-20 20:01:01 +0200 | |
---|---|---|
committer | 2025-05-20 20:01:01 +0200 | |
commit | 618402caa489751d61643e6839607fd1546ad635 (patch) | |
tree | 3fa3e8d6dc1cd5a2c94987f9be13d1b76ba29bce /src/main/game/game.h | |
parent | 7f2339edd8449d79de2dc22fdfaa40658c5a201f (diff) | |
download | tris-618402caa489751d61643e6839607fd1546ad635.tar.gz tris-618402caa489751d61643e6839607fd1546ad635.zip |
Move all logic inside the game
Diffstat (limited to 'src/main/game/game.h')
-rw-r--r-- | src/main/game/game.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/game/game.h b/src/main/game/game.h index e98e109..298cafb 100644 --- a/src/main/game/game.h +++ b/src/main/game/game.h @@ -20,6 +20,12 @@ #ifndef __GAME_H__ #define __GAME_H__ +typedef struct TrisGame { + int width, height; +} TrisGame; + +TrisGame *game_init(int width, int height); +void game_start(void); void game_draw_field(float box_size, float x, float y); #endif /* __GAME_H__ */ |