diff options
author | eug-vs <eugene@eug-vs.xyz> | 2022-04-11 13:48:24 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2022-04-11 13:48:24 +0300 |
commit | 221949ecfaaefece1767cc1634c3bc3081c0bd1d (patch) | |
tree | 7dc19941be4ac9385c3944d749e16c1d1775ccd9 /src/meeple.h | |
parent | 708c9a4c65e943ca55a7d31d1826c42650139b50 (diff) | |
download | carcassonne-engine-c-221949ecfaaefece1767cc1634c3bc3081c0bd1d.tar.gz |
feat: add scrolling and available meeples counter
Diffstat (limited to 'src/meeple.h')
-rw-r--r-- | src/meeple.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/meeple.h b/src/meeple.h index 5a7df20..7aff946 100644 --- a/src/meeple.h +++ b/src/meeple.h @@ -1,6 +1,9 @@ #pragma once #include "structure.h" +#define PLAYER_MEEPLES 7 + +void initialize_available_meeples(int* available_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); |