[LZDoom] Add missing DrawTextureTags

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
m8f
 
 
Posts: 1395
Joined: Fri Dec 29, 2017 4:15 am
Discord: m8f#0629
Github ID: mmaulwurff
Operating System: Other Linux 64-bit
Location: Siberia (UTC+7)

[LZDoom] Add missing DrawTextureTags

Post by m8f »

The following DrawTextureTags (and, probably, drawing implementation) are present in current GZDoom (4.4.0) and are missing in LZDoom 3.85:
  • DTA_FlipY
  • DTA_SrcX
  • DTA_SrcY
  • DTA_SrcWidth
  • DTA_SrcHeight
Mods that use these tags cannot be loaded in LZDoom.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3110
Joined: Fri Apr 23, 2004 3:51 am
Discord: drfrag#3555
Github ID: drfrag666
Location: Spain

Re: [LZDoom] Add missing DrawTextureTags

Post by drfrag »

Thanks, those were added during the 2d refactor/backend unification in the commit "- it compiles again." from 03/28/18.
They were in the legacy build but not here, i missed them. Seems they are mergeable. Could you link to a mod using them and not too big?
User avatar
m8f
 
 
Posts: 1395
Joined: Fri Dec 29, 2017 4:15 am
Discord: m8f#0629
Github ID: mmaulwurff
Operating System: Other Linux 64-bit
Location: Siberia (UTC+7)

Re: [LZDoom] Add missing DrawTextureTags

Post by m8f »

Cool!

DTA_FlipY: viewtopic.php?t=64788#p1104858
DTA_SrcX, DTA_SrcWidth: viewtopic.php?f=43&t=61643#p1068272
DTA_SrcY, DTA_SrcHeight: I don't know.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3110
Joined: Fri Apr 23, 2004 3:51 am
Discord: drfrag#3555
Github ID: drfrag666
Location: Spain

Re: [LZDoom] Add missing DrawTextureTags

Post by drfrag »

No, i didn't miss them but i thought they were not mergeable. Now DTA_FlipY is working (Precise Crosshair) and Hellscape Navigator runs, where are DTA_SrcX and DTA_SrcWidth used?
User avatar
m8f
 
 
Posts: 1395
Joined: Fri Dec 29, 2017 4:15 am
Discord: m8f#0629
Github ID: mmaulwurff
Operating System: Other Linux 64-bit
Location: Siberia (UTC+7)

Re: [LZDoom] Add missing DrawTextureTags

Post by m8f »

DTA_SrcX and DTA_SrcWidth are used in drawing Hellscape Navigator's compass.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3110
Joined: Fri Apr 23, 2004 3:51 am
Discord: drfrag#3555
Github ID: drfrag666
Location: Spain

Re: [LZDoom] Add missing DrawTextureTags

Post by drfrag »

Fixed but those only work in the hardware renderer. The compass works anyway.

Return to “Closed Bugs”