aboutsummaryrefslogtreecommitdiff
path: root/hud/hud.h
diff options
context:
space:
mode:
authorjacopo grandi <jak.sk8@hotmail.it>2021-02-22 16:28:34 +0100
committerjacopo grandi <jak.sk8@hotmail.it>2021-02-22 16:29:15 +0100
commit16bca58803c5ff76de20889bc064f22e5305b9ed (patch)
treea0d154e84071677d1bd76a07fc8e4dc771c1f5a0 /hud/hud.h
parent02c89fceeb915e31b36dd4acb4218ccd913b2ce8 (diff)
blinking cursor and fix net
Diffstat (limited to 'hud/hud.h')
-rw-r--r--hud/hud.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/hud/hud.h b/hud/hud.h
index a520dcb..cdf95b1 100644
--- a/hud/hud.h
+++ b/hud/hud.h
@@ -22,6 +22,11 @@ typedef struct {
} hud_sel;
typedef struct {
+ SDL_Rect rect_back;
+ char *oppo[32];
+} overlay_battle;
+
+typedef struct {
button new_template;
button save_templates;
button save_army;
@@ -64,6 +69,7 @@ typedef struct {
typedef struct {
hud_sel sc;
+ overlay_battle ob;
overlay_game og;
form_new_unit fnu;
int state;
@@ -76,6 +82,6 @@ void hud_process (graphic_settings *gs, hud *h, MKb *mkb,
infos *info, army *ar, map *m, txtd *t, gamestate *gst,
net_client *netc, net_server *nets, Mix_Chunk *sounds[]);
void hud_render (hud *h, SDL_Renderer* rend, txtd *t, MKb *mkb, infos *info,
- SDL_Texture *sprites);
+ SDL_Texture *sprites, gamestate *gst, float time);
#endif \ No newline at end of file