Christoph Oelckers
9c097e1763
- revert to warning level 3.
...
Some stock warnings are far too noisy when level 4 is on.
2022-10-30 16:51:35 +01:00
Christoph Oelckers
5a045a6232
- deleted deprecated zrand variant
2022-10-30 16:51:35 +01:00
Christoph Oelckers
0c8a76dc9c
- use ActorVect… functions in a few more places
2022-10-30 16:51:35 +01:00
Mitchell Richters
3f2d970b4f
- Blood: Fix minor issue where player death horizon was being applied at double speed.
2022-10-30 16:51:34 +01:00
Mitchell Richters
2fc115a23d
- Duke: Remove only place rotatepoint()
is called where no pivot is used.
2022-10-30 16:51:34 +01:00
Christoph Oelckers
4df875e860
- use setfloorz/setceilingz in a few places where it wasn't done.
...
This isn't critical in any way so no need to merge, but let's be consistent, in case future changes rely on it.
2022-10-30 16:51:34 +01:00
Mitchell Richters
e07785e85b
- Duke: Use pitch difference between player and shrunken actor to adjust horizon.
...
* Works a lot better, and is uncapped pitch compatible unlike the old setup.
2022-10-30 16:51:34 +01:00
Christoph Oelckers
e5efb5c15f
- fixed seeker missile aiming
...
merge to "floatified VectorMissileSeek"
2022-10-30 16:51:34 +01:00
Christoph Oelckers
c159953ac6
- use normalangle().
2022-10-30 16:51:33 +01:00
Mitchell Richters
e099a19f03
- Duke: Fix bad x/yrepeat scaling.
...
* Merge with or above `- use Scale wrappers in global code and parts of Duke.`.
2022-10-30 16:51:33 +01:00
Christoph Oelckers
3c6b64d621
- renamed everything back
2022-10-30 16:51:33 +01:00
Christoph Oelckers
81341ce4a6
- unwrapped SetScale as well.
...
Again no edits here - it's one big replace action.
2022-10-30 16:51:33 +01:00
Christoph Oelckers
da523eb8e3
- unwrapped vector SetScale.
2022-10-30 16:51:32 +01:00
Christoph Oelckers
15db7a7143
- unwrapped SetScaleX/Y.
2022-10-30 16:51:32 +01:00
Christoph Oelckers
8265239d2d
- removed AddScale wrappers.
2022-10-30 16:51:32 +01:00
Christoph Oelckers
85b52b1c77
- removed Scale(), CopyScale() and MultScale wrappers.
2022-10-30 16:51:32 +01:00
Christoph Oelckers
51768439a9
- started removing wrappers. ScaleX() and ScaleY() done.
...
No manual changes in here.
2022-10-30 16:51:31 +01:00
Christoph Oelckers
4aa765675e
- use a float vector to store the scale.
2022-10-30 16:51:31 +01:00
Christoph Oelckers
2df12e7961
- these are the final repeats
2022-10-30 16:51:31 +01:00
Christoph Oelckers
854c42e4ca
- handle all remaining repeat constants.
2022-10-30 16:51:31 +01:00
Christoph Oelckers
42b36d97b9
- half of the remainint repeats in weapon.cpp.
2022-10-30 16:51:30 +01:00
Christoph Oelckers
391b8ffc34
- batch of repeats in weapons.cpp
2022-10-30 16:51:30 +01:00
Christoph Oelckers
0e8594628e
- did the messier parts of weapon.cpp's repeats.
2022-10-30 16:51:30 +01:00
Christoph Oelckers
ce0a40320c
- handle all 'notreallypos' places.
2022-10-30 16:51:30 +01:00
Christoph Oelckers
8a455aa09b
- all remaining repeats outside weapon.cpp plus a few more.
2022-10-30 16:51:30 +01:00
Christoph Oelckers
60782efd01
- some odd repeats.
2022-10-30 16:51:29 +01:00
Christoph Oelckers
33aed76977
- random scale stuff in jweapon.cpp
2022-10-30 16:51:29 +01:00
Christoph Oelckers
8cb40291f2
- lots of repeat literals in SW
2022-10-30 16:51:29 +01:00
Christoph Oelckers
8ede08ce69
- mostly coolie related scaling factors.
2022-10-30 16:51:29 +01:00
Christoph Oelckers
abf5c9feee
- all repeats in SW’s draw code
2022-10-30 16:51:29 +01:00
Christoph Oelckers
509d56d042
- handle bunny scaling in SW
2022-10-30 16:51:29 +01:00
Christoph Oelckers
2ceb41fcf4
- BuildAnim in Exhumed
2022-10-30 16:51:28 +01:00
Christoph Oelckers
f30a76dfc9
- BuildAnim wrapper
2022-10-30 16:51:28 +01:00
Christoph Oelckers
43b8f92f91
- all of Exhumed except BuildAnim
2022-10-30 16:51:28 +01:00
Christoph Oelckers
62427f8260
- handle xrepeat abuse in Exhumed’s energy blocks
2022-10-30 16:51:28 +01:00
Christoph Oelckers
42679d58bb
- lots of repeats in Exhumed
2022-10-30 16:51:28 +01:00
Christoph Oelckers
558eaf38e1
- the last repeats in Duke
...
Mostly constants in the spawn code
2022-10-30 16:51:27 +01:00
Christoph Oelckers
bda616eb01
- fixed warning
2022-10-30 16:51:27 +01:00
Christoph Oelckers
2a4483e860
- all remaining repeats in Duke except spawn_d and spawn_r
2022-10-30 16:51:27 +01:00
Christoph Oelckers
38f7935ee9
- repeats in actors_d.cpp and actors_r.cpp
2022-10-30 16:51:27 +01:00
Christoph Oelckers
bc26f16ed5
- refactoring CreateActor - part 2
2022-10-30 16:51:26 +01:00
Christoph Oelckers
1a22127123
- refactoring CreateActor - part 1
2022-10-30 16:51:26 +01:00
Christoph Oelckers
44f0a6ae67
- handle the bolts
...
These used temp_data which was remapped to temp_pos for being floats.
2022-10-30 16:51:26 +01:00
Christoph Oelckers
dd3346cbc5
- mostly comparisons and code surrounding them
2022-10-30 16:51:26 +01:00
Christoph Oelckers
fb164450a7
- use MultScale
2022-10-30 16:51:25 +01:00
Christoph Oelckers
e749a0e9a4
- a bunch of repeats in actor_d.cpp
2022-10-30 16:51:25 +01:00
Christoph Oelckers
4c151ef15a
- the remaining repeats in Duke’s actor.cpp
2022-10-30 16:51:25 +01:00
Christoph Oelckers
5700d25120
- minor cleanup on scaling code
2022-10-30 16:51:25 +01:00
Mitchell Richters
befa5a933c
- Duke: Fix questionable setup in previous commit to interpolate SE_20_STRETCH_BRIDGE
.
2022-10-30 16:51:25 +01:00
Mitchell Richters
05a05c6406
- Duke: Fix interpolation for SE_20_STRETCH_BRIDGE
, such as curtains in E1L1/2/3.
...
* I'm not sure if there's a better way to handle this, but I had to do the nested `twoSided()` checks to ensure all walls of E1L3's curtains in the execution chair viewing room interpolated as expected.
2022-10-30 16:51:24 +01:00