From 02e55b0647eb5c631e7d7669a13fd0d47ec26c15 Mon Sep 17 00:00:00 2001 From: jacopo grandi Date: Thu, 4 Mar 2021 12:40:52 +0100 Subject: morning fixes and bruteforce unit generation --- gst/generate.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 gst/generate.h (limited to 'gst/generate.h') diff --git a/gst/generate.h b/gst/generate.h new file mode 100644 index 0000000..a4da2d6 --- /dev/null +++ b/gst/generate.h @@ -0,0 +1,11 @@ +#ifndef GENERATE_H +#define GENERATE_H + +#include "info.h" + +#define GENERATE_UNIT_MAX_ATTEMPTS 48637 + +void generate_init (); +int generate_unit (infos *info, info_unit *u, float cost); + +#endif \ No newline at end of file -- cgit v1.2.3-54-g00ecf