From 5f0fce4191309e9526b7109a0d87c092ce6a4193 Mon Sep 17 00:00:00 2001 From: jacopo grandi Date: Thu, 18 Feb 2021 14:14:23 +0100 Subject: main --- hud/hud_views.h | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 hud/hud_views.h (limited to 'hud/hud_views.h') diff --git a/hud/hud_views.h b/hud/hud_views.h new file mode 100644 index 0000000..ceced23 --- /dev/null +++ b/hud/hud_views.h @@ -0,0 +1,47 @@ +#ifndef HUD_VIEWS_H +#define HUD_VIEWS_H + +#include + +#include +#include +#include +#include +#include +#include +#include + +void render_view_stats (SDL_Renderer* rend, txtd *t, int px, int py, + infos *info, info_unit *tm); + + +void render_view_chassis (SDL_Renderer* rend, txtd *t, int px, int py, + infos *info, int chassis, SDL_Texture *sprites); + +void render_view_battery (SDL_Renderer* rend, txtd *t, int px, int py, + infos *info, int batt); + +void render_view_armor (SDL_Renderer* rend, txtd *t, int px, int py, + infos *info, int armor); +void render_view_armor_detail (SDL_Renderer* rend, txtd *t, int px, int py, + infos *info, int armor); + +void render_view_weapon (SDL_Renderer* rend, txtd *t, int px, int py, + infos *info, int weapon); +void render_view_weapon_detail (SDL_Renderer* rend, txtd *t, int px, int py, + infos *info, int weapon); + +void render_view_aug (SDL_Renderer* rend, txtd *t, int px, int py, + infos *info, int aug); +void render_view_aug_detail (SDL_Renderer* rend, txtd *t, int px, int py, + infos *info, int aug); + +void render_view_brain (SDL_Renderer* rend, txtd *t, int px, int py, + infos *info, int brain); + + +void render_view_template (SDL_Renderer* rend, txtd *t, int px, int py, + infos *info, int temp); + + +#endif \ No newline at end of file -- cgit v1.2.3-54-g00ecf