Christoph Oelckers
d215ae0c63
- fixed bad target check for Ripper2's jump attack
2022-01-01 18:25:18 +01:00
Christoph Oelckers
84ca96c52c
eliminated STATEp
2021-12-31 16:00:14 +01:00
Christoph Oelckers
2bb7cecf27
- eliminated spritetype::clear.
...
Most uses were bad anyway, and the legitimate ones are just clearing the object.
2021-12-30 17:55:17 +01:00
Christoph Oelckers
5498699faf
- use DCoreActor::sector() wherever possible.
2021-12-30 16:51:56 +01: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
48b0058d38
- SW: Replace TEST\(([\w\-\>.()]+),\s?(\w+)\)
with ($1 & $2)
.
2021-12-30 09:58:45 +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
e29d0f50cf
- lots of RESET() flags replaced.
2021-12-30 09:58:12 +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
0274fa5b4b
- deleted u variables in ripper2.cpp
2021-12-30 09:57:59 +01:00
Christoph Oelckers
574deb2111
- renamed u-> in ripper2.cpp
2021-12-30 09:57:59 +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
959147c656
- smaller stuff
2021-12-30 09:57:48 +01:00
Christoph Oelckers
33c8668325
- deleted all np variables.
2021-12-30 09:57:42 +01:00
Christoph Oelckers
14ba7d24d2
- renamed all remaining np->
2021-12-30 09:57:42 +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
f6c32b10d4
- globally replaced sp-> in ripper2.cpp
2021-12-30 09:57:37 +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
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
68e2691be7
- Capitalise vec3_t
y
variable.
2021-12-30 09:57:03 +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
Christoph Oelckers
f855b1020f
- actor lists refactored.
...
No more shorts, no more static arrays.
This was one of the biggest blockers for unlimiting the engine.
2021-12-26 23:09:54 +01:00
Christoph Oelckers
eaff9e359f
- refactored the owner index in tspritetype.
...
This is now a separate type from spritetype which contains an actor pointer instead so that sprite display can be handled without requiring a static sprite array.
2021-12-26 23:09:53 +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
0a9792ac28
- adapted SW's sound system to actors.
2021-12-26 23:09:46 +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
1a7c70cbbd
- use pointers in FAFHitscan
2021-12-26 23:08:51 +01:00
Christoph Oelckers
6ae8e93de8
- hitinfo.hitwall is also gone.
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
e17da708e7
- lots of ->sectnum search & replace.
2021-12-26 23:08:43 +01:00
Christoph Oelckers
d1f156dec3
- most InsertActor calls.
2021-12-26 23:08:43 +01:00
Christoph Oelckers
82447233a7
- several getangle(delta) blocks.
2021-12-26 23:08:41 +01:00
Christoph Oelckers
0a0cc85407
- renamed HITINFO fields.
2021-12-26 23:08:41 +01:00
Christoph Oelckers
1c5fc16fa5
- SW: fixed two bad user assignments
2021-12-25 19:54: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
057de89b9b
- u->ret cleanup.
2021-11-29 00:56:02 +01:00
Christoph Oelckers
da1e97469e
- FAFhitscan migration to HITINFO.
2021-11-29 00:55:52 +01:00
Christoph Oelckers
deddd7d514
- it is not necessary to clear the owner of a freshly spawned actor.
...
They are always spawned owner-less.
2021-11-29 00:55:49 +01:00
Christoph Oelckers
0b3b30170c
- DoActorZRange parameters.
2021-11-29 00:55:45 +01:00
Christoph Oelckers
e2e697e9bb
- do better owner checks in weapon code.
...
Due to poor data clearing logic there is a chance that the owner of a sprite is 0 if invalid, but this code never properly checked all conditions before accessing the owner's user's ID.
2021-11-29 00:55:37 +01:00
Christoph Oelckers
e32a1af7b2
- lots of PlaySound calls migrated to actors.
2021-11-29 00:55:36 +01:00
Christoph Oelckers
da683ddf7a
- ripper2.cpp
2021-11-29 00:55:33 +01:00
Christoph Oelckers
65da74538c
- ActorFollowTrack.
2021-11-29 00:55:23 +01:00
Christoph Oelckers
e7dcd279af
- PickJumpMaxSpeed.
2021-11-29 00:55:22 +01:00