diff options
author | 2025-05-22 18:59:46 +0200 | |
---|---|---|
committer | 2025-05-22 18:59:46 +0200 | |
commit | a22c967a59a1e17663790db72f2d24edafc6199a (patch) | |
tree | 5aa0a60a4cba2b314f019bb0499a091e79f3fc13 /src/main/game/domain/board.h | |
parent | cec27feccd1d3232ceae2bf284f66071d36cc96a (diff) | |
download | tris-a22c967a59a1e17663790db72f2d24edafc6199a.tar.gz tris-a22c967a59a1e17663790db72f2d24edafc6199a.zip |
Remove the rendiring process of the lines
I've moved that inside the game rendering function.
Diffstat (limited to 'src/main/game/domain/board.h')
-rw-r--r-- | src/main/game/domain/board.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/game/domain/board.h b/src/main/game/domain/board.h index 2d63809..5ed1bf2 100644 --- a/src/main/game/domain/board.h +++ b/src/main/game/domain/board.h @@ -20,14 +20,16 @@ #ifndef __GAME_BOARD_H__ #define __GAME_BOARD_H__ -#include "../../engine/domain/color.h" +#include "../../util/list.h" +#include "../../engine/engine.h" typedef struct { Color *default_color; Color *wining_color; Color *draft_color; + list_t *lines; } Board; -Board *board_new(void); +Board *board_new(float left, float right, float top, float bottom, float box_size); #endif /* __GAME_BOARD_H__ */ |