gzdoom-gles/wadsrc/static/zscript
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
..
actors Added A_OverlayPivotAlign and A_OverlayVertexOffset. 2020-10-25 15:42:11 +01:00
scriptutil - 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
ui - added flag option menu item by Accensus. 2020-10-24 17:49:56 +02:00
base.zs - some fixes for the console. 2020-10-25 09:17:31 +01:00
compatibility.zs Add help messages for most of the deprecated stuff in ZScript. 2020-03-14 12:56:03 +02:00
constants.zs Added A_OverlayPivotAlign and A_OverlayVertexOffset. 2020-10-25 15:42:11 +01:00
destructible.zs Add help messages for most of the deprecated stuff in ZScript. 2020-03-14 12:56:03 +02:00
dictionary.zs fix Dictionary and DictionaryIterator memory leaks 2020-03-08 18:46:37 +01:00
doombase.zs - some fixes for the console. 2020-10-25 09:17:31 +01:00
dynarrays.zs - exposed Append() method to ZScript dynamic array 2019-08-10 16:37:40 +03:00
events.zs Add PlayerSpawned() event (#1118) 2020-08-25 11:54:20 -04:00
level_compatibility.zs - Fixed a lift in Double Impact E1M7 that could not be used more than twice from the lower area. 2020-10-09 18:40:01 +02:00
level_postprocessor.zs - rename 'FlipLine' to 'FlipLineVertexes' to clarify what it does 2019-11-24 06:40:01 -05:00
mapdata.zs Expose changing sidedef wallpart flags to zscript 2020-10-25 06:27:20 +01:00
sounddata.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
zscript_license.txt - 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