aboutsummaryrefslogtreecommitdiff
path: root/gst/gst.h
diff options
context:
space:
mode:
authorjacopo grandi <jak.sk8@hotmail.it>2021-02-20 00:11:23 +0100
committerjacopo grandi <jak.sk8@hotmail.it>2021-02-20 00:11:23 +0100
commit2eef87c8970db643c4ef09e0fd9e8110c8193043 (patch)
tree78a9bcc7932ab8edb8669ded755ee2c81afc0912 /gst/gst.h
parentc135f85fcdc1eeedd04e0c9e9f626b907500f20a (diff)
finish condition and bad cost function
Diffstat (limited to 'gst/gst.h')
-rw-r--r--gst/gst.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/gst.h b/gst/gst.h
index 8acb699..171e213 100644
--- a/gst/gst.h
+++ b/gst/gst.h
@@ -19,12 +19,15 @@ typedef struct {
float coveredtime;
int turn;
float turnspeed;
+ int turn_until_finish;
+ int over;
} gamestate;
void gst_init (gamestate *gst);
void gst_destroy (gamestate *gst);
void gst_get_maparmy(gamestate *gst, map **m, army **ar);
void gst_tobattle (gamestate *gst);
+void gst_toeditor (gamestate *gst);
void gst_process (gamestate *gst, infos *info, float t);
#endif \ No newline at end of file