Christoph Oelckers
|
3edbec4f55
|
- use copyXY method where possible.
|
2022-10-04 18:44:16 +02:00 |
|
Christoph Oelckers
|
f307e22f4b
|
- fixed SW's flash bomb.
|
2022-10-01 14:33:56 +02:00 |
|
Christoph Oelckers
|
e732e2f947
|
- SW: replaced spr.pos globally (except two functions)
# Conflicts:
# source/games/sw/src/_polymost.cpp
|
2022-08-26 19:53:09 +02:00 |
|
Christoph Oelckers
|
6a5384f39e
|
- SW: eighth batch of spr.pos wraps.
|
2022-08-26 19:53:09 +02:00 |
|
Christoph Oelckers
|
212b9e8bab
|
- SW: fourth batch of spr.pos wraps.
|
2022-08-26 19:53:08 +02:00 |
|
Christoph Oelckers
|
871f0c4ec6
|
- SW: first batch of spr.pos wraps.
|
2022-08-26 19:53:08 +02:00 |
|
Mitchell Richters
|
00e12ea031
|
- Remove some uses of xs_Float.h functions in game-side code where overflow protection isn't needed.
* Went a little bit nuts and just used this everywhere back way back when.
|
2022-07-23 10:37:32 +10:00 |
|
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 |
|
Christoph Oelckers
|
84ca96c52c
|
eliminated STATEp
|
2021-12-31 16:00:14 +01:00 |
|
Christoph Oelckers
|
d1be430fbf
|
- eliminated PLAYERp
|
2021-12-31 15:59:11 +01:00 |
|
Christoph Oelckers
|
98492aae54
|
- eliminated walltype aliases.
|
2021-12-31 15:41:39 +01:00 |
|
Christoph Oelckers
|
552668418a
|
- moved opos and oang to DCoreActor.
|
2021-12-30 18:21:02 +01:00 |
|
Christoph Oelckers
|
5498699faf
|
- use DCoreActor::sector() wherever possible.
|
2021-12-30 16:51:56 +01:00 |
|
Mitchell Richters
|
ab6b9fd083
|
- SW: Replace USER zchange with change.Z calls.
|
2021-12-31 00:23:30 +11: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
|
5515830e2b
|
- SW: Replace PLAYERstruct yvect with vect.Y calls.
|
2021-12-31 00:19:33 +11:00 |
|
Mitchell Richters
|
f2497d7d08
|
- SW: Replace PLAYERstruct xvect with vect.X calls.
|
2021-12-31 00:19:33 +11:00 |
|
Mitchell Richters
|
9c1e54a148
|
- SW: Replace USER sz with pos.Z calls.
|
2021-12-30 20:40:29 +11:00 |
|
Mitchell Richters
|
0d70d26625
|
- SW: Replace USER sy with pos.Y calls.
|
2021-12-30 20:31:09 +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
|
bf7437c827
|
- SW: Remove ON pre-processor define and eliminate mytypes.h .
|
2021-12-30 09:58:46 +01:00 |
|
Mitchell Richters
|
48b0058d38
|
- SW: Replace TEST\(([\w\-\>.()]+),\s?(\w+)\) with ($1 & $2) .
|
2021-12-30 09:58:45 +01:00 |
|
Mitchell Richters
|
5316e23737
|
- SW: Replace !TEST\(([\w\-\>.()\[\]]+),\s?([\w\_\|\s]+)\) 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
|
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
|
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
|
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
|
dc3f2473ba
|
- quick search & replace on ~40% of SET( macros in SW.
|
2021-12-30 09:58:10 +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
|
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
|
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
|
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
|
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
|
eba5d222c0
|
- the remaining s()'s in jweapon.cpp
|
2021-12-30 09:57:47 +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 |
|