aboutsummaryrefslogtreecommitdiff
path: root/gst/gst.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gst.h')
-rw-r--r--gst/gst.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/gst/gst.h b/gst/gst.h
index 171e213..ad0a685 100644
--- a/gst/gst.h
+++ b/gst/gst.h
@@ -4,6 +4,11 @@
#include <info.h>
#include <units.h>
#include <map.h>
+#include <fxs.h>
+#include <render_text.h>
+
+#include <SDL.h>
+#include <SDL_mixer.h>
#define MAXMAP 10
@@ -13,6 +18,7 @@ typedef struct {
int playernum;
map map_battle;
army ar;
+ float ar_lastpos[MAXUNITS][2];
int state;
float cam[2];
float starttime;
@@ -26,8 +32,12 @@ typedef struct {
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);
+
+void gst_process (gamestate *gst, infos *info, fxs *fx, float t);
+void gst_render (SDL_Renderer *rend, SDL_Texture *txsprites, txtd *textd,
+ gamestate *gst, infos *info, float t);
#endif \ No newline at end of file