Christoph Oelckers
080d6969ec
- Blood: floatified some smaller parts in actor.cpp
2022-10-25 07:06:49 +02:00
Christoph Oelckers
b29000c9e1
- this wasn't really a fixed point value - just some scaling factor, so it shouldn't use FixedToFloat.
2022-10-25 07:06:48 +02:00
Christoph Oelckers
c94a361788
- deleted int_hitpos.
2022-10-25 07:06:48 +02:00
Christoph Oelckers
0ef9527209
- eliminated the last uses of int_hitpos.
2022-10-25 07:06:48 +02:00
Christoph Oelckers
a655b3835f
- like actFireVector, the direction vector needs to have unit length in 2D for actFireMissile as well.
...
May later be turned into a 3D unit vector for pitch correct missile movement.
2022-10-25 07:06:48 +02:00
Christoph Oelckers
5e4d45f6b8
- floatified actFireMissile
2022-10-25 07:06:48 +02:00
Christoph Oelckers
a070342f0c
- floatified actFireThing
2022-10-25 07:06:48 +02:00
Christoph Oelckers
861423248f
- Backend update from GZDoom.
...
Mainly fixing CVar setup.
2022-10-25 07:03:25 +02:00
Christoph Oelckers
427e41d388
- allow 'sw...' cheats from the chat in Shadow Warrior.
2022-10-24 23:30:16 +02:00
Christoph Oelckers
40cb2116e0
- restore Duke's cheats.
2022-10-24 23:30:09 +02:00
Christoph Oelckers
9342b7b1a4
- Duke/RR: fixed move_player smart action.
2022-10-24 22:09:34 +02:00
Christoph Oelckers
33002b37a9
- RR: fixed randomization for hitscan weapons.
2022-10-24 21:26:41 +02:00
Christoph Oelckers
f9d8763ed5
- Exhumed: fixed wasp's death animation
2022-10-24 20:56:41 +02:00
Christoph Oelckers
c2e5bdbdce
- Exhumed: fixed grenade bouncing.
2022-10-24 20:41:15 +02:00
alexey.lysiuk
2df33e7d8a
- removed obsolete defaults from Cocoa backend
...
This legacy code from the time of exclusive fullscreen mode began to crash after changes in console variables handling
2022-10-24 10:26:57 +03:00
Christoph Oelckers
38998f36b5
- minor int_* replacements in the backend.
2022-10-23 18:47:17 +02:00
Christoph Oelckers
a409e03570
- deleted set_int_ang
2022-10-23 18:47:17 +02:00
Christoph Oelckers
5fa27c2a72
- replaced the last set_int_ang calls.
2022-10-23 18:47:17 +02:00
Christoph Oelckers
4500fe6325
- Blood: replaced all calls to randomAngle with RandomAngle
2022-10-23 18:47:17 +02:00
Christoph Oelckers
a8cc6c1189
- floatified angles in useSectorWindGen plus two other set_int_ang.
2022-10-23 18:47:17 +02:00
Christoph Oelckers
a618161387
- floatified nnExtSpawnDude.
2022-10-23 18:47:16 +02:00
Christoph Oelckers
0eacc8e68e
- add_int_z is gone.
2022-10-23 18:47:16 +02:00
Christoph Oelckers
8505757d74
- floatified most of ProcessMotion.
2022-10-23 18:47:16 +02:00
Christoph Oelckers
a90eb853d5
- floatified fxBouncingSleeve and fxPodBloodSplat
2022-10-23 18:47:16 +02:00
Christoph Oelckers
e2d0cbf772
- allow entering cheats in the chat editor without using '#'.
2022-10-23 18:46:18 +02:00
Christoph Oelckers
de70e802ec
- downgraded all LGPL3 license headers in the backend to LGPL2.
...
This had already been agreed by all involved authors, but apparently not all files were changed accordingly.
2022-10-23 18:46:17 +02:00
Christoph Oelckers
c23d23ea60
- Blood: floatified fxBloodBits
2022-10-22 20:41:27 +02:00
Christoph Oelckers
fdb31fc2cc
- missing declaration.
2022-10-22 20:41:27 +02:00
Christoph Oelckers
f1514bbc52
- alternative math for slope planes in hitscan.
2022-10-22 20:41:27 +02:00
Christoph Oelckers
74cf9a2ff2
- hitscan fully rewritten.
...
No traces of Build code left here! :)
2022-10-22 20:41:27 +02:00
Christoph Oelckers
babbad83af
- fixed FAFhitscan to not pass the hitpos back into hitscan.
...
This will overwrite the scan's start and cause the function to malfunction.
2022-10-22 20:41:27 +02:00
Christoph Oelckers
2991bc752b
- split out the pure math stuff from gamefuncs.h into a utility header in 'common'.
...
Also did a bit of reshuffling on gamefuncs.h to group content better.
2022-10-22 20:41:26 +02:00
Christoph Oelckers
116ba340b2
- further hitscan overhaul.
...
* added floating point sprite intersect handlers for all sprite types. Hopefully this code is more understandable than Build's original variant.
* cleaned up intersectSprite a bit and moved the geometry math into the utility header.
* made some minor corrections to neartag.
* moved SW's testpointinquad to the backend because it was useful here.
2022-10-22 20:41:26 +02:00
Mitchell Richters
6ca42dc08c
- Slightly clean up calcChaseCamPos()
.
2022-10-22 20:41:26 +02:00
Christoph Oelckers
6c6fdaf332
- floatified actSpawnDude and removed its unused last parameter.
...
All callers left it at 0.
2022-10-22 20:41:26 +02:00
Christoph Oelckers
aa0b6bb077
- changed parameters in a few HitScan calls in condCheckSprite
2022-10-22 20:41:26 +02:00
Christoph Oelckers
fc011e847f
- Blood: floatified actCheckTraps
2022-10-22 20:41:26 +02:00
Christoph Oelckers
8d1938b363
- Blood: cleaned up various angle and distance checks in AI code
2022-10-22 20:41:26 +02:00
Christoph Oelckers
e6cfb165f8
- converted all remaining add_int_bvel* calls.
2022-10-22 20:41:26 +02:00
Christoph Oelckers
068feae64e
- floatified actFireVector.
2022-10-22 20:41:25 +02:00
Christoph Oelckers
5c6cac49c8
- changed a few vel setter calls.
2022-10-22 20:41:25 +02:00
Christoph Oelckers
e00eda6cb8
- Blood: floatified VectorScan.
...
The texture checks in here definitely need some more verification, though.
Doing a quick test looked ok, but I do not think this was enough.
2022-10-22 20:41:25 +02:00
Christoph Oelckers
3b76de7b7d
- Blood: renamed actFireVector's arguments.
...
No way this can be refactored with names like a2, a3, a4 etc...
2022-10-22 20:41:25 +02:00
Christoph Oelckers
d1d68f1570
- handled the last remaining set_int_bvel* calls in nnexts.cpp.
2022-10-22 20:41:25 +02:00
Christoph Oelckers
88feac4272
- floatified useVelocityChanger
2022-10-22 20:41:25 +02:00
Christoph Oelckers
044b9e555b
- floatified a bit more of nnExtProcessSuperSprites
2022-10-22 20:41:25 +02:00
Christoph Oelckers
fd5bbbedaf
- floatified aiPatrolMove
2022-10-22 20:40:42 +02:00
Mitchell Richters
0993799967
- Blood: Use sprite angle radians in GameInterface::UpdateSounds()
.
2022-10-22 19:45:10 +02:00
Mitchell Richters
633fb01487
- Blood: Rename some weapon function variables to give us half a chance of refactoring it.
2022-10-22 19:45:10 +02:00
Mitchell Richters
cea0e74299
- Blood: Floatified remaining bits of playerProcess()
.
2022-10-22 19:45:10 +02:00