gzdoom-gles/wadsrc/static/zscript
Alexander Kromm d28ba37af2 make various getter and pure-math methods clearscope, and where applicable, const
Original PR: https://github.com/coelckers/gzdoom/pull/532

Status of the original PR

1. Actor
- [already in] deltaangle
- [already in] absangle
- [already in] AngleToVector
- [already in] RotateVector
- [already in] Normalize180
- [already in] BobSin
- [already in] GetDefaultSpeed
- [this PR] GetBobOffset
- [this PR] InStateSequence
- [already in] FindState
- [already in] GetDropItems
- [this PR] DistanceBySpeed
- [this PR] AccuracyFactor
- [not in original PR, for PlayerInfo.isTotallyFrozen] isFrozen

2. PlayerInfo
- [this PR] GetUserName
- [this PR] GetColor
- [this PR] GetDisplayColor
- [this PR] GetColorSet
- [this PR] GetPlayerClassNum
- [this PR] GetSkin
- [this PR] GetNeverSwitch
- [this PR] GetGender
- [this PR] GetTeam
- [this PR] GetAutoaim
- [this PR] GetNoAutostartMap
- [this PR] GetClassicFlight
- [this PR] IsTotallyFrozen

3. C++ methods, to match ZScript:

- [scriptified] AActor::AccuracyFactor() to Actor.AccuracyFactor
- [this PR] AActor::DistanceBySpeed(AActor *, double) — it is a combination of getter and pure math
- [this PR] AActor::Distance2D(AActor *, bool) — called by DistanceBySpeed
- [this PR] AActor::Distance2D(AActor *, double, double, bool) — called by DistanceBySpeed
- [not in original PR, for PlayerInfo.isTotallyFrozen] AActor::isFrozen

# Conflicts:
#	src/actor.h
#	src/actorinlines.h
2020-06-07 14:34:48 +02:00
..
actors make various getter and pure-math methods clearscope, and where applicable, const 2020-06-07 14:34:48 +02:00
scriptutil - reorganized the ZScript content in gzdoom.pk3 and changed the files' extensions to something unique for easier syntax highlighting. 2019-04-28 22:14:34 +02:00
ui - fixed: the last frame of the intermission screen wasn't rendered. 2020-06-07 13:28:14 +02:00
base.zs - advanced coordinate control for overlays over DTA_Fullscreen images. 2020-06-07 14:15:59 +02:00
compatibility.zs Add help messages for most of the deprecated stuff in ZScript. 2020-03-16 11:07:29 +01:00
constants.zs Added MTF_NOCOUNT to spawn flags 2020-04-28 02:22:44 +02:00
destructible.zs - reorganized the ZScript content in gzdoom.pk3 and changed the files' extensions to something unique for easier syntax highlighting. 2019-04-28 22:14:34 +02:00
dictionary.zs fix Dictionary and DictionaryIterator memory leaks 2020-03-09 00:33:48 +01:00
dynarrays.zs - exposed Append() method to ZScript dynamic array 2019-08-11 00:09:51 +02:00
events.zs - Blind attempt at adding support for 4 XInput controllers. 2020-01-13 13:19:34 +01:00
level_compatibility.zs - manually merged PR for kill count in Requiem MAP23. 2020-06-07 14:34:26 +02:00
level_postprocessor.zs - rename 'FlipLine' to 'FlipLineVertexes' to clarify what it does 2019-11-25 12:11:01 +01:00
mapdata.zs - made 3D floor damage transfers optional by adding a new flag bit (2048) and made that mode automatic for the old ZDoom-based light only transfer special. 2020-04-19 15:18:54 +02:00
sounddata.zs - reorganized the ZScript content in gzdoom.pk3 and changed the files' extensions to something unique for easier syntax highlighting. 2019-04-28 22:14:34 +02:00
zscript_license.txt - reorganized the ZScript content in gzdoom.pk3 and changed the files' extensions to something unique for easier syntax highlighting. 2019-04-28 22:14:34 +02:00