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/structure.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/structure.h (limited to 'src/structure.h') 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); -- cgit v1.2.3