From a6dc21034a55be0a9c1910787d615b5bca7131c6 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Mon, 11 Apr 2022 00:36:45 +0300 Subject: refactor: divide code into modules --- src/meeple.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/meeple.h (limited to 'src/meeple.h') 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); -- cgit v1.2.3