mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
b17b8d32ad
- replaced Inventory.DrawPowerup with a GetPowerupIcon method so that the calling code can handle the drawing and apply its own rules. This was a major design flaw of allowing the inventory items to handle the drawing themselves, because they were unable to adjust to different HUD frontends. Note that any mod that overrides DrawPowerup will not draw any icon that expects to be handled that way! - the alternative HUD now has its own, separate drawer that obeys the AltHUD's rules, and not the ones of the normal fullscreen HUD. - the standard drawer has been scriptified as a virtual function. - Both drawers now handle positioning of the icon inside its assigned box themselves instead of trusting the powerup item to do it correctly. - DTA_HUDRules and Screen.DrawHUDTexture are to be considered deprecated because both do not integrate into the redesigned HUD code. |
||
---|---|---|
.. | ||
ammo.txt | ||
armor.txt | ||
health.txt | ||
inv_misc.txt | ||
inventory.txt | ||
powerups.txt | ||
stateprovider.txt | ||
weaponpiece.txt | ||
weapons.txt |