diff options
author | jacopo grandi <jak.sk8@hotmail.it> | 2021-03-05 16:54:26 +0100 |
---|---|---|
committer | jacopo grandi <jak.sk8@hotmail.it> | 2021-03-05 16:54:26 +0100 |
commit | d1af4269c4130d11d77f61f1a2ac8f3e249f72f2 (patch) | |
tree | 05618430db0951262bd22e7bbe77b663c3c0346f /gst/gst.h | |
parent | 02e55b0647eb5c631e7d7669a13fd0d47ec26c15 (diff) |
unit generator in hud, minor fix in movement, % in view and cost weights
Diffstat (limited to 'gst/gst.h')
-rw-r--r-- | gst/gst.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -6,6 +6,7 @@ #include "map.h" #include "fxs.h" #include "../render/render_text.h" +#include "../mkb/mkb.h" #include <SDL2/SDL.h> @@ -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); |