Mitchell Richters
8a4601ef8d
- Exhumed: Tidy up nCameraa
.
2022-10-15 12:41:12 +02:00
Mitchell Richters
91c0ff814f
- Exhumed: Tidy up nCamerapan
.
2022-10-15 12:41:12 +02:00
Mitchell Richters
7cbe3564ce
- Exhumed: Repair what looked like a bug with camera Z clamping.
...
* Looked wrong, compared to GDX and confirmed.
2022-10-15 12:40:36 +02:00
Mitchell Richters
36ed1ac1de
- Exhumed: Convert draw code to floating point.
2022-10-15 12:16:53 +02:00
Mitchell Richters
7d5040f560
- Fix all calls to interpolatedangle()
that didn't revert smoothratio back to a float.
2022-10-15 12:16:53 +02:00
Mitchell Richters
f72d42bb8e
- Uplift renderer entry point to DVector3
and provide wrappers for old setups.
2022-10-15 12:16:53 +02:00
Mitchell Richters
056bb9b0cd
- Floatify chase cam code, providing an inline interface for legacy setup.
2022-10-15 12:16:53 +02:00
Mitchell Richters
977d8f8109
- Convert gi->chaseCamPos()
to return a floating point DVector3
object.
2022-10-15 12:16:53 +02:00
Mitchell Richters
5685af33d8
- Exhumed: Remove zbob
from draw code, it's not used at all.
2022-10-15 12:16:53 +02:00
Mitchell Richters
e3bbb60de4
- SW: Test adding Duke's DrawAutomapAlignmentFacing()
code into SW for consistency between the ports.
2022-10-15 12:16:53 +02:00
Mitchell Richters
ab77d77a53
- Optimise automap sector loops in Duke/SW automap code.
2022-10-15 12:16:53 +02:00
Mitchell Richters
db5db7d9b3
- Turn DVector2
rotatepoint()
into an inline using the vector's methods.
2022-10-15 12:16:53 +02:00
Mitchell Richters
18f97c3d7e
- SW: Move player sprite loop out of sector loop, and eliminate goto crap.
2022-10-15 12:16:52 +02:00
Mitchell Richters
f236cc8728
- Consolidate some duplicated automap code between Duke and SW.
2022-10-15 12:16:52 +02:00
Mitchell Richters
ef56d00d78
- Pass automap angle vector as an actual vector.
...
* Also reconfigure setup so that angle requires zero pre-processing or setup in the automap code, have it all handled in `OutAutomapVector()`.
2022-10-15 12:16:52 +02:00
Christoph Oelckers
48c36bd4a2
- SW ladder climbing
2022-10-15 12:16:52 +02:00
Christoph Oelckers
45690a0e23
- cleanup of the DrawLine interface,
2022-10-15 12:10:46 +02:00
Christoph Oelckers
1dcb03e530
- got rid of set_int_bvel
2022-10-15 11:35:38 +02:00
Christoph Oelckers
712d28ff40
- clean out some stuff
2022-10-15 11:35:38 +02:00
Christoph Oelckers
b84158ecec
- Exhumed snake stuff
2022-10-15 11:35:38 +02:00
Christoph Oelckers
486ef8bfc5
- floatify VelFromAngle
2022-10-15 11:35:38 +02:00
Christoph Oelckers
b462c3d998
- consolidated Exhumed’s velocity setters
2022-10-15 11:35:37 +02:00
Christoph Oelckers
6eb18eb3f6
- floatified all move_actor calls in SW
2022-10-15 11:35:37 +02:00
Christoph Oelckers
96297c95aa
vel assignment with fixed point constants
2022-10-15 11:35:37 +02:00
Christoph Oelckers
010fedd049
- 10 more AdjustVelocity calls.
2022-10-15 11:35:37 +02:00
Christoph Oelckers
39109de22f
- consolidation of Blood rotation code.
...
24x the same pattern merged into a subfunction.
2022-10-15 11:35:37 +02:00
Christoph Oelckers
b5c679f228
- got a few more
2022-10-15 11:35:37 +02:00
Christoph Oelckers
4af3f6e731
- comparison with zero replacements
2022-10-15 11:35:37 +02:00
Christoph Oelckers
ac84e3f045
- some simple replacements
2022-10-15 11:35:37 +02:00
Christoph Oelckers
18cc450889
- more easy to replace vel assignments
2022-10-15 11:35:36 +02:00
Christoph Oelckers
5cde04fee7
- cleaned up assignments of random values to vel
2022-10-15 10:33:03 +02:00
Christoph Oelckers
eed7f0806c
- more quick replacements
2022-10-15 10:15:21 +02:00
Christoph Oelckers
3e76d49b6e
- removed the mul vel wrappers
2022-10-15 10:15:21 +02:00
Christoph Oelckers
6fd8dae380
- removed the non-Blood float_* access wrappers
2022-10-15 10:15:21 +02:00
Christoph Oelckers
62ba753585
- remove vel clear wrappers
2022-10-15 10:15:21 +02:00
Christoph Oelckers
b924569755
- started removing trivial vel wrappers
2022-10-15 10:15:20 +02:00
Christoph Oelckers
64e8a369ec
- floatified velocity storage
2022-10-15 10:15:20 +02:00
Christoph Oelckers
f2d89b7609
- refactored actWallBounceVector as well
...
This completes the abstraction of velocity in Blood.
2022-10-15 10:15:20 +02:00
Christoph Oelckers
92532bb007
- eliminated actFloorBounceVector wrapper
2022-10-15 10:14:54 +02:00
Christoph Oelckers
9f235b56f3
- rewrote actFloorBounceVector to avoid reference parameters
2022-10-14 23:55:32 +02:00
Christoph Oelckers
e361abb96d
- added some utilities
2022-10-14 23:55:32 +02:00
Christoph Oelckers
fca2f8c683
- replace all ‚labs‘ with ‚abs‘
2022-10-14 23:55:31 +02:00
Mitchell Richters
4acce612cd
- Take advantage of TVector2<>::Rotated90CW()
in some automap code.
2022-10-14 23:55:31 +02:00
Mitchell Richters
7cef3ac655
- Restore non-vector F2DDrawer::AddLine()
and F2DDrawer::AddThickLine()
interfaces.
2022-10-14 23:55:31 +02:00
Christoph Oelckers
fce956f83e
- move stuff around
2022-10-14 23:55:31 +02:00
Christoph Oelckers
a69bdb3370
- eliminated Blood’s RotatePoint function
2022-10-14 23:55:31 +02:00
Christoph Oelckers
0c146e7ccb
- Unify the velocity vectors of all games
...
spritetype’s former vel fields are only being retained for alternative use - yvel -> yint as generic parameter in Duke and zvel -> inittype for Blood.
2022-10-14 23:55:31 +02:00
Christoph Oelckers
3bac7af313
- simple stuff in blood/actor.cpp
2022-10-14 23:55:31 +02:00
Christoph Oelckers
58642c4d2f
- cleaned up the distance checks in operatetripbomb
2022-10-14 23:55:31 +02:00
Christoph Oelckers
c45ecdae73
- wrapped all velocity access in Blood, except the places where an address of vel is taken
2022-10-14 23:55:30 +02:00
Christoph Oelckers
7a7a2cdb39
- various replacements of vel
2022-10-14 23:55:30 +02:00
Christoph Oelckers
f1d3126435
- vel assignments
2022-10-14 23:55:30 +02:00
Christoph Oelckers
151fc46ef3
- removed unused wrapper.
2022-10-14 23:53:56 +02:00
Christoph Oelckers
994cb47d36
- set_int_bvel_z
2022-10-14 23:52:44 +02:00
Christoph Oelckers
9cbffc998e
- set_int_bvel_y
2022-10-14 23:52:44 +02:00
Christoph Oelckers
761da2b06e
- set_int_bvel_x
2022-10-14 23:52:43 +02:00
Christoph Oelckers
b78d5a95ac
- more add_int_bvel_
2022-10-14 23:52:43 +02:00
Christoph Oelckers
1999340c8a
- add_int_bvel_z
2022-10-14 23:52:43 +02:00
Christoph Oelckers
49d280c665
- add_int_bvel_y
2022-10-14 23:52:43 +02:00
Christoph Oelckers
12e5fd133c
- add_int_bvel_x
2022-10-14 23:52:43 +02:00
Christoph Oelckers
49f0e9c57d
- batch 3 of vel.
2022-10-14 23:52:43 +02:00
Christoph Oelckers
193d20bb4d
- wrapped more xvels
2022-10-14 23:52:43 +02:00
Christoph Oelckers
e3758d6adc
- started wrapping vel
2022-10-14 23:52:42 +02:00
Christoph Oelckers
e7b09dbaac
- renamed vel.
2022-10-14 23:52:42 +02:00
Christoph Oelckers
cb81a50752
- Blood vel wrappers.
2022-10-14 23:52:42 +02:00
Christoph Oelckers
a5a04b1123
- moved Blood's velocity vector to DCoreActor.
2022-10-14 23:52:42 +02:00
Christoph Oelckers
2f7995619e
- removed unused variables in SECTOR_OBJECT
2022-10-14 23:52:42 +02:00
Christoph Oelckers
491b6eb08c
- floatified some angles.
2022-10-14 23:52:42 +02:00
Christoph Oelckers
c443d9ecb7
- floatified parts of InitUzi and InitGrenade.
2022-10-14 23:52:27 +02:00
Christoph Oelckers
d582cedaec
- floatified parts of InitNuke and InitMicro
2022-10-14 23:51:15 +02:00
Christoph Oelckers
80034445b2
- floatified parts of InitRocket and InitBunnyRocket
2022-10-14 23:49:12 +02:00
Christoph Oelckers
8eab80bad2
- floatified parts of InitLaser and InitRail
2022-10-14 23:48:13 +02:00
Christoph Oelckers
b5f13c2a24
- floatified parts of InitShotgun
2022-10-14 23:47:05 +02:00
Christoph Oelckers
ce3d44f3b6
- floatify parts of InitStar
2022-10-14 23:46:00 +02:00
Christoph Oelckers
a9b19943dd
- floatified bob_z and all actor spawns using it.
2022-10-14 23:39:33 +02:00
Christoph Oelckers
83adf5e88a
- floatified PLAYER::Revolve
2022-10-14 23:17:46 +02:00
Christoph Oelckers
cebdc653bb
- removed unused fields from PLAYER.
2022-10-14 23:17:46 +02:00
Christoph Oelckers
1300e76428
- vector assignment simplification
2022-10-14 23:17:46 +02:00
Christoph Oelckers
c3ac42a546
- removed unused PLAYER::up_speed and down_speed variables.
2022-10-14 23:17:46 +02:00
Christoph Oelckers
29d9d02b78
- floatified PLAYER::z_speed.
2022-10-14 23:17:46 +02:00
Christoph Oelckers
203e2c405f
- floatified PLAYER::lv
2022-10-14 23:17:45 +02:00
Christoph Oelckers
6feb187a2a
- floatified lo_step.
2022-10-14 23:17:45 +02:00
Christoph Oelckers
9ba03ac53f
- renamed yvel to yint in Duke.
...
It's never used as velocity, but as an auxiliary parameter so name it appropriately.
2022-10-14 23:17:45 +02:00
Christoph Oelckers
5f4a0cf208
- removed bogus velocity code for RRRA's empty bike and boat.
2022-10-14 23:17:45 +02:00
Christoph Oelckers
9621cd08d2
- use PlayerIndex plus a bit of cleanup.
2022-10-14 23:17:45 +02:00
Christoph Oelckers
45d95ec053
- spr.yvel is gone in Exhumed
2022-10-14 23:13:34 +02:00
Christoph Oelckers
490d4d3555
- set_int_yvel
2022-10-14 23:13:34 +02:00
Christoph Oelckers
b0e67ab88d
- clear_yvel
2022-10-14 23:13:34 +02:00
Christoph Oelckers
f8ba5bb660
- final xvel cleanup.
2022-10-14 23:13:33 +02:00
Christoph Oelckers
9600face4a
- the rest.
2022-10-14 23:13:33 +02:00
Christoph Oelckers
567b20f9ef
- almost the rest.
2022-10-14 23:13:33 +02:00
Christoph Oelckers
ce20bd9c56
- more wraps
2022-10-14 23:13:33 +02:00
Christoph Oelckers
643dda6085
-add_int_xvel(-
2022-10-14 23:13:33 +02:00
Christoph Oelckers
d19e99481d
- add_int_xvel
2022-10-14 23:13:33 +02:00
Christoph Oelckers
33eeb8d9c2
- right shifts
2022-10-14 23:13:33 +02:00
Christoph Oelckers
ec88d1ea6c
- set_int_xvel
2022-10-14 23:13:32 +02:00
Christoph Oelckers
fb1a9881e3
- half done with xvel
2022-10-14 23:13:32 +02:00
Christoph Oelckers
434548a5aa
- more xvel wraps.
2022-10-14 23:13:32 +02:00
Christoph Oelckers
cf90970121
- float_vel wraps
2022-10-14 23:13:32 +02:00
Christoph Oelckers
0aad018796
- second batch of xvel wraps.
2022-10-14 23:13:32 +02:00