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 |
|
Christoph Oelckers
|
a5ccd2ccd2
|
- adapted FAFhitscan to the new backend API.
Lots of search & replace to change the names of the HitInfo struct, no manual edits outside of FAFhitscan.
|
2021-12-26 23:08:57 +01:00 |
|
Christoph Oelckers
|
104e80e34a
|
- NEAR_TAG_LIST, also deleted useless OperateWall code.
|
2021-12-26 23:08:55 +01:00 |
|
Christoph Oelckers
|
db95dc95d1
|
- FAF_Sector + SpawnQuake
|
2021-12-26 23:08:54 +01:00 |
|
Christoph Oelckers
|
98c3d57b73
|
- ->sectnum in ai.cpp and draw.cpp.
|
2021-12-26 23:08:54 +01:00 |
|
Christoph Oelckers
|
1457cf2c0d
|
- track stuff
|
2021-12-26 23:08:53 +01:00 |
|
Christoph Oelckers
|
1a7c70cbbd
|
- use pointers in FAFHitscan
|
2021-12-26 23:08:51 +01:00 |
|
Christoph Oelckers
|
f495097663
|
- first step of replacing hitinfo.hitsect with a pointer.
This takes care of easy to handle common patterns
|
2021-12-26 23:08:50 +01:00 |
|
Christoph Oelckers
|
eb82f60981
|
- FAFcansee.
|
2021-12-26 23:08:42 +01:00 |
|
Christoph Oelckers
|
0a0cc85407
|
- renamed HITINFO fields.
|
2021-12-26 23:08:41 +01:00 |
|
Christoph Oelckers
|
6a9b377724
|
SW de-shortification
|
2021-12-25 21:28:53 +01:00 |
|
Christoph Oelckers
|
4d7b45b68e
|
- SW: first batch of short handling.
|
2021-12-25 21:28:53 +01:00 |
|
Christoph Oelckers
|
a5fac26a90
|
- DIVx macro removal.
Only DIV2 left because there are too many calls to quickly remove them.
|
2021-12-25 21:28:45 +01:00 |
|
Christoph Oelckers
|
a073ef65e7
|
- low level move functions now return a Collision struct.
# Conflicts:
# source/games/sw/src/sprite.cpp
|
2021-11-29 00:56:09 +01:00 |
|
Christoph Oelckers
|
606ce997ac
|
- cleanup of collision maintenance.
u->ret is gone, and for clearing the collision info the proper utilities are being called now.
|
2021-11-29 00:56:09 +01:00 |
|
Christoph Oelckers
|
da1e97469e
|
- FAFhitscan migration to HITINFO.
|
2021-11-29 00:55:52 +01:00 |
|
Christoph Oelckers
|
b878bf8aac
|
- SW: renamed all unsigned chars to uint8_t
Also deletes some unused declarations
|
2021-11-29 00:55:43 +01:00 |
|
Christoph Oelckers
|
1e00a4ff18
|
- second batch of sector.cpp
|
2021-11-29 00:55:34 +01:00 |
|
Christoph Oelckers
|
01abe7b2ac
|
- addressed most unused/uninitialized variable warnings from MSVC.
|
2021-11-29 00:55:30 +01:00 |
|
Christoph Oelckers
|
e94785e571
|
- cleanup.
|
2021-11-29 00:55:22 +01:00 |
|
Christoph Oelckers
|
4231119717
|
- owner stuff
|
2021-11-29 00:55:15 +01:00 |
|