gzdoom/wadsrc/static/zscript/actors
Alexander Kromm 928c738e19 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
2020-06-07 09:39:30 +02:00
..
chex - made the colorset names and the texts in the color picker localizable. 2019-05-19 18:57:39 +02:00
doom - fixed A_FireCGun. 2020-03-11 19:47:23 +01:00
heretic - there is no mace ammo in the bag of holding. 2020-06-06 16:19:11 +02:00
hexen - deprecated A_PlaySound for real and transitoned the internal scripts to A_StartSound 2020-01-04 14:25:55 +01:00
inventory - fixed use of Powerup.Strength in PowerInvisibility. 2020-05-25 16:43:01 +02:00
player make various getter and pure-math methods clearscope, and where applicable, const 2020-06-07 09:39:30 +02:00
raven - deprecated A_PlaySound for real and transitoned the internal scripts to A_StartSound 2020-01-04 14:25:55 +01:00
shared - fixed aiming camera that didn't follow target 2020-05-18 14:00:48 +03:00
strife - fixed: player_t::GetPSprite cannot guarantee success 2020-03-11 00:56:29 +01:00
actions.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
actor.zs make various getter and pure-math methods clearscope, and where applicable, const 2020-06-07 09:39:30 +02:00
attacks.zs Add help messages for most of the deprecated stuff in ZScript. 2020-03-14 12:56:03 +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