Commit graph

18046 commits

Author SHA1 Message Date
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