diff options
author | eug-vs <eugene@eug-vs.xyz> | 2022-03-29 03:21:13 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2022-03-29 03:21:13 +0300 |
commit | 2c803562d153b53a2c1f983af5e8ee68422cbfdb (patch) | |
tree | f43abf3aa3c3cab3423e095121c8bc8077e83bc2 /src/board.h | |
parent | 7315e36cd66b9f2626dbb3d89f7e0ea8b9fcafd0 (diff) | |
download | carcassonne-engine-c-2c803562d153b53a2c1f983af5e8ee68422cbfdb.tar.gz |
feat: add structure traversal
Diffstat (limited to 'src/board.h')
-rw-r--r-- | src/board.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/board.h b/src/board.h index f5d2da3..924c226 100644 --- a/src/board.h +++ b/src/board.h @@ -23,3 +23,8 @@ int is_allowed_placement(char* tile, int position, char* board); int is_center_position(int position); int place_tile(char* tile, int position, char* board); + +// Structures +void traverse_structure(char id, int byte, char* board, char* structures); + +void create_structure_mask(char* board, char* structures); |