aboutsummaryrefslogtreecommitdiff
path: root/gst/gst.h
diff options
context:
space:
mode:
authorjacopo grandi <jak.sk8@hotmail.it>2021-02-25 16:29:19 +0100
committerjacopo grandi <jak.sk8@hotmail.it>2021-02-25 16:29:19 +0100
commite8bc1eab9a45b8893701e3acbd008fe259c53a4c (patch)
treeeac29a2ee78245122b48dd8ec4fdfd6581d97f98 /gst/gst.h
parent83c2ceb9cbe890ec50399b6e4908218477a3088f (diff)
before was messy, now is MACRO(MACRO(MACRO(MACRO(clean))))
Diffstat (limited to 'gst/gst.h')
-rw-r--r--gst/gst.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/gst.h b/gst/gst.h
index ad0a685..6d9519e 100644
--- a/gst/gst.h
+++ b/gst/gst.h
@@ -19,6 +19,8 @@ typedef struct {
map map_battle;
army ar;
float ar_lastpos[MAXUNITS][2];
+ stats_unit ustats[MAXUNITS];
+
int state;
float cam[2];
float starttime;
@@ -33,7 +35,7 @@ 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_tobattle (gamestate *gst, infos *info);
void gst_toeditor (gamestate *gst);
void gst_process (gamestate *gst, infos *info, fxs *fx, float t);