From d1af4269c4130d11d77f61f1a2ac8f3e249f72f2 Mon Sep 17 00:00:00 2001 From: jacopo grandi Date: Fri, 5 Mar 2021 16:54:26 +0100 Subject: unit generator in hud, minor fix in movement, % in view and cost weights --- gst/gst.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gst/gst.h') diff --git a/gst/gst.h b/gst/gst.h index c7ba752..992d31d 100644 --- a/gst/gst.h +++ b/gst/gst.h @@ -6,6 +6,7 @@ #include "map.h" #include "fxs.h" #include "../render/render_text.h" +#include "../mkb/mkb.h" #include @@ -30,6 +31,7 @@ typedef struct { float turnspeed; int turn_until_finish; int over; + int waitstep; } gamestate; void gst_init (gamestate *gst); @@ -42,7 +44,7 @@ void gst_toeditor (gamestate *gst); void gst_next_turn (gamestate *gst, infos *info, fxs *fx, float t); int gst_check_victory (gamestate *gst); -void gst_process (gamestate *gst, infos *info, fxs *fx, float t); +void gst_process (gamestate *gst, infos *info, MKb *mkb, fxs *fx, float t); void gst_render (SDL_Renderer *rend, SDL_Texture *txsprites, txtd *textd, gamestate *gst, infos *info, float t); -- cgit v1.2.3-54-g00ecf