Christoph Oelckers
8abd67a3b1
- fixed sound listener angle for the remote control case.
...
It was taking the angle of the rotating sector object instead of the angle from the listener's position to it.
2021-12-13 13:24:33 +01:00
Christoph Oelckers
c2baa68160
- fixed camera textures breaking in SW when restarting a level.
...
This was caused by attempting to delete the camera textures when cleaning up the mirror array.
The Build tile manager was not prepared for such a use case and left a broken texture behind.
To allow this to function it now resets the texture replacement type when deleting a tile and to avoid creating new camera textures these will now be stored in a cache and recycled later.
2021-12-02 21:40:43 +01:00
Christoph Oelckers
60630f5b84
- do not init pointers to 0xffffffffffffffff.
...
These will most certainly crash when used in any way.
2021-12-02 18:42:02 +01:00
Christoph Oelckers
cb099b1b66
- added two missing semicolons.
...
Unbelievable that this was legal C++ and didn't even get a warning!
2021-12-01 23:30:02 +01:00
Christoph Oelckers
57aca0ed07
- SW: fixed sector object setup with vator effect.
...
This used some weird initialization logic that was missed when first modifying this code.
2021-12-01 21:00:00 +01:00
Christoph Oelckers
324e35e776
- SW: fixed use of uninitialized variable in WallSetup
2021-12-01 19:55:18 +01:00
Christoph Oelckers
71dfe7ecfe
- fixed handling for cl_capfps and cl_nointerpolate to never use any smoothratio value other than 1.0.
2021-11-29 00:57:11 +01:00
Christoph Oelckers
1de9c63d45
- fixed center aligned rendering of 2D content.
...
This calculates the centered pivot point in integer texel coordinate space so for odd numbers it must round down instead of using a fractional position.
2021-11-29 00:57:10 +01:00
Christoph Oelckers
ec63dd4cb3
- SW: precacheMap cleanup
2021-11-29 00:57:09 +01:00
Christoph Oelckers
b73ea76c18
- cleaned out Bunny_Count declarations.
...
One is enough.
2021-11-29 00:57:09 +01:00
Christoph Oelckers
cd3288860a
- fixed automap player drawing for follpw mode off in all games.
2021-11-29 00:56:32 +01:00
Christoph Oelckers
adf3133fdc
- use sectnum and wallnum to get an index from pointers instead of subtracting the array base.
2021-11-29 00:56:26 +01:00
Christoph Oelckers
4e31360fe4
- cleaned up dragpoint
...
This still contained some code for EDuke32's TROR and used a shared static global array.
It now uses the BFSSearch class to manage its bit array to unlimit the size of its working set and to avoid reallocation.
2021-11-29 00:56:25 +01:00
Christoph Oelckers
399f254629
- the definitely last bit: There was still a spritenum reference in NEAR_TAG_INFO
...
SW done!
2021-11-29 00:56:17 +01:00
Christoph Oelckers
b97760db29
- forgotten cleanup.
2021-11-29 00:56:17 +01:00
Christoph Oelckers
ed2d8373fc
- final cleanup.
2021-11-29 00:56:17 +01:00
Christoph Oelckers
e12ae040de
- collision code cleanup.
...
# Conflicts:
# source/games/sw/src/game.h
# source/games/sw/src/sprite.cpp
# Conflicts:
# source/games/sw/src/game.h
2021-11-29 00:56:17 +01:00
Christoph Oelckers
898f56dd86
- User[] is mostly gone.
...
All access is now through the actor.
2021-11-29 00:56:16 +01:00
Christoph Oelckers
cd73cd616e
- ActorDrop.
2021-11-29 00:56:16 +01:00
Christoph Oelckers
56760d1824
- CanGetWeapon
2021-11-29 00:56:16 +01:00
Christoph Oelckers
88a5a95cde
- SpriteNum cleanup.
2021-11-29 00:56:16 +01:00
Christoph Oelckers
03c9ef6d20
- SetGunQuake
2021-11-29 00:56:16 +01:00
Christoph Oelckers
2f1e23a654
- replaced PLAYER::PlayerSprite with PLAYER::actor
...
# Conflicts:
# source/games/sw/src/save.cpp
2021-11-29 00:56:15 +01:00
Christoph Oelckers
5b10e9f2d5
- got rid of SpriteP pointers in PLAYER and USER.
2021-11-29 00:56:15 +01:00
Christoph Oelckers
8d95b9cb98
- got rid of the PlaySound variant taking a sprite pointer.
2021-11-29 00:56:15 +01:00
Christoph Oelckers
580b7002fb
- PlaySound calls in DoGet.
2021-11-29 00:56:15 +01:00
Christoph Oelckers
6f8480ebc3
- KillGet... functions.
2021-11-29 00:56:15 +01:00
Christoph Oelckers
95b7949f7d
- minor sprite.cpp cleanup.
2021-11-29 00:56:14 +01:00
Christoph Oelckers
cb477d4ab7
- ActorSpawn cleanup.
2021-11-29 00:56:14 +01:00
Christoph Oelckers
d8ea4db5b2
- Got rid of SpawnSprite.
2021-11-29 00:56:14 +01:00
Christoph Oelckers
a57af58d4c
- get rid of KillSprite.
2021-11-29 00:56:14 +01:00
Christoph Oelckers
431103032f
- SpriteOverlapZ
2021-11-29 00:56:14 +01:00
Christoph Oelckers
66e61d799d
- handle the remaining SectIterators.
2021-11-29 00:56:14 +01:00
Christoph Oelckers
df5d980f79
- handle all remaining StatIterators.
2021-11-29 00:56:13 +01:00
Christoph Oelckers
69223af7b0
- SpriteControl and subfunctions.
2021-11-29 00:56:13 +01:00
Christoph Oelckers
591a3f623d
- dead code removal.
2021-11-29 00:56:13 +01:00
Christoph Oelckers
79dcd2c178
- iterators in CollectPortals
2021-11-29 00:56:13 +01:00
Christoph Oelckers
8df851c3e3
- unsaved bits.
2021-11-29 00:56:13 +01:00
Christoph Oelckers
f8105dc92b
- track.cpp complete.
2021-11-29 00:56:12 +01:00
Christoph Oelckers
4796ebc73c
- track setup code
2021-11-29 00:56:12 +01:00
Christoph Oelckers
92c497ac29
- TrackSetup
2021-11-29 00:56:12 +01:00
Christoph Oelckers
c34f0ab210
- SectorObjectSetupBounds
...
Note: Do proper checks on crashing mapping errors. Asserts are insufficient for these!
2021-11-29 00:56:12 +01:00
Christoph Oelckers
41f8c6f4af
- owner fixes in weapons.cpp.
...
# Conflicts:
# source/games/sw/src/game.h
# Conflicts:
# source/games/sw/src/game.h
# source/games/sw/src/weapon.cpp
2021-11-29 00:56:12 +01:00
Christoph Oelckers
e908e4ff44
- final bit of weapon.cpp cleanup.
2021-11-29 00:56:12 +01:00
Christoph Oelckers
31f4a7464a
- finishing up with DoDamage.
2021-11-29 00:56:11 +01:00
Christoph Oelckers
487e2b7a1e
- ActorHealth + ActorPain
2021-11-29 00:56:11 +01:00
Christoph Oelckers
93ad08a167
- ActorStdMissile + ActorDamageSlide
...
# Conflicts:
# source/games/sw/src/weapon.cpp
2021-11-29 00:56:11 +01:00
Christoph Oelckers
2c39177c07
- ActorChooseDeath
2021-11-29 00:56:11 +01:00
Christoph Oelckers
604731bc08
- GetDamage
...
# Conflicts:
# source/games/sw/src/weapon.cpp
2021-11-29 00:56:11 +01:00
Christoph Oelckers
2b4ed0eaf3
- PlayerCheckDeath
2021-11-29 00:56:10 +01:00