From e8bc1eab9a45b8893701e3acbd008fe259c53a4c Mon Sep 17 00:00:00 2001 From: jacopo grandi Date: Thu, 25 Feb 2021 16:29:19 +0100 Subject: before was messy, now is MACRO(MACRO(MACRO(MACRO(clean)))) --- 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 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); -- cgit v1.2.3-54-g00ecf