aboutsummaryrefslogtreecommitdiff
path: root/src/meeple.h
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-04-11 00:36:45 +0300
committereug-vs <eugene@eug-vs.xyz>2022-04-11 00:36:45 +0300
commita6dc21034a55be0a9c1910787d615b5bca7131c6 (patch)
tree90dd29b77d2cd27b7a3f72754b7bfccc6577d88f /src/meeple.h
parentca745926cf181e1aee026c48335543610f60770e (diff)
downloadcarcassonne-engine-c-a6dc21034a55be0a9c1910787d615b5bca7131c6.tar.gz
refactor: divide code into modules
Diffstat (limited to 'src/meeple.h')
-rw-r--r--src/meeple.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/meeple.h b/src/meeple.h
new file mode 100644
index 0000000..5a7df20
--- /dev/null
+++ b/src/meeple.h
@@ -0,0 +1,6 @@
+#pragma once
+#include "structure.h"
+
+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);