Christoph Oelckers
|
d117544da8
|
- wrapped user.hiz reads.
|
2022-10-09 08:21:54 +02:00 |
|
Christoph Oelckers
|
ac3f6d73e3
|
- wrapped all reads to user.loz.
|
2022-10-09 08:21:54 +02:00 |
|
Christoph Oelckers
|
8e966fc575
|
- int_ppos replacements
|
2022-10-06 20:50:45 +02:00 |
|
Christoph Oelckers
|
da73d2bba4
|
- renamed player position variables.
|
2022-10-06 20:50:45 +02:00 |
|
Christoph Oelckers
|
b3d9320d54
|
- Distance in SW
|
2022-10-05 18:18:27 +02:00 |
|
Christoph Oelckers
|
55ade2eda4
|
- use int_hitpos() access function where applicable
|
2022-10-05 18:10:44 +02:00 |
|
Christoph Oelckers
|
296b5d7edd
|
- renamed HitInfo::hitpos
|
2022-10-05 18:03:41 +02:00 |
|
Christoph Oelckers
|
086c699df0
|
- use float coords for spawning some SW actors.
|
2022-10-05 18:01:57 +02:00 |
|
Christoph Oelckers
|
6381015229
|
- set_int_ang in SW, part 1.
|
2022-10-04 23:56:44 +02:00 |
|
Christoph Oelckers
|
f54e4b8a9a
|
- more int_ang()
|
2022-10-04 23:56:43 +02:00 |
|
Christoph Oelckers
|
735b9a8fed
|
- renamed ang to __int_angle
|
2022-10-04 23:56:42 +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
|
871f0c4ec6
|
- SW: first batch of spr.pos wraps.
|
2022-08-26 19:53:08 +02: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 |
|
Mitchell Richters
|
1c0ba71c69
|
- SW: Eliminated ANIMATORp typedef.
|
2022-01-01 09:09:41 +11:00 |
|
Christoph Oelckers
|
d1be430fbf
|
- eliminated PLAYERp
|
2021-12-31 15:59:11 +01:00 |
|
Christoph Oelckers
|
5498699faf
|
- use DCoreActor::sector() wherever possible.
|
2021-12-30 16:51:56 +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
|
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
|
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
|
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
|
63fc668d57
|
- don't use auto when making local copies of TObjPtr.
|
2021-12-30 09:57:36 +01:00 |
|
Christoph Oelckers
|
5290939cbc
|
- break.cpp sp cleanup.
Also a few needed renamings.
|
2021-12-30 09:57:35 +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
|
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
|
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 |
|
Mitchell Richters
|
c549cc5276
|
- Capitalise vec3_t x variable.
|
2021-12-30 09:57:02 +01:00 |
|
Christoph Oelckers
|
d9d05e90b5
|
- globally replaced all occurences of '->s().' with '->spr.'
|
2021-12-30 09:57:00 +01:00 |
|
Mitchell Richters
|
0c6e55d1b8
|
- Silence all the -Wuninitialized and -Wmaybe-uninitialized warnings relating to HitInfo objects passed through to functions by reference.
|
2021-12-26 23:09:50 +01:00 |
|
Christoph Oelckers
|
729076b79d
|
- adapted neartag in SW and Exhumed.
|
2021-12-26 23:09:42 +01:00 |
|
Christoph Oelckers
|
91e2391911
|
- adapted neartag in Duke.
|
2021-12-26 23:09:42 +01:00 |
|
Christoph Oelckers
|
30f36e4871
|
- use backend's collision struct in SW.
|
2021-12-26 23:08:58 +01:00 |
|