UndeadZeratul / hideous-helmet-extended

A Customizable HUD for Hideous Destructor! Requires HUDCore, and supports Hideous Helmet
GNU General Public License v3.0
4 stars 2 forks source link

Clean up Armour HUD Element Offsets #38

Closed UndeadZeratul closed 1 year ago

UndeadZeratul commented 1 year ago

It seems I misunderstood a bit how graphics are rendered and how their offsets are calculated, leading to some odd behavior in some cases with the Armour HUD Element and its individual pieces.

I'll need to make new Graphic entries in a separate TEXTURES lump to define each Armour piece's graphical offset (defaulting to (0, 0)) so that things can be programmatically consistent yet reskins can adjust individual textures as needed to properly align them.

This will also cause a slight adjustment to the CVARs as things will probably need to be shifted around, but in the end hopefully this makes things a bit more consistent to players and reskins.