Commit graph

13073 commits

Author SHA1 Message Date
Mitchell Richters
54d0b4c291 - buildutils: Replace sintable[] use within SW's ripper.cpp with bsin()/bcos(). 2020-11-22 21:18:08 +01:00
Mitchell Richters
f8cd6d2a37 - buildutils: Replace sintable[] use within SW's player.cpp with bsin()/bcos(). 2020-11-22 21:18:08 +01:00
Mitchell Richters
73355edd2b - buildutils: Replace sintable[] use within SW's ninja.cpp with bsin()/bcos(). 2020-11-22 21:18:08 +01:00
Mitchell Richters
32ea54aca3 - buildutils: Replace sintable[] use within SW's morph.cpp with bsin()/bcos(). 2020-11-22 21:18:07 +01:00
Mitchell Richters
512bb29ed9 - buildutils: Replace sintable[] use within SW's mclip.cpp with bsin()/bcos(). 2020-11-22 21:18:07 +01:00
Mitchell Richters
94bd45569c - buildutils: Replace sintable[] use within SW's input.cpp with bsin()/bcos(). 2020-11-22 21:18:07 +01:00
Mitchell Richters
2e4bced7f9 - buildutils: Replace sintable[] use within SW's hornet.cpp with bsin()/bcos(). 2020-11-22 21:18:07 +01:00
Mitchell Richters
85841f5abd - buildutils: Replace sintable[] use within SW's girlninj.cpp with bsin()/bcos(). 2020-11-22 21:18:07 +01:00
Mitchell Richters
f0be96c385 - buildutils: Replace sintable[] use within SW's game.h with bsin()/bcos(). 2020-11-22 21:18:07 +01:00
Mitchell Richters
ffd768ab71 - buildutils: Replace sintable[] use within SW's eel.cpp with bsin()/bcos(). 2020-11-22 21:18:07 +01:00
Mitchell Richters
e60747a913 - buildutils: Replace sintable[] use within SW's draw.cpp with bsin()/bcos(). 2020-11-22 21:18:06 +01:00
Mitchell Richters
c2c49bd0b9 - buildutils: Replace sintable[] use within SW's coolg.cpp with bsin()/bcos(). 2020-11-22 21:18:06 +01:00
Mitchell Richters
4192416268 - buildutils: Replace sintable[] use within SW's bunny.cpp with bsin()/bcos(). 2020-11-22 21:18:06 +01:00
Mitchell Richters
156709d6bf - buildutils: Replace sintable[] use within SW's ai.cpp with bsin()/bcos(). 2020-11-22 21:18:06 +01:00
Mitchell Richters
772635e351 - buildutils: Replace sintable[] use within SW's actor.cpp with bsin()/bcos(). 2020-11-22 21:18:06 +01:00
Mitchell Richters
ad814f66b0 - buildutils: Replace sintable[] use within Duke's spawn.cpp with bsin()/bcos(). 2020-11-22 21:18:06 +01:00
Mitchell Richters
d6a094dcdd - buildutils: Replace sintable[] use within Duke's sectors_r.cpp with bsin()/bcos(). 2020-11-22 21:18:05 +01:00
Mitchell Richters
6fba78c123 - buildutils: Replace sintable[] use within Duke's sectors_d.cpp with bsin()/bcos(). 2020-11-22 21:18:05 +01:00
Mitchell Richters
6ccf925429 - buildutils: Replace sintable[] use within Duke's sectors.cpp with bsin()/bcos(). 2020-11-22 21:18:05 +01:00
Mitchell Richters
410c2cf41f - buildutils: Replace sintable[] use within Duke's sbar_*.cpp with bsin()/bcos(). 2020-11-22 21:18:05 +01:00
Mitchell Richters
0781d627dc - buildutils: Replace sintable[] use within Duke's prediction.cpp with bsin()/bcos(). 2020-11-22 21:18:05 +01:00
Mitchell Richters
6800e192e1 - buildutils: Replace sintable[] use within Duke's player_w.cpp with bsin()/bcos(). 2020-11-22 21:18:05 +01:00
Mitchell Richters
1c5c90d00f - buildutils: Replace sintable[] use within Duke's player_r.cpp with bsin()/bcos(). 2020-11-22 21:18:04 +01:00
Mitchell Richters
5e45f988e3 - buildutils: Replace sintable[] use within Duke's player_d.cpp with bsin()/bcos(). 2020-11-22 21:18:04 +01:00
Mitchell Richters
50b4d8cc99 - buildutils: Replace sintable[] use within Duke's player.cpp with bsin()/bcos(). 2020-11-22 21:18:04 +01:00
Mitchell Richters
fd4e1b3b28 - buildutils: Replace sintable[] use within Duke's input.cpp with bsin()/bcos(). 2020-11-22 21:18:04 +01:00
Mitchell Richters
d934bfd985 - buildutils: Replace sintable[] use within Duke's gameexec.cpp with bsin()/bcos(). 2020-11-22 21:18:04 +01:00
Mitchell Richters
f1f0b42172 - buildutils: Replace sintable[] use within Duke's game_misc.cpp with bsin()/bcos(). 2020-11-22 21:18:04 +01:00
Mitchell Richters
95fa3a6f52 - buildutils: Replace sintable[] use within Duke's animatesprites_*.cpp with bsin()/bcos(). 2020-11-22 21:18:03 +01:00
Mitchell Richters
b6e8030307 - buildutils: Replace sintable[] use within Duke's actors_r.cpp with bsin()/bcos(). 2020-11-22 21:18:03 +01:00
Mitchell Richters
abc49fed62 - buildutils: Replace sintable[] use within Duke's actors_d.cpp with bsin()/bcos(). 2020-11-22 21:18:03 +01:00
Mitchell Richters
bf8b1238c6 - buildutils: Replace sintable[] use within Duke's actors.cpp with bsin()/bcos(). 2020-11-22 21:18:03 +01:00
Mitchell Richters
bae4d77427 - buildutils: Replace sintable[] use within Exhumed with bsin()/bcos(). 2020-11-22 21:18:03 +01:00
Mitchell Richters
d6d74c2712 - buildutils: Replace sintable[] use within core with bsin()/bcos(). 2020-11-22 21:18:02 +01:00
Mitchell Richters
32a1796728 - buildutils: Replace sintable[] use within Build with bsin()/bcos(), using bsinf()/bcosf() where appropriate.
* Includes a few header include shuffles to make it all come together.
2020-11-22 21:18:02 +01:00
Mitchell Richters
b2c42d5d03 - buildutils: Replace sintable[] use within Blood with bsin()/bcos().
* Further review of this should be considered as the use of sintable[] for nCos was actually sine and the use of sintable[] for nSin was actually cosine. Preserved math despite the variable names.
2020-11-22 21:18:02 +01:00
Mitchell Richters
cf6188b034 - buildutils: Replace Sin() and Cos() from Exhumed with bsin()/bcos(). 2020-11-22 21:18:02 +01:00
Mitchell Richters
8aa7051f78 - buildutils.h: Replace FSin() from Exhumed with bsinf()/bcosf(). 2020-11-22 21:18:02 +01:00
Mitchell Richters
85bb248309 - binaryangle.h: Extend file with sine/cosine inline helper functions. 2020-11-22 21:18:02 +01:00
Christoph Oelckers
a906067102 - Duke WT: attenuate sound volume when commentaties are playing 2020-11-22 21:14:36 +01:00
Christoph Oelckers
3bd48fb8c5 - Exhumed: Fixed CalcPosVel not initializing the vel parameter.
This caused spurious errors in OpenAL if the passed values were NANs or INFs.
Fixes #183
2020-11-22 20:34:57 +01:00
Christoph Oelckers
182b8023ca - Blood: ported BloodGDX's fix for the double shotgun graphics glitch.
Fixes #114
2020-11-22 20:09:09 +01:00
Christoph Oelckers
2db60ae847 - SW-TD: added a hack to flip an inverted card reader in level 10.
For now this is just inserted into the level loader - it should use more sophisticated checks.
Fixes #173.
2020-11-22 19:47:20 +01:00
Christoph Oelckers
143dd3d2cf - fixed weapon cycling in Exhumed.
The sword was checked for ammo (and failed) and wraparound was not handled.
Fixes #193
2020-11-22 18:59:59 +01:00
Christoph Oelckers
921a7a7166 - RRRA: fixed progression from E1L7 to E2L1 plus a texture related crash.
Fixes #189.
2020-11-22 18:46:20 +01:00
Christoph Oelckers
24c797b7e3 - Duke World Tour: Exiting E1L7 should go back to E1L5.
fixes #187
2020-11-22 18:27:52 +01:00
Christoph Oelckers
dfc2cd8580 - make sure that all of SW's sound function check SoundEnabled().
Fixes #192
2020-11-22 18:16:08 +01:00
Christoph Oelckers
7df20ee047 - RR: Give ammo for the secondary ripsaw mode when picking up the weapon in standard RR, too. 2020-11-22 17:50:38 +01:00
Christoph Oelckers
034ef2290b - RR: screen should not turn green when being attacked with alien poo. 2020-11-22 17:38:07 +01:00
Christoph Oelckers
63d71c120a - Blood: save level stats as JSON. 2020-11-22 13:05:17 +01:00