From a22c967a59a1e17663790db72f2d24edafc6199a Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Thu, 22 May 2025 18:59:46 +0200 Subject: Remove the rendiring process of the lines I've moved that inside the game rendering function. --- src/main/game/domain/board.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main/game/domain/board.h') 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__ */ -- cgit v1.2.3