Mitchell Richters
|
bf7437c827
|
- SW: Remove ON pre-processor define and eliminate mytypes.h .
|
2021-12-30 09:58:46 +01:00 |
|
Christoph Oelckers
|
c8b5fa6556
|
- SW: fixed signed-ness issue with SP_TAG13
|
2021-12-30 09:58:14 +01:00 |
|
Christoph Oelckers
|
fb53f32603
|
- handle the remaining write accesses to ceilingz and floorz.
Everything is routed through the wrapper functions now.
|
2021-12-30 09:58:14 +01:00 |
|
Christoph Oelckers
|
c24aafd3d6
|
- SW: game.h cleanup
Turned almost all #defines into enums or inline functions, removed unused declarations and all leftover MONO_PRINT fragments elsewhere.
|
2021-12-30 09:58:13 +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
|
12ad85f6f8
|
- SW: turned flag #defines into enums.
|
2021-12-30 09:58:11 +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
|
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
|
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
|
a72732a7b1
|
- handle USERSAVE.
|
2021-12-30 09:57:55 +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
|
8a2908bc30
|
- eliminated the remaining SP_* spritetype function variants.
|
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
|
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
|
1e938e2b44
|
- deleted redundant sprite inlines.
All calls have been transitioned to actors.
|
2021-12-30 09:57:44 +01:00 |
|
Christoph Oelckers
|
7bea7cdae1
|
- handle all wp referencing actor->s().
|
2021-12-30 09:57:42 +01:00 |
|
Christoph Oelckers
|
0175d27ffa
|
- handle all 'np->' not referencing actorNew.
|
2021-12-30 09:57:41 +01:00 |
|
Christoph Oelckers
|
b488361639
|
- more macros in weapons.cpp converted into functions.
|
2021-12-30 09:57:40 +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
|
49cc2b3cad
|
- quake.cpp plus SP_TAG13/14 cleanup
|
2021-12-30 09:57:39 +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
|
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
|
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
|
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
|
395a269feb
|
- globally replaced ->u()->.
|
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
|
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
|
09634c4993
|
- use actors instead of sprites in the new renderer's API.
|
2021-12-30 09:57:15 +01:00 |
|
Mitchell Richters
|
6423684bfb
|
- SW: Replace PLAYERstruct oposz with opos.Z calls.
|
2021-12-30 09:57:09 +01:00 |
|
Mitchell Richters
|
a2f2cc489a
|
- SW: Replace PLAYERstruct oposy with opos.Y calls.
|
2021-12-30 09:57:08 +01:00 |
|
Mitchell Richters
|
ae50767c70
|
- SW: Replace PLAYERstruct oposx with opos.X calls.
|
2021-12-30 09:57:08 +01:00 |
|
Mitchell Richters
|
05a4ad4729
|
- SW: Replace PLAYERstruct posz with pos.Z calls and eliminate PLAYERstruct pos union.
|
2021-12-30 09:57:08 +01:00 |
|
Mitchell Richters
|
ae3369d2a3
|
- SW: Replace PLAYERstruct posy with pos.Y calls.
|
2021-12-30 09:57:08 +01:00 |
|
Mitchell Richters
|
3a0ee322ae
|
- SW: Replace PLAYERstruct posx with pos.X calls.
|
2021-12-30 09:57:07 +01:00 |
|
Mitchell Richters
|
baf78848eb
|
- Replace spritetypebase z with pos.Z calls and eliminate spritetypebase pos union.
|
2021-12-30 09:57:06 +01:00 |
|
Mitchell Richters
|
cecb8dc48e
|
- Replace spritetypebase y with pos.Y calls.
|
2021-12-30 09:57:05 +01:00 |
|
Mitchell Richters
|
33ca55023f
|
- Replace spritetypebase x with pos.X calls.
|
2021-12-30 09:57:05 +01:00 |
|