Allows a graphic to be rotated when drawn via the Screen API.
Necessary for animating Blood's weapons, as they make use of rotations often.
DTA_Angle
Moderator: GZDoom Developers
-
- Lead GZDoom+Raze Developer
- Posts: 48595
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: DTA_Angle
Someone will have to write a 2D drawer for these first or the feature will be a bit limited.
-
- Admin
- Posts: 13254
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: DTA_Angle
What Graf means is that currently the 2D drawers in Software mode use the sprite/wall drawers which are incapable of doing these things. You would need an actual rotating drawer to accomplish this - they're not hard to write, but they tend to be a deathly performance killer if you don't do it just right.
Yes, these drawers are important. We're not dropping a feature just because it's too inconvenient for any given contributor to help maintain it.
Yes, these drawers are important. We're not dropping a feature just because it's too inconvenient for any given contributor to help maintain it.
-
- Posts: 8109
- Joined: Sun Jan 28, 2007 3:55 pm
Re: DTA_Angle
This should tie in nicely with the ability to rotate psprites too, perhaps, right?
-
- Posts: 111
- Joined: Wed Jun 15, 2016 2:49 pm
Re: DTA_Angle
Major Cooke wrote:This should tie in nicely with the ability to rotate psprites too, perhaps, right?


-
- Admin
- Posts: 13254
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: DTA_Angle
@ZippeyKeys12 could we please not bump old topics with "has this been done?" or "has this been revisted yet?" Thank you.
-
- Posts: 1528
- Joined: Thu Jul 14, 2011 12:06 am
- Location: Gold Coast, Queensland, Australia
Re: DTA_Angle
Would it be possible to get this hardware-only until support for rotations in software is added? It'd be like a +ROLLSPRITE situation.
-
- Admin
- Posts: 13254
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: DTA_Angle
Absolutely not. Besides, writing software drawers is not as bad as you think.The Zombie Killer wrote:Would it be possible to get this hardware-only until support for rotations in software is added? It'd be like a +ROLLSPRITE situation.
-
-
- Posts: 17357
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
Re: DTA_Angle
DTA_Rotate flag was added to the Screen API some time ago (thanks to a backend update from Raze) - but more related to the use case in the OP, weapon PSprite overlays are able to rotate and scale for quite a few versions now.