aboutsummaryrefslogtreecommitdiff
path: root/src/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/board.h')
-rw-r--r--src/board.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/board.h b/src/board.h
index a993680..cd78901 100644
--- a/src/board.h
+++ b/src/board.h
@@ -2,7 +2,7 @@
#define BOARD_ROW_UNITS ((BOARD_WIDTH * 2) + 1)
#define BOARD_UNITS BOARD_ROW_UNITS * BOARD_ROW_UNITS
#define PLAYERS 2
-
+#define MAX_STRUCTURES 100
/* constants */
const char EMPTY = ' ';
@@ -38,3 +38,9 @@ void rotate_tile(Tile* tile, int increment);
void traverse_structure(int group, int index, BoardUnit* board);
void refresh_structure_groups(BoardUnit* board);
int evaluate_structure(int index, BoardUnit* board);
+
+
+/* meeples */
+int is_allowed_meeple(int meeple, int index, BoardUnit* board, int* meeple_map);
+void refresh_meeple_map(BoardUnit* board, int* meeple_map);
+int get_structure_dominator(int structure_group, int* meeple_map);