gzdoom-gles/wadsrc/static/zscript/actors
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
..
chex - made the colorset names and the texts in the color picker localizable. 2019-05-19 20:40:22 +02:00
doom - Fixed compatibility flags not working in scripting. 2020-05-03 18:40:48 +02:00
heretic - there is no mace ammo in the bag of holding. 2020-06-07 14:34:23 +02:00
hexen - deprecated A_PlaySound for real and transitoned the internal scripts to A_StartSound 2020-01-07 19:36:57 +01:00
inventory - fixed use of Powerup.Strength in PowerInvisibility. 2020-05-26 00:30:09 +02:00
player make various getter and pure-math methods clearscope, and where applicable, const 2020-06-07 14:34:48 +02:00
raven - Fixed compatibility flags not working in scripting. 2020-05-03 18:40:48 +02:00
shared - fixed aiming camera that didn't follow target 2020-05-18 14:23:43 +02:00
strife - fixed: player_t::GetPSprite cannot guarantee success 2020-03-11 20:18:43 +01:00
actions.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
actor.zs make various getter and pure-math methods clearscope, and where applicable, const 2020-06-07 14:34:48 +02:00
attacks.zs Add help messages for most of the deprecated stuff in ZScript. 2020-03-16 11:07:29 +01:00
checks.zs Add help messages for most of the deprecated stuff in ZScript. 2020-03-16 11:07:29 +01:00
interaction.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
inventory_util.zs - Fixed compatibility flags not working in scripting. 2020-05-03 18:40:48 +02:00
morph.zs Changed Pre/Post(Un)Morph to take the other actor and a boolean indicating direction. 2020-03-09 00:28:05 +01:00