diff options
author | eug-vs <eugene@eug-vs.xyz> | 2022-04-11 00:36:45 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2022-04-11 00:36:45 +0300 |
commit | a6dc21034a55be0a9c1910787d615b5bca7131c6 (patch) | |
tree | 90dd29b77d2cd27b7a3f72754b7bfccc6577d88f /src/structure.h | |
parent | ca745926cf181e1aee026c48335543610f60770e (diff) | |
download | carcassonne-engine-c-a6dc21034a55be0a9c1910787d615b5bca7131c6.tar.gz |
refactor: divide code into modules
Diffstat (limited to 'src/structure.h')
-rw-r--r-- | src/structure.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/structure.h b/src/structure.h new file mode 100644 index 0000000..420c705 --- /dev/null +++ b/src/structure.h @@ -0,0 +1,8 @@ +#pragma once +#include "tile.h" + +#define MAX_STRUCTURES 100 + +void traverse_structure(int group, int index, BoardUnit* board); +void refresh_structure_groups(BoardUnit* board); +int evaluate_structure(int index, BoardUnit* board); |