Christoph Oelckers
|
e302c45a0b
|
Revert "- added two FAFcansee variants that take shorter parameter lists for clearer code."
This reverts commit 29da39dda0 .
Something in here was wrong, so back to the start with it.
The positive effect was too small anyway.
|
2022-01-02 17:35:12 +01:00 |
|
Mitchell Richters
|
9145895b47
|
- SW: Replace SECTOR_OBJECT ymid with pmid.Y calls.
|
2022-01-01 09:33:30 +11:00 |
|
Mitchell Richters
|
5e2bbb12b5
|
- SW: Replace SECTOR_OBJECT xmid with pmid.X calls.
|
2022-01-01 09:32:40 +11:00 |
|
Christoph Oelckers
|
d1be430fbf
|
- eliminated PLAYERp
|
2021-12-31 15:59:11 +01:00 |
|
Christoph Oelckers
|
392397c2b0
|
- replaced SECTOR_OBJECTp
|
2021-12-31 15:50:44 +01:00 |
|
Christoph Oelckers
|
8fb769649b
|
- eliminated sectortype aliases.
|
2021-12-31 15:43:47 +01:00 |
|
Christoph Oelckers
|
98492aae54
|
- eliminated walltype aliases.
|
2021-12-31 15:41:39 +01:00 |
|
Christoph Oelckers
|
87d2b3274b
|
- cleaned out most of the less frequent typedef types in SW.
|
2021-12-31 15:27:18 +01:00 |
|
Christoph Oelckers
|
12c63d2337
|
- eliminated a few more typedefs,
|
2021-12-31 13:37:57 +01:00 |
|
Christoph Oelckers
|
5498699faf
|
- use DCoreActor::sector() wherever possible.
|
2021-12-30 16:51:56 +01:00 |
|
Mitchell Richters
|
50cb85e389
|
- SW: Replace USER ychange with change.Y calls.
|
2021-12-31 00:22:48 +11:00 |
|
Mitchell Richters
|
ad0ea3f2f1
|
- SW: Replace USER xchange with change.X calls.
|
2021-12-31 00:22:42 +11:00 |
|
Mitchell Richters
|
9bbb54fe2e
|
- Replace every line that just contains spaces or tabs with an empty line feed in all files except 3rd party libraries.
|
2021-12-30 20:30:21 +11:00 |
|
Mitchell Richters
|
1b077251e3
|
- SW: Use BIT() inline in a few places that were changed in "- SW: Replace the last few remaining TEST() macro uses and remove from mytypes.h ."
Originally, `BIT()` was going to be dropped in a subsequent commit but we've elected not to.
|
2021-12-30 20:14:01 +11:00 |
|
Mitchell Richters
|
ae49a55fce
|
- SW: Replace the last few remaining TEST() macro uses and remove from mytypes.h .
|
2021-12-30 09:58:45 +01:00 |
|
Mitchell Richters
|
1439d5f268
|
- SW: Replace TEST\(([\w\-\>.()\[\]]+),\s?([\w\_\|\s]+)\) with ($1 & ($2)) .
|
2021-12-30 09:58:45 +01:00 |
|
Mitchell Richters
|
48b0058d38
|
- SW: Replace TEST\(([\w\-\>.()]+),\s?(\w+)\) with ($1 & $2) .
|
2021-12-30 09:58:45 +01:00 |
|
Mitchell Richters
|
8df3966d08
|
- SW: Replace !TEST\(([\w\-\>.()\[\]]+),\s?(\w+)\) with !($1 & $2) .
|
2021-12-30 09:58:44 +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
|
61564ab96a
|
- one third of TEST().
|
2021-12-30 09:58:13 +01:00 |
|
Christoph Oelckers
|
e29d0f50cf
|
- lots of RESET() flags replaced.
|
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
|
92ed3fa728
|
- replaced more SET() macros.
This covers another 30-35%.
|
2021-12-30 09:58:11 +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
|
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
|
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
|
521ad37618
|
- handle wu-> in weapon.cpp which do not reference actorNew.
|
2021-12-30 09:57:57 +01:00 |
|
Christoph Oelckers
|
297921204f
|
- rename STD_RANDOM_RANGE
|
2021-12-30 09:57:50 +01:00 |
|
Christoph Oelckers
|
7f07be0d6d
|
- - sector, sound, track, rotator
|
2021-12-30 09:57:49 +01:00 |
|
Christoph Oelckers
|
822c88c135
|
- handle all auto psp = &pp->Actor()->s();
|
2021-12-30 09:57:48 +01:00 |
|
Christoph Oelckers
|
c7b80b80d8
|
- player warp functions.
|
2021-12-30 09:57:48 +01:00 |
|
Christoph Oelckers
|
2398073529
|
- getting rid of wall variables named wp.
|
2021-12-30 09:57:43 +01:00 |
|
Christoph Oelckers
|
49cc2b3cad
|
- quake.cpp plus SP_TAG13/14 cleanup
|
2021-12-30 09:57:39 +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
|
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
|
76809965ad
|
- some sp replacements as preparation for replacing most of 'actor->s()'.
|
2021-12-30 09:57:33 +01:00 |
|
Mitchell Richters
|
c26b5d2303
|
- SW: Clean up local functions variables to prevent redefinition conflicts.
|
2021-12-30 09:57:31 +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 |
|
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 |
|