summaryrefslogtreecommitdiff
path: root/src/game/game.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r--src/game/game.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp
index b072997..19fda52 100644
--- a/src/game/game.hpp
+++ b/src/game/game.hpp
@@ -253,8 +253,10 @@ namespace game {
} deco_assets_t;
typedef struct {
- render::animated_texture_t crystals, icon_health, icon_grenade;
+ render::animated_texture_t crystals;
audio::sound_t crystal_tick;
+
+ render::animated_texture_t icon_health, icon_grenades, icon_shells;
} ui_assets_t;
extern soldier_assets_t soldier;
@@ -304,6 +306,7 @@ namespace game {
unit_t *find_target(world::world_t *world, v2f_t x, float r, bool friendly);
typedef struct {
+ size_t shells, max_shells = 0;
size_t grenades, max_grenades = 0;
} storage_t;