Commit graph

18931 commits

Author SHA1 Message Date
Christoph Oelckers
9586a2f16d - floatified aiPodChase 2022-10-25 07:07:01 +02:00
Christoph Oelckers
6b6ab4e81e - floatified innocThinkChase. 2022-10-25 07:07:01 +02:00
Christoph Oelckers
648ff00caf - floatified houndThinkChase. 2022-10-25 07:07:01 +02:00
Christoph Oelckers
71c1840566 - floatified handThinkChase 2022-10-25 07:07:01 +02:00
Christoph Oelckers
21afef19e9 - floatified gillBeastSwimChase. 2022-10-25 07:07:00 +02:00
Christoph Oelckers
5d78c81acb - 11x replacing the same pattern. 2022-10-25 07:07:00 +02:00
Christoph Oelckers
e3cc9879eb - floatified ghostThinkGoto 2022-10-25 07:07:00 +02:00
Christoph Oelckers
d3e8db8861 - floatified ghostThinkTarget 2022-10-25 07:07:00 +02:00
Christoph Oelckers
babb45318f - floatified ghostBlastSeqCallback 2022-10-25 07:07:00 +02:00
Christoph Oelckers
491c5628ff - floatified ghostThrowSeqCallback 2022-10-25 07:07:00 +02:00
Christoph Oelckers
fbf49bc247 - floatified ghostSlashSeqCallback 2022-10-25 07:07:00 +02:00
Christoph Oelckers
2ba68df27f - eliminate int_floorz / int_ceilingz in the backend. 2022-10-25 07:07:00 +02:00
Christoph Oelckers
0655db77b9 - delete set_int_floorz and set_int_ceilingz. 2022-10-25 07:07:00 +02:00
Christoph Oelckers
81456e4d33 - floatified wave parameters for TranslateSector 2022-10-25 07:06:59 +02:00
Christoph Oelckers
12bfd830c9 - removed the wrappers. 2022-10-25 07:06:59 +02:00
Christoph Oelckers
4eeeb00c1b - floatified VDoorBusy 2022-10-25 07:06:59 +02:00
Christoph Oelckers
55dea1d348 - floatified VSpriteBusy 2022-10-25 07:06:59 +02:00
Christoph Oelckers
d96c7c64c7 - floatified VCrushBusy 2022-10-25 07:06:59 +02:00
Christoph Oelckers
b9f192d6ee - floatified plane stuff in ZTranslateSector 2022-10-25 07:06:59 +02:00
Christoph Oelckers
23f2e5a7b2 - use floats for floor/ceiling conditions. 2022-10-25 07:06:59 +02:00
Christoph Oelckers
3b88f7db3e - floatified the variables. 2022-10-25 07:06:58 +02:00
Christoph Oelckers
4114f21323 - added wrapper function for these variables. 2022-10-25 07:06:58 +02:00
Christoph Oelckers
6dbb5a0b8c - renamed 4 fields in XSECTOR 2022-10-25 07:06:58 +02:00
Christoph Oelckers
9c698c6044 - 3 minor changes. 2022-10-25 07:06:58 +02:00
Christoph Oelckers
89cfb87072 - floatified 2 functions in aigarg.cpp 2022-10-25 07:06:58 +02:00
Christoph Oelckers
9d19b61cf9 - 4 functions in aicult.cpp 2022-10-25 07:06:58 +02:00
Christoph Oelckers
64619478fa - floatified 2 functions in aicaleb.cpp 2022-10-25 07:06:58 +02:00
Christoph Oelckers
1c23a2aa32 - floatified SeqAttackCallback 2022-10-25 07:06:58 +02:00
Christoph Oelckers
37ca106417 - floatified gargThinkTarget 2022-10-25 07:06:58 +02:00
Christoph Oelckers
8d18c005de - floatified ThrowSSeqCallback 2022-10-25 07:06:57 +02:00
Christoph Oelckers
a7b23fe9ea - floatified BlastSSeqCallback 2022-10-25 07:06:57 +02:00
Christoph Oelckers
8b2ddfadf6 - restore code as it was, buggy as it may be. 2022-10-25 07:06:57 +02:00
Christoph Oelckers
0399cf17fe - floatified cerberusBurnSeqCallback2 2022-10-25 07:06:57 +02:00
Christoph Oelckers
6c77d1d5d3 - floatified cerberusBiteSeqCallback 2022-10-25 07:06:57 +02:00
Christoph Oelckers
ca1e9efbea - 2 functions in aicaleb.cpp. 2022-10-25 07:06:57 +02:00
Christoph Oelckers
5e2e53d684 - more CanMove fixes, plus salvaging the rest of the old commit.
CanMove twice uses the texel-based nRange as a Build-unit value, this caused strange problems with the initial floatification.
2022-10-25 07:06:57 +02:00
Christoph Oelckers
138ba53ace - fix the HitScan call in CanMove.
This was picking an unexpected overload because the second parameter was a float but with an integer-range value.
2022-10-25 07:06:57 +02:00
Mitchell Richters
180d020620 - Blood: Floatified CanMove(). 2022-10-25 07:06:56 +02:00
Christoph Oelckers
2af18ec277 - remap all easy HitScan calls with zero range to the new base function. 2022-10-25 07:06:56 +02:00
Christoph Oelckers
6b579156aa - Blood HitScan fixes
- changed target parameter of hitscan to a double to simplify its handling.
- HitScan's nRange parameter may be an int, but it is in texel units, not Build units.
2022-10-25 07:06:56 +02:00
Christoph Oelckers
1d8dccca04 - floatified HitScan and use a proper vector calculation for hitscangoal.
This should be on the trace, not use a totally different direction.
2022-10-25 07:06:56 +02:00
Christoph Oelckers
2fe5655394 - added 'Resized()' to TVector2 and fixed its const state for all vectors. 2022-10-25 07:06:56 +02:00
Christoph Oelckers
a4ec938526 - renamed HitScan to HitScan_ as a refactoring aid. 2022-10-25 07:06:56 +02:00
Christoph Oelckers
049ced83f6 - floatified cerberusBurnSeqCallback 2022-10-25 07:06:56 +02:00
Mitchell Richters
2baf35ed2d - Slightly tidy up PlayerHorizon::applyinput(). 2022-10-25 07:06:55 +02:00
Mitchell Richters
1fb85b0a8d - Use deltaangle() in a few places with our DAngle horizon. 2022-10-25 07:06:55 +02:00
Mitchell Richters
1e19b32b59 - Add CVAR to allow unclamping the player's view pitch. 2022-10-25 07:06:55 +02:00
Mitchell Richters
8d3f3c6025 - Cut over to DAngle from fixedhoriz and remove the latter. 2022-10-25 07:06:55 +02:00
Mitchell Richters
0d8b2ba59d - Tidy up all constants in gameinput.cpp and convert to native degrees/pitch where appropriate. 2022-10-25 07:06:55 +02:00
Mitchell Richters
41bbbd9df5 - Remove all remaining uses of fixedhoriz::asbuild(). 2022-10-25 07:06:55 +02:00