diff options
author | jacopo grandi <jak.sk8@hotmail.it> | 2021-02-18 14:14:23 +0100 |
---|---|---|
committer | jacopo grandi <jak.sk8@hotmail.it> | 2021-02-18 14:14:23 +0100 |
commit | 5f0fce4191309e9526b7109a0d87c092ce6a4193 (patch) | |
tree | 105257f876551814aa74a0760ec116bd1bf307a5 /hud/hud_views.h | |
parent | ead78d51e662057467b79d3a65b20c4ba83cbf07 (diff) |
main
Diffstat (limited to 'hud/hud_views.h')
-rw-r--r-- | hud/hud_views.h | 47 |
1 files changed, 47 insertions, 0 deletions
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 <SDL.h> + +#include <render_text.h> +#include <button.h> +#include <graphicsettings.h> +#include <mkb.h> +#include <info.h> +#include <units.h> +#include <hud.h> + +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 |