Christoph Oelckers
|
96396385e7
|
- more TEST() replacements.
This covers roughly half of the original use.
|
2021-12-30 09:58:13 +01:00 |
|
Christoph Oelckers
|
61564ab96a
|
- one third of TEST().
|
2021-12-30 09:58:13 +01:00 |
|
Christoph Oelckers
|
7727597bd7
|
- removed FLIP macro
was only used 3 times
|
2021-12-30 09:58:12 +01:00 |
|
Christoph Oelckers
|
08fcfb382c
|
- the remaining RESET() calls.
|
2021-12-30 09:58:12 +01:00 |
|
Christoph Oelckers
|
e29d0f50cf
|
- lots of RESET() flags replaced.
|
2021-12-30 09:58:12 +01:00 |
|
Christoph Oelckers
|
1ae7565a2a
|
- SW macro cleanup.
|
2021-12-30 09:58:12 +01:00 |
|
Christoph Oelckers
|
d15c3aeff6
|
- got rid of the DIV2 macro.
|
2021-12-30 09:58:11 +01:00 |
|
Christoph Oelckers
|
387d65abb4
|
- the remaining SET()s.
These had to be done manually.
|
2021-12-30 09:58:11 +01:00 |
|
Christoph Oelckers
|
fe292fce0d
|
- yet more SET flag replacements
90% done.
|
2021-12-30 09:58:11 +01:00 |
|
Christoph Oelckers
|
12ad85f6f8
|
- SW: turned flag #defines into enums.
|
2021-12-30 09:58:11 +01:00 |
|
Christoph Oelckers
|
92ed3fa728
|
- replaced more SET() macros.
This covers another 30-35%.
|
2021-12-30 09:58:11 +01:00 |
|
Christoph Oelckers
|
dc3f2473ba
|
- quick search & replace on ~40% of SET( macros in SW.
|
2021-12-30 09:58:10 +01:00 |
|
Christoph Oelckers
|
12619671e6
|
- Duke/RR: added fudging to work around aiming randomization issues with the pistol when autoaim is off.
Solution is the same as in RedNukem/EDuke32: do one hitscan directly in aiming order and if that hits a sprite, use it as aiming target.
|
2021-12-30 09:58:10 +01:00 |
|
Christoph Oelckers
|
913f6e713d
|
- Hack for Exhumed: palette 4 does not fade to black so sprites should not have shades above numshades.
The new renderer will treat such shades as completely black to ensure proper rendering of shadows - but for this palette this must be skipped.
|
2021-12-30 09:58:09 +01:00 |
|
Christoph Oelckers
|
ce1daa82c2
|
- Duke: make camera actors temporarily invisible before rendering a scene.
Mainly needed for voxel/model replacements of the security camera sprite.
|
2021-12-30 09:58:09 +01:00 |
|
Christoph Oelckers
|
00a7be545d
|
- added a map preview to the user map browser.
|
2021-12-30 09:58:08 +01:00 |
|
Christoph Oelckers
|
745794a1f1
|
- where did that comma go?
|
2021-12-30 09:58:07 +01:00 |
|
Christoph Oelckers
|
34f14aa4c3
|
- added vector variants of FindDistance2D and FindDistance3D
|
2021-12-30 09:58:07 +01:00 |
|
Christoph Oelckers
|
29da39dda0
|
- added two FAFcansee variants that take shorter parameter lists for clearer code.
|
2021-12-30 09:58:06 +01:00 |
|
Christoph Oelckers
|
e3ce0da111
|
- make all actor pointers in the player struct regular pointers.
|
2021-12-30 09:58:06 +01:00 |
|
Christoph Oelckers
|
de3e66016c
|
- removed the Actor() access method from Exhumed's player as well.
|
2021-12-30 09:58:06 +01:00 |
|
Christoph Oelckers
|
bf3f580d52
|
- deleted PLAYER::Actor()
Also made actor a regular pointer. Unlike the other ones this may not be prematurely nulled ever.
|
2021-12-30 09:58:06 +01:00 |
|
Christoph Oelckers
|
d340a7e80c
|
- u() and USERp are gone.
|
2021-12-30 09:58:05 +01:00 |
|
Christoph Oelckers
|
26f93ab724
|
- the final u()'s.
|
2021-12-30 09:58:05 +01:00 |
|
Christoph Oelckers
|
cf88bcbecb
|
- handle u-> in player.cpp
|
2021-12-30 09:58:05 +01:00 |
|
Christoph Oelckers
|
bfea02a192
|
- a few in player.cpp
|
2021-12-30 09:58:05 +01:00 |
|
Christoph Oelckers
|
cc161fe66a
|
- deleted u variables in track.cpp
|
2021-12-30 09:58:05 +01:00 |
|
Christoph Oelckers
|
c544046fb3
|
- renamed u-> in track.cpp
|
2021-12-30 09:58:05 +01:00 |
|
Christoph Oelckers
|
055982f0db
|
- smaller u in track.cpp
|
2021-12-30 09:58:04 +01:00 |
|
Christoph Oelckers
|
050d93a92c
|
- deleted unused pointers and handled u() in the script interface.
|
2021-12-30 09:58:04 +01:00 |
|
Christoph Oelckers
|
6df854d612
|
- replaced one sprite inline with its actor variant.
|
2021-12-30 09:58:04 +01:00 |
|
Christoph Oelckers
|
4e7724ece2
|
- deleted all leftover SPRITEp stuff.
|
2021-12-30 09:58:04 +01:00 |
|
Christoph Oelckers
|
f1c60e4a52
|
- fixed SpawnFireballFlames and deleted leftover sprite pointers.
|
2021-12-30 09:58:04 +01:00 |
|
Christoph Oelckers
|
2543a46278
|
- deleted all u variables from weapon.cpp
|
2021-12-30 09:58:03 +01:00 |
|
Christoph Oelckers
|
8739ef9182
|
- renamed all u-> in weapon.cpp
|
2021-12-30 09:58:03 +01:00 |
|
Christoph Oelckers
|
3e79c917f2
|
- the last u in weapon.cpp that are not actor->u()
|
2021-12-30 09:58:03 +01:00 |
|
Christoph Oelckers
|
b522356120
|
- stuff that was missed.
|
2021-12-30 09:58:03 +01:00 |
|
Christoph Oelckers
|
85b687ba13
|
- all eu, which are expActor.
|
2021-12-30 09:58:03 +01:00 |
|
Christoph Oelckers
|
e16caa0c62
|
- eu, that are not expActor
|
2021-12-30 09:58:03 +01:00 |
|
Christoph Oelckers
|
7147d3c89e
|
- several non-u users in weapon.cpp
|
2021-12-30 09:58:02 +01:00 |
|
Christoph Oelckers
|
9485816cf7
|
- deleted u variables from sprite.cpp.
|
2021-12-30 09:58:02 +01:00 |
|
Christoph Oelckers
|
b9a8647d73
|
- renamed u-> in sprite.cpp
|
2021-12-30 09:58:02 +01:00 |
|
Christoph Oelckers
|
02d8551330
|
- non "u = actor" Users in sprite.cpp
|
2021-12-30 09:58:02 +01:00 |
|
Christoph Oelckers
|
221f1dc69a
|
- handle u-> in slidor.cpp
|
2021-12-30 09:58:02 +01:00 |
|
Christoph Oelckers
|
9f27e05fef
|
- deleted u variables in sector.cpp
|
2021-12-30 09:58:02 +01:00 |
|
Christoph Oelckers
|
121ae62108
|
- renamed u-> in sector.cpp
|
2021-12-30 09:58:01 +01:00 |
|
Christoph Oelckers
|
65b9841666
|
- handle u-> in rotator.cpp
|
2021-12-30 09:58:01 +01:00 |
|
Christoph Oelckers
|
be1d53db56
|
- deleted u variables in vator.cpp
|
2021-12-30 09:58:01 +01:00 |
|
Christoph Oelckers
|
ab359844aa
|
- renamed u-> in vator.cpp
|
2021-12-30 09:58:01 +01:00 |
|
Christoph Oelckers
|
2ef7fc9bc2
|
- handle u-> in zilla.cpp and zombie.cpp
|
2021-12-30 09:58:01 +01:00 |
|
Christoph Oelckers
|
936febd505
|
- deleted u variables in player.cpp
|
2021-12-30 09:58:01 +01:00 |
|
Christoph Oelckers
|
3e21dd40a7
|
- renamed u-> in half of player.cpp
|
2021-12-30 09:58:00 +01:00 |
|
Christoph Oelckers
|
bc15bdf92c
|
- renaming stuff in player.cpp
|
2021-12-30 09:58:00 +01:00 |
|
Christoph Oelckers
|
b606d01ca8
|
- u-> in panel.cpp
|
2021-12-30 09:58:00 +01:00 |
|
Christoph Oelckers
|
d84c4b4f20
|
- u() in sumo.cpp
|
2021-12-30 09:58:00 +01:00 |
|
Christoph Oelckers
|
9b18316fd7
|
- delete u variables in spike.cpp
|
2021-12-30 09:58:00 +01:00 |
|
Christoph Oelckers
|
d95a22485b
|
- rename u-> in spike.cpp
|
2021-12-30 09:58:00 +01:00 |
|
Christoph Oelckers
|
9df3400a91
|
- deleted u variables in skull.cpp
|
2021-12-30 09:58:00 +01:00 |
|
Christoph Oelckers
|
cbec67dbf5
|
- renamed u-> in skull.cpp
|
2021-12-30 09:57:59 +01:00 |
|
Christoph Oelckers
|
1da38cbc8e
|
- u-> in skel.cpp
|
2021-12-30 09:57:59 +01:00 |
|
Christoph Oelckers
|
4aed4a6965
|
- u() in serp.cpp
|
2021-12-30 09:57:59 +01:00 |
|
Christoph Oelckers
|
0274fa5b4b
|
- deleted u variables in ripper2.cpp
|
2021-12-30 09:57:59 +01:00 |
|
Christoph Oelckers
|
574deb2111
|
- renamed u-> in ripper2.cpp
|
2021-12-30 09:57:59 +01:00 |
|
Christoph Oelckers
|
401f1f8dbc
|
- deleted u variables in ripper.cpp.
|
2021-12-30 09:57:59 +01:00 |
|
Christoph Oelckers
|
4691da132d
|
- renamed u-> in ripper.cpp
|
2021-12-30 09:57:58 +01:00 |
|
Christoph Oelckers
|
d14907e847
|
- deleted u variables in ninja.cpp
|
2021-12-30 09:57:58 +01:00 |
|
Christoph Oelckers
|
8ab8d219b3
|
- renamed u-> in ninja.cpp
|
2021-12-30 09:57:58 +01:00 |
|
Christoph Oelckers
|
704a730a45
|
- non "u = actor" Users in ninja.cpp.
|
2021-12-30 09:57:58 +01:00 |
|
Christoph Oelckers
|
e8e85c5816
|
- deleted u variables in miscactr.cpp.
|
2021-12-30 09:57:58 +01:00 |
|
Christoph Oelckers
|
8ffa12442c
|
- renamed u-> in miscactr.cpp
|
2021-12-30 09:57:58 +01:00 |
|
Christoph Oelckers
|
a1c5c06e27
|
- u() in lava.cpp, light.cpp and predict.cpp
|
2021-12-30 09:57:58 +01:00 |
|
Christoph Oelckers
|
78fa76678d
|
- deleted u variables in jweapon.cpp
|
2021-12-30 09:57:57 +01:00 |
|
Christoph Oelckers
|
08244a70f3
|
- renamed u-> in jweapon.cpp
|
2021-12-30 09:57:57 +01:00 |
|
Christoph Oelckers
|
a023087e2d
|
- handle non u = actor->u() cases in jweapon.cpp.
|
2021-12-30 09:57:57 +01:00 |
|
Christoph Oelckers
|
f59fa8b13e
|
- deleted all wu variables.
|
2021-12-30 09:57:57 +01:00 |
|
Christoph Oelckers
|
dc60cd7689
|
- renamed all wu-> in weapon.cpp.
|
2021-12-30 09:57:57 +01:00 |
|
Christoph Oelckers
|
521ad37618
|
- handle wu-> in weapon.cpp which do not reference actorNew.
|
2021-12-30 09:57:57 +01:00 |
|
Christoph Oelckers
|
6b0e944e7b
|
- deleted wu variables in jweapon.cpp
|
2021-12-30 09:57:56 +01:00 |
|
Christoph Oelckers
|
7be6bfeb0e
|
- replacing wu-> in jweapon.cpp
|
2021-12-30 09:57:56 +01:00 |
|
Christoph Oelckers
|
4eb32d5b18
|
- renaming stuff
|
2021-12-30 09:57:56 +01:00 |
|
Christoph Oelckers
|
388b3062fd
|
- u() in input.cpp, interpso.cpp and inv.cpp
|
2021-12-30 09:57:56 +01:00 |
|
Christoph Oelckers
|
41753240dd
|
- deleted u in hornet.cpp
|
2021-12-30 09:57:56 +01:00 |
|
Christoph Oelckers
|
64598f6167
|
- renamed u-> in hornet.cpp
|
2021-12-30 09:57:56 +01:00 |
|
Christoph Oelckers
|
ff09079502
|
- deleted u in goro.cpp
|
2021-12-30 09:57:55 +01:00 |
|
Christoph Oelckers
|
89c9031486
|
- renamed u-> in goro.cpp
|
2021-12-30 09:57:55 +01:00 |
|
Christoph Oelckers
|
43e370f079
|
- deleted u in girlninj.cpp
|
2021-12-30 09:57:55 +01:00 |
|
Christoph Oelckers
|
dc5821d7c6
|
- renamed u-> in girlninj.cpp
|
2021-12-30 09:57:55 +01:00 |
|
Christoph Oelckers
|
a72732a7b1
|
- handle USERSAVE.
|
2021-12-30 09:57:55 +01:00 |
|
Christoph Oelckers
|
afe93f89af
|
- deleted u in eel.cpp.
|
2021-12-30 09:57:55 +01:00 |
|
Christoph Oelckers
|
3908d4b1c6
|
- renamed u-> in eel.cpp.
|
2021-12-30 09:57:55 +01:00 |
|
Christoph Oelckers
|
5f281dfc29
|
- user() in draw.cpp.
|
2021-12-30 09:57:54 +01:00 |
|
Christoph Oelckers
|
42aa99d7f6
|
- deleted u in coolie.cpp.
|
2021-12-30 09:57:54 +01:00 |
|
Christoph Oelckers
|
9c68d14c74
|
- renamed u-> in coolie.cpp
|
2021-12-30 09:57:54 +01:00 |
|
Christoph Oelckers
|
fa59f90f92
|
- removed u variables in coolg.cpp
|
2021-12-30 09:57:54 +01:00 |
|
Christoph Oelckers
|
2458893528
|
- u-> in cheats.cpp and coolg.cpp
|
2021-12-30 09:57:54 +01:00 |
|
Christoph Oelckers
|
29d161dd67
|
- removed u variables in bunny.cpp
|
2021-12-30 09:57:54 +01:00 |
|
Christoph Oelckers
|
87100b1f50
|
renamed u-> in break.cpp and bunny.cpp
|
2021-12-30 09:57:53 +01:00 |
|
Christoph Oelckers
|
6597827458
|
- deleted all hu variables.
|
2021-12-30 09:57:53 +01:00 |
|
Christoph Oelckers
|
8fe11bd848
|
- replaced hu->
|
2021-12-30 09:57:53 +01:00 |
|
Christoph Oelckers
|
91a355a82e
|
- handle all hu = itActor.u();
|
2021-12-30 09:57:53 +01:00 |
|
Christoph Oelckers
|
86704b264e
|
- deleted nu variables.
|
2021-12-30 09:57:53 +01:00 |
|
Christoph Oelckers
|
d096eda3a9
|
- renamed all nu-> in weapon.cpp.
|
2021-12-30 09:57:52 +01:00 |
|
Christoph Oelckers
|
13e14553eb
|
- renamed all nu-> outside weapon.cpp.
|
2021-12-30 09:57:52 +01:00 |
|
Christoph Oelckers
|
38224f05b7
|
- all nu not referring to actorNew->u()
|
2021-12-30 09:57:52 +01:00 |
|
Christoph Oelckers
|
b49e3201ae
|
- several uses of tu and bu - almost all very minor stuff.
|
2021-12-30 09:57:52 +01:00 |
|
Christoph Oelckers
|
1ec6743f20
|
- replaced tu in bunny.cpp and draw.cpp
|
2021-12-30 09:57:52 +01:00 |
|
Christoph Oelckers
|
6dcc8761fe
|
- replaced the last remaining s() calls in Blood's interface and deleted the method.
|
2021-12-30 09:57:51 +01:00 |
|
Christoph Oelckers
|
4dad58e557
|
- the final s() in SW.
|
2021-12-30 09:57:51 +01:00 |
|
Christoph Oelckers
|
6729dbd684
|
- almost done with s().
|
2021-12-30 09:57:51 +01:00 |
|
Christoph Oelckers
|
11a59055a4
|
- 15 more s() from weapon.cpp.
|
2021-12-30 09:57:51 +01:00 |
|
Christoph Oelckers
|
f02c402036
|
- 12 more from weapon.cpp
|
2021-12-30 09:57:51 +01:00 |
|
Christoph Oelckers
|
bd3aaea3b2
|
- big macro mess cleanup.
|
2021-12-30 09:57:51 +01:00 |
|
Christoph Oelckers
|
297921204f
|
- rename STD_RANDOM_RANGE
|
2021-12-30 09:57:50 +01:00 |
|
Christoph Oelckers
|
d957540258
|
- targeting stuff in weapon.cpp
|
2021-12-30 09:57:50 +01:00 |
|
Christoph Oelckers
|
85a814d379
|
- all of track.cpp and vis.cpp
|
2021-12-30 09:57:50 +01:00 |
|
Christoph Oelckers
|
dcb375a3c6
|
- all of sprite.cpp
|
2021-12-30 09:57:50 +01:00 |
|
Christoph Oelckers
|
b7c4ac55d1
|
- replaced all remaining sp = &actor->s().
|
2021-12-30 09:57:50 +01:00 |
|
Christoph Oelckers
|
5643f9b7f7
|
- deleted dead sp variables.
|
2021-12-30 09:57:50 +01:00 |
|
Christoph Oelckers
|
8a2908bc30
|
- eliminated the remaining SP_* spritetype function variants.
|
2021-12-30 09:57:49 +01:00 |
|
Christoph Oelckers
|
8ffc87134d
|
- track stuff
|
2021-12-30 09:57:49 +01:00 |
|
Christoph Oelckers
|
e782cc1c28
|
- deleted unused spritetype inlines.
|
2021-12-30 09:57:49 +01:00 |
|
Christoph Oelckers
|
7f07be0d6d
|
- - sector, sound, track, rotator
|
2021-12-30 09:57:49 +01:00 |
|
Christoph Oelckers
|
d62a65b6e3
|
- do not use sprite pointers in sound code.
|
2021-12-30 09:57:49 +01:00 |
|
Christoph Oelckers
|
6df8f8a537
|
- handle all fsp = &actor->s();
|
2021-12-30 09:57:48 +01:00 |
|
Christoph Oelckers
|
822c88c135
|
- handle all auto psp = &pp->Actor()->s();
|
2021-12-30 09:57:48 +01:00 |
|
Christoph Oelckers
|
8b5955d3dd
|
- the remaining s() in player.cpp
|
2021-12-30 09:57:48 +01:00 |
|
Christoph Oelckers
|
c7b80b80d8
|
- player warp functions.
|
2021-12-30 09:57:48 +01:00 |
|
Christoph Oelckers
|
188af0dbb3
|
- half of what's left of s() in player.cpp
|
2021-12-30 09:57:48 +01:00 |
|
Christoph Oelckers
|
959147c656
|
- smaller stuff
|
2021-12-30 09:57:48 +01:00 |
|
Christoph Oelckers
|
6d7337e41b
|
- the rest of light.cpp
|
2021-12-30 09:57:47 +01:00 |
|
Christoph Oelckers
|
2aba992d63
|
- most of lights.cpp, including turning the helper macros into functions.
|
2021-12-30 09:57:47 +01:00 |
|
Christoph Oelckers
|
eba5d222c0
|
- the remaining s()'s in jweapon.cpp
|
2021-12-30 09:57:47 +01:00 |
|
Christoph Oelckers
|
571dccda76
|
- jsector.cpp
|
2021-12-30 09:57:47 +01:00 |
|
Christoph Oelckers
|
ce7465869f
|
- vator.cpp cleanup.
|
2021-12-30 09:57:47 +01:00 |
|
Christoph Oelckers
|
35b4db39d7
|
- sp-> in vator.cpp
|
2021-12-30 09:57:47 +01:00 |
|
Christoph Oelckers
|
77308356ed
|
- sprite.cpp
|
2021-12-30 09:57:47 +01:00 |
|
Christoph Oelckers
|
843239d085
|
- SpriteSetup and related functions.
|
2021-12-30 09:57:46 +01:00 |
|
Christoph Oelckers
|
0c48b4b2c2
|
- over/under stuff in weapon.cpp
|
2021-12-30 09:57:46 +01:00 |
|
Christoph Oelckers
|
47b4c55a5c
|
- parts of sprite.cpp.
|
2021-12-30 09:57:46 +01:00 |
|
Christoph Oelckers
|
83a7b3ef1c
|
- parts of jsector.cpp
|
2021-12-30 09:57:46 +01:00 |
|
Christoph Oelckers
|
967385a87c
|
- rotator.cpp, slidor.cpp and a few single ones elsewhere.
|
2021-12-30 09:57:46 +01:00 |
|
Christoph Oelckers
|
8e8f59caa1
|
- refactored GetSpriteZOfMiddle (and all s() close by)
|
2021-12-30 09:57:45 +01:00 |
|
Christoph Oelckers
|
123e19e355
|
- the rest of draw.cpp
|
2021-12-30 09:57:45 +01:00 |
|
Christoph Oelckers
|
9cdf4db648
|
- the remaining sp-> in draw.cpp
|
2021-12-30 09:57:45 +01:00 |
|
Christoph Oelckers
|
3b26c634db
|
- parts of draw.cpp.
|
2021-12-30 09:57:45 +01:00 |
|
Christoph Oelckers
|
c61e4de409
|
- WarpCopySprite
|
2021-12-30 09:57:45 +01:00 |
|
Christoph Oelckers
|
dce8531c48
|
- all sp in player.cpp
|
2021-12-30 09:57:45 +01:00 |
|
Christoph Oelckers
|
c5af361564
|
- renamed sp-> in player.cpp.
|
2021-12-30 09:57:44 +01:00 |
|
Christoph Oelckers
|
f488b9220c
|
- deal with sp in player.cpp that do not use &actor->s()
|
2021-12-30 09:57:44 +01:00 |
|
Christoph Oelckers
|
ffb97eb261
|
- all s() from bunny.cpp + copysect.cpp.
|
2021-12-30 09:57:44 +01:00 |
|
Christoph Oelckers
|
9ad23631f5
|
- several s().
|
2021-12-30 09:57:44 +01:00 |
|
Christoph Oelckers
|
1e938e2b44
|
- deleted redundant sprite inlines.
All calls have been transitioned to actors.
|
2021-12-30 09:57:44 +01:00 |
|
Christoph Oelckers
|
8a1c602dc8
|
- 10 more s().
|
2021-12-30 09:57:43 +01:00 |
|
Christoph Oelckers
|
bdf29cf01e
|
- hs = &itActor->s();
|
2021-12-30 09:57:43 +01:00 |
|
Christoph Oelckers
|
6ce1f57b5e
|
- deleted all wp variables.
|
2021-12-30 09:57:43 +01:00 |
|
Christoph Oelckers
|
cc3c477992
|
- renamed all wp in jweapon.cpp and weapon.cpp
|
2021-12-30 09:57:43 +01:00 |
|
Christoph Oelckers
|
cd7f13c4ba
|
- all wp not referencing actorNew.
|
2021-12-30 09:57:43 +01:00 |
|
Christoph Oelckers
|
2398073529
|
- getting rid of wall variables named wp.
|
2021-12-30 09:57:43 +01:00 |
|
Christoph Oelckers
|
7bea7cdae1
|
- handle all wp referencing actor->s().
|
2021-12-30 09:57:42 +01:00 |
|
Christoph Oelckers
|
1afb985291
|
- renamed all wp referencing weapActor.
|
2021-12-30 09:57:42 +01:00 |
|
Christoph Oelckers
|
33c8668325
|
- deleted all np variables.
|
2021-12-30 09:57:42 +01:00 |
|
Christoph Oelckers
|
14ba7d24d2
|
- renamed all remaining np->
|
2021-12-30 09:57:42 +01:00 |
|
Christoph Oelckers
|
730c9e65e4
|
- renamed all np-> in weapon.cpp
|
2021-12-30 09:57:42 +01:00 |
|
Christoph Oelckers
|
5eb958938d
|
- renamed all np-> in sprite.cpp
|
2021-12-30 09:57:41 +01:00 |
|
Christoph Oelckers
|
b2d4375cde
|
- renamed all np-> in jweapons.cpp
|
2021-12-30 09:57:41 +01:00 |
|
Christoph Oelckers
|
08a98c3955
|
- renamed all np-> in bunny.cpp
|
2021-12-30 09:57:41 +01:00 |
|
Christoph Oelckers
|
0175d27ffa
|
- handle all 'np->' not referencing actorNew.
|
2021-12-30 09:57:41 +01:00 |
|
Christoph Oelckers
|
09294d7712
|
- deleted sp from _polymost.cpp
|
2021-12-30 09:57:41 +01:00 |
|
Christoph Oelckers
|
e1fdb6b7bf
|
- deleted all exp variables from weapon.cpp.
|
2021-12-30 09:57:41 +01:00 |
|
Christoph Oelckers
|
b5261b9fe1
|
- renamed exp-> in weapon.cpp
|
2021-12-30 09:57:40 +01:00 |
|
Christoph Oelckers
|
4395de8fb1
|
- deleted all sp variables from weapon.cpp.
|
2021-12-30 09:57:40 +01:00 |
|
Christoph Oelckers
|
b488361639
|
- more macros in weapons.cpp converted into functions.
|
2021-12-30 09:57:40 +01:00 |
|
Christoph Oelckers
|
39640a4870
|
- handle most sp function parameters.
Also de-macrofied ANG2SPRITE and ANG2PLAYER.
|
2021-12-30 09:57:40 +01:00 |
|
Christoph Oelckers
|
d8b0cbd031
|
- renamed all sp-> in weapons.cpp.
|
2021-12-30 09:57:40 +01:00 |
|
Christoph Oelckers
|
17810bc6cd
|
- the ones I missed.
|
2021-12-30 09:57:39 +01:00 |
|
Christoph Oelckers
|
a8d0e29a3b
|
- handle parts of weapon.cpp where sp is not used for actor->s()
|
2021-12-30 09:57:39 +01:00 |
|
Christoph Oelckers
|
b2fd05d182
|
- stuff in InitSwordAttack + InitHeartAttack
|
2021-12-30 09:57:39 +01:00 |
|
Christoph Oelckers
|
270afb5d49
|
- sp-> renaming and cleanup in rooms.cpp
|
2021-12-30 09:57:39 +01:00 |
|
Christoph Oelckers
|
49cc2b3cad
|
- quake.cpp plus SP_TAG13/14 cleanup
|
2021-12-30 09:57:39 +01:00 |
|
Christoph Oelckers
|
9aaaadefc3
|
- SpawnQuake
|
2021-12-30 09:57:39 +01:00 |
|
Christoph Oelckers
|
2b8b4f3fcc
|
- QuakeViewChange
|
2021-12-30 09:57:38 +01:00 |
|
Christoph Oelckers
|
7419c2e65b
|
- sp cleanup in sector.cpp
|
2021-12-30 09:57:38 +01:00 |
|
Christoph Oelckers
|
79a9278ff3
|
- rename sp-> in sector.cpp
|
2021-12-30 09:57:38 +01:00 |
|
Christoph Oelckers
|
212f07f7ff
|
- sp cleanup in skull.cpp, sumo.cpp, zilla.cpp, zombie.cpp
|
2021-12-30 09:57:38 +01:00 |
|
Christoph Oelckers
|
926b4f8ba9
|
- sp cleanup of ripper.cpp, ripper2.cpp, serp.cpp, skel.cpp.
|
2021-12-30 09:57:38 +01:00 |
|
Christoph Oelckers
|
639613297d
|
- globally replaced sp-> in several files.
No further cleanup yet.
|
2021-12-30 09:57:38 +01:00 |
|
Christoph Oelckers
|
dc7fecccd0
|
- globally replaced sp-> in spike.cpp
|
2021-12-30 09:57:37 +01:00 |
|
Christoph Oelckers
|
f58d4e2604
|
- globally replaced sp-> in skull.cpp
|
2021-12-30 09:57:37 +01:00 |
|
Christoph Oelckers
|
0d0d5366b1
|
- globally replaced sp-> in skel.cpp
|
2021-12-30 09:57:37 +01:00 |
|
Christoph Oelckers
|
bb4c0be15e
|
- globally replaced sp-> in serp.cpp
|
2021-12-30 09:57:37 +01:00 |
|
Christoph Oelckers
|
f6c32b10d4
|
- globally replaced sp-> in ripper2.cpp
|
2021-12-30 09:57:37 +01:00 |
|
Christoph Oelckers
|
67d82f63be
|
- globally replaced sp-> in ripper.cpp
|
2021-12-30 09:57:37 +01:00 |
|
Christoph Oelckers
|
ce6f6ff5d3
|
- globally replaced sp-> in _polymost.cpp
|
2021-12-30 09:57:37 +01:00 |
|
Christoph Oelckers
|
63fc668d57
|
- don't use auto when making local copies of TObjPtr.
|
2021-12-30 09:57:36 +01:00 |
|
Christoph Oelckers
|
1b1a81e2bc
|
- sp in ninja.cpp.
|
2021-12-30 09:57:36 +01:00 |
|
Christoph Oelckers
|
a3b539da28
|
- sp cleanup in miscactr.cpp.
|
2021-12-30 09:57:36 +01:00 |
|
Christoph Oelckers
|
5f187a3efb
|
- sp-> replacement in miscactr.cpp.
|
2021-12-30 09:57:36 +01:00 |
|
Christoph Oelckers
|
1d6b5e621d
|
- sp cleanup in jweapon.cpp.
|
2021-12-30 09:57:36 +01:00 |
|
Christoph Oelckers
|
b3b6001248
|
- sp-> replacements in jweapon.cpp
|
2021-12-30 09:57:36 +01:00 |
|
Christoph Oelckers
|
aeed726b59
|
- deleted sp assignments in processed files.
|
2021-12-30 09:57:35 +01:00 |
|
Christoph Oelckers
|
aac44b27b1
|
- sp cleanup in bunny.cpp.
|
2021-12-30 09:57:35 +01:00 |
|
Christoph Oelckers
|
1d76336045
|
- handle bp in break.cpp
|
2021-12-30 09:57:35 +01:00 |
|
Christoph Oelckers
|
47b51efdc6
|
- turning TEST_BOOL into overloaded functions.
|
2021-12-30 09:57:35 +01:00 |
|
Christoph Oelckers
|
5290939cbc
|
- break.cpp sp cleanup.
Also a few needed renamings.
|
2021-12-30 09:57:35 +01:00 |
|
Christoph Oelckers
|
06d33b8276
|
- partial conversion of SP_TAG3 to actors.
|
2021-12-30 09:57:35 +01:00 |
|
Christoph Oelckers
|
627a69570f
|
- turned all SP_TAGx macros into functions so that they can be overloaded with actor variants.
|
2021-12-30 09:57:34 +01:00 |
|
Christoph Oelckers
|
397d9b0d84
|
- made SP_TAG2 a function with an actor parameter.
|
2021-12-30 09:57:34 +01:00 |
|
Christoph Oelckers
|
5be1bc4de7
|
- made SP_TAG1 a function with an actor parameter.
|
2021-12-30 09:57:34 +01:00 |
|
Christoph Oelckers
|
40050f5008
|
- replaced sp-> in several files.
|
2021-12-30 09:57:34 +01:00 |
|
Christoph Oelckers
|
42a525692d
|
- fixed check on wrong actor in DoChemBomb.
|
2021-12-30 09:57:34 +01:00 |
|
Christoph Oelckers
|
514c3ffb10
|
- cameraactor in _polymost.cpp
|
2021-12-30 09:57:33 +01:00 |
|
Christoph Oelckers
|
4caee272ef
|
- some non 'actor' sp replacements in weapon.cpp.
|
2021-12-30 09:57:33 +01:00 |
|
Christoph Oelckers
|
76809965ad
|
- some sp replacements as preparation for replacing most of 'actor->s()'.
|
2021-12-30 09:57:33 +01:00 |
|
Christoph Oelckers
|
ca14c809f9
|
- cleaned up some random crap with loops and bad variable types I just randomly found.
|
2021-12-30 09:57:33 +01:00 |
|
Christoph Oelckers
|
7bbd4343a8
|
- renamed all shadowing variables in Duke.
|
2021-12-30 09:57:33 +01:00 |
|
Christoph Oelckers
|
032c597fa5
|
- renamed shadowing variables in Blood.
|
2021-12-30 09:57:32 +01:00 |
|
Mitchell Richters
|
0bb4ec7c33
|
- SW: Ensure pp in analyzesprites() is always initiated as the console player.
|
2021-12-30 09:57:32 +01:00 |
|
Mitchell Richters
|
95d270fbdd
|
- Exhumed: Clean up local functions variables to prevent redefinition conflicts.
|
2021-12-30 09:57:31 +01:00 |
|
Mitchell Richters
|
c26b5d2303
|
- SW: Clean up local functions variables to prevent redefinition conflicts.
|
2021-12-30 09:57:31 +01:00 |
|
Mitchell Richters
|
36fc6ede8e
|
- Blood: Repair actor variable collision in GetZRange() causing all kinds of weirdness.
|
2021-12-30 09:57:31 +01:00 |
|
Mitchell Richters
|
e15c887f90
|
- Duke: Fix bad setup in initcrane() following actor sprite pointer cleanups.
|
2021-12-30 09:57:31 +01:00 |
|
Christoph Oelckers
|
395a269feb
|
- globally replaced ->u()->.
|
2021-12-30 09:57:30 +01:00 |
|
Christoph Oelckers
|
82b883e461
|
- SW: replaced u() in ai.cpp.
|
2021-12-30 09:57:30 +01:00 |
|
Christoph Oelckers
|
b55e46ec6d
|
- ai.cpp cleanup.
|
2021-12-30 09:57:30 +01:00 |
|
Christoph Oelckers
|
ed8b4100f6
|
- SW: replace s() in ai.cpp.
Also a bit of inline cleanup to make it compile again.
|
2021-12-30 09:57:30 +01:00 |
|
Christoph Oelckers
|
8d5bffc280
|
- SW: some inline cleanup.
|
2021-12-30 09:57:29 +01:00 |
|
Christoph Oelckers
|
810ab29898
|
- SW: non 'actor' cases of s() in ai.cpp.
|
2021-12-30 09:57:29 +01:00 |
|
Christoph Oelckers
|
6c97912220
|
- SW: replace all u()'s in actor.cpp
|
2021-12-30 09:57:29 +01:00 |
|
Christoph Oelckers
|
fd78cb57c1
|
- fixed some bad flag replacements.
0x7fff is not ~CSTAT_SPRITE_BLOCK but ~CSTAT_SPRITE_INVISIBLE.
|
2021-12-30 09:57:29 +01:00 |
|
Christoph Oelckers
|
c9628e2034
|
- partial cleanup of SW's macro mess.
Renamed some functions to give them better names and converted more macros into functions or constants
|
2021-12-30 09:57:28 +01:00 |
|
Christoph Oelckers
|
394f06baa0
|
- SW: converted 1/3 of the #defines in names2.h into enums.
|
2021-12-30 09:57:28 +01:00 |
|
Christoph Oelckers
|
92f2182e6e
|
- SW: all s() in actor.cpp
|
2021-12-30 09:57:28 +01:00 |
|
Christoph Oelckers
|
2718b3a5e3
|
- remaining s() in Exhumed
|
2021-12-30 09:57:28 +01:00 |
|
Christoph Oelckers
|
d4c01ce957
|
- remaining s() in queen.cpp.
|
2021-12-30 09:57:28 +01:00 |
|
Christoph Oelckers
|
4610fc6e99
|
- remaining s() in player.cpp.
|
2021-12-30 09:57:27 +01:00 |
|
Christoph Oelckers
|
d40da386a4
|
- remaining s() in object.cpp.
|
2021-12-30 09:57:27 +01:00 |
|
Christoph Oelckers
|
301350ef8c
|
- remaining s() in move.cpp
|
2021-12-30 09:57:27 +01:00 |
|
Christoph Oelckers
|
7eaf669295
|
- remaining s() in bullet.cpp, grenade.cpp and gun.cpp.
|
2021-12-30 09:57:27 +01:00 |
|
Christoph Oelckers
|
cd6bb5305e
|
- second batch of Exhumed's s().
|
2021-12-30 09:57:27 +01:00 |
|
Christoph Oelckers
|
6f0e7e3784
|
- Exhumed: batch of several s().
|
2021-12-30 09:57:27 +01:00 |
|
Christoph Oelckers
|
56bd9e7e27
|
- Exhumed: pActor->s() in spider.cpp
|
2021-12-30 09:57:26 +01:00 |
|
Christoph Oelckers
|
05d2b90418
|
- Exhumed: pActor->s() in anubis.cpp
|
2021-12-30 09:57:26 +01:00 |
|
Christoph Oelckers
|
046ff607dc
|
- Exhumed: pActor->s() in wasp.cpp
|
2021-12-30 09:57:26 +01:00 |
|
Christoph Oelckers
|
eda75a38d2
|
- Exhumed: pActor->s() in snake.cpp
|
2021-12-30 09:57:26 +01:00 |
|
Christoph Oelckers
|
0fb92e3928
|
- Exhumed: pActor->s() in set.cpp
|
2021-12-30 09:57:26 +01:00 |
|
Christoph Oelckers
|
b34a4af15e
|
- Exhumed: pActor->s() in scorp.cpp
|
2021-12-30 09:57:26 +01:00 |
|
Christoph Oelckers
|
013cf05042
|
- Exhumed: pActor->s() in runlist.cpp
|
2021-12-30 09:57:26 +01:00 |
|
Christoph Oelckers
|
318678b5a1
|
- Exhumed: pActor->s() in roach.cpp
|
2021-12-30 09:57:25 +01:00 |
|
Christoph Oelckers
|
a6c592b12c
|
- Exhumed: pActor->s() in rex.cpp
|
2021-12-30 09:57:25 +01:00 |
|
Christoph Oelckers
|
b02feec2e8
|
- Exhumed: pActor->s() in rat.cpp
|
2021-12-30 09:57:25 +01:00 |
|