Menu

#237 Sprites may overlap in HUD in Freedoom

v2.2.6.*
open
nobody
None
5
2014-01-08
2014-01-07
No

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.

  • Fabian
1 Attachments

Discussion

  • Andrey Budko

    Andrey Budko - 2014-01-07

    Is there any code for arranging? IIRC -PRBHUD- lump contains absolute coordinates.

     
  • Fabian Greffrath

    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.

     

Log in to post a comment.