Sprites may overlap in HUD in Freedoom
Brought to you by:
e6y
Hi Andrey,
it seems that some sprites in Freedoom are bigger than their conterparts in Doom, especially the big Medikit and the Armor. This leads to the sprites overlapping in "hud_num 8"; please see the attached screenshot. I guess this could be solved by arranging the vertical gap between both lines in the HUD based on the size of the used sprites rather than the font.
Is there any code for arranging? IIRC -PRBHUD- lump contains absolute coordinates.
From a quick glance at the source code, it seems that HU_LoadHUDDefs() does some automatic alignment of the elements in hu_stuff.c:1136, if certain values for the x and y positions are given.