From 16bca58803c5ff76de20889bc064f22e5305b9ed Mon Sep 17 00:00:00 2001 From: jacopo grandi Date: Mon, 22 Feb 2021 16:28:34 +0100 Subject: blinking cursor and fix net --- hud/hud.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'hud/hud.h') diff --git a/hud/hud.h b/hud/hud.h index a520dcb..cdf95b1 100644 --- a/hud/hud.h +++ b/hud/hud.h @@ -21,6 +21,11 @@ typedef struct { SDL_Rect *ref; } hud_sel; +typedef struct { + SDL_Rect rect_back; + char *oppo[32]; +} overlay_battle; + typedef struct { button new_template; button save_templates; @@ -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 -- cgit v1.2.3-54-g00ecf