[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.
Post Reply
User avatar
m8f
 
 
Posts: 1445
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)
Contact:

[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: 3141
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

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: 1445
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)
Contact:

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: 3141
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

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: 1445
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)
Contact:

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: 3141
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Re: [LZDoom] Add missing DrawTextureTags

Post by drfrag »

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

Return to “Closed Bugs [GZDoom]”