From 2eef87c8970db643c4ef09e0fd9e8110c8193043 Mon Sep 17 00:00:00 2001 From: jacopo grandi Date: Sat, 20 Feb 2021 00:11:23 +0100 Subject: finish condition and bad cost function --- gst/gst.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gst/gst.h') 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 -- cgit v1.2.3-54-g00ecf