gzdoom/wadsrc/static/zscript/actors
Major Cooke 7c4c0163a3 Added A_OverlayPivotAlign and A_OverlayVertexOffset.
A_OverlayPivotAlign(int layer, int halign, int valign)
- Aligns the pivot point origin to a corner of the PSprite before applying offsets.
- - halign: Horizontal. Applicable constants are PSPA_<LEFT/CENTER/RIGHT>.
- - valign: Vertical. Applicable constants are PSPA_<TOP/CENTER/BOTTOM>.
- - Default is top left.

A_OverlayVertexOffset(int layer, int index, double x, double y, int flags)
- Allows offsetting the corners of the psprite, granting modders the ability to skew weapon sprites as they see fit.
- - index: The index of the vertice. Valid ranges are between [0,3].
- - x/y: Offsets of vertices.
- - flags: Takes WOF_ flags.

Other changes:
- Removed pivot point interpolation since it's pointless.
- Removed PSPF_PIVOTSCREEN due to complications with it having relativity. This will be revisited either later or in another submission.
- Added ResetPSprite() to be called with BringUpWeapon(), A_Lower(), and morph weapon raising to reset all the new properties to 0.

Nearly ready now. Just some final testing needed.
2020-10-25 15:42:11 +01:00
..
chex - made the colorset names and the texts in the color picker localizable. 2019-05-19 18:57:39 +02:00
doom - Added NORANDOMPUFFZ flag to A_Saw 2020-10-04 08:07:13 +02:00
heretic Added A_OverlayPivotAlign and A_OverlayVertexOffset. 2020-10-25 15:42:11 +01:00
hexen - let blastradius work without an effect actor. 2020-06-12 23:14:58 +02:00
inventory Added A_OverlayPivotAlign and A_OverlayVertexOffset. 2020-10-25 15:42:11 +01:00
player Added A_OverlayPivotAlign and A_OverlayVertexOffset. 2020-10-25 15:42:11 +01:00
raven - fixed: the minotaur spawned its floor flames regardless of the setting of compat_minotaur 2020-07-28 12:25:35 +02:00
shared - do not report missing camera target if its TID is zero 2020-08-27 11:57:25 +03:00
strife - fixed: player_t::GetPSprite cannot guarantee success 2020-03-11 00:56:29 +01:00
actions.zs Added A_SpriteOffset. (#895) 2020-08-27 12:43:09 -04:00
actor.zs Added A_OverlayPivotAlign and A_OverlayVertexOffset. 2020-10-25 15:42:11 +01:00
attacks.zs Add species parameter to A_RadiusThrust 2020-09-27 13:58:22 +02:00
checks.zs Add help messages for most of the deprecated stuff in ZScript. 2020-03-14 12:56:03 +02:00
interaction.zs - reorganized the ZScript content in gzdoom.pk3 and changed the files' extensions to something unique for easier syntax highlighting. 2019-02-23 12:08:27 +01:00
inventory_util.zs Fixed a regression in DoTakeInventory. (the C++ code just ignored the null pointer, but ZScript can't do that) 2019-12-30 12:37:33 -03:00
morph.zs Changed Pre/Post(Un)Morph to take the other actor and a boolean indicating direction. 2020-03-08 15:29:09 +01:00