Doom2fan / Se7evidas

An RPG mod for GZDoom.
Other
6 stars 0 forks source link

Generic-ify the HUD's ammo count #121

Open Doom2fan opened 10 months ago

Doom2fan commented 10 months ago

Right now, the ammo count is somewhat hardcoded for each gun and relies on the ammo count being an inventory item. It'd be a good idea to handle this by asking the weapon for its ammo count and max ammo, but then how do we handle providing the bullet graphics, if it's supposed to work for any HUD type?