Christoph Oelckers
|
c511e5dca9
|
- eliminated int_xvel
|
2022-10-22 11:33:16 +02:00 |
|
Christoph Oelckers
|
eb40f78bd1
|
- floatified move_d
|
2022-10-22 11:33:16 +02:00 |
|
Christoph Oelckers
|
8d99277b87
|
- remaining add_int_ang calls.
|
2022-10-22 11:33:15 +02:00 |
|
Christoph Oelckers
|
54346d9398
|
- eliminate all int_ang calls, except the one setting player.oa.
|
2022-10-22 11:33:15 +02:00 |
|
Christoph Oelckers
|
2ea426be38
|
- handle several int_angle calls.
|
2022-10-22 11:33:15 +02:00 |
|
Christoph Oelckers
|
e42036d43b
|
- only use the floatified version of findplayer.
|
2022-10-22 11:33:14 +02:00 |
|
Christoph Oelckers
|
671e75ba5f
|
- eliminate the last int_zvel call
|
2022-10-22 09:34:16 +02:00 |
|
Christoph Oelckers
|
5ccefcb77b
|
- first round of CreateActor calls.
|
2022-10-22 09:34:15 +02:00 |
|
Christoph Oelckers
|
13dd7260f5
|
- handle all remaining set_int_xvel and set_int_zvel.
|
2022-10-22 09:34:15 +02:00 |
|
Christoph Oelckers
|
42f179f675
|
- GreenSlime stuff
|
2022-10-22 09:34:15 +02:00 |
|
Christoph Oelckers
|
2e947fded3
|
- trivial changes
|
2022-10-22 09:34:14 +02:00 |
|
Christoph Oelckers
|
7ee620628d
|
- floatified handle_se24
|
2022-10-22 09:34:13 +02:00 |
|
Christoph Oelckers
|
062e533b81
|
- floatified hitasprite's callers.
|
2022-10-22 09:34:13 +02:00 |
|
Christoph Oelckers
|
4dfba60d99
|
- eliminated all ldist calls outside the weapon code.
|
2022-10-21 00:00:08 +02:00 |
|
Christoph Oelckers
|
a226a847bd
|
- fixed warnings
|
2022-10-21 00:00:06 +02:00 |
|
Mitchell Richters
|
2081e270cd
|
- Duke: Fix bad setup in move_d() that stopped enforcer working properly in E3L1.
* Merge with or above `- eliminated all of add_int_zvel.`.
|
2022-10-21 00:00:05 +02:00 |
|
Christoph Oelckers
|
1814274124
|
- eliminated all of add_int_zvel.
|
2022-10-21 00:00:05 +02:00 |
|
Christoph Oelckers
|
a48ebc51a6
|
- This makes no sense either way…
|
2022-10-21 00:00:05 +02:00 |
|
Christoph Oelckers
|
3e511f33b8
|
- movetripbomb and movecrack
|
2022-10-21 00:00:04 +02:00 |
|
Christoph Oelckers
|
facedb6325
|
- floatified movesprite_ex
|
2022-10-21 00:00:04 +02:00 |
|
Christoph Oelckers
|
829d06790f
|
- handle the remaining movesprite_ex calls
|
2022-10-21 00:00:04 +02:00 |
|
Christoph Oelckers
|
0432930e5b
|
- converted all dist() calls to vector math and deleted the utilities
|
2022-10-21 00:00:04 +02:00 |
|
Christoph Oelckers
|
2bcc552ce0
|
- replace FireProj struct with a second temp_pos vector
We’re going to need this anyway for some SE’s.
|
2022-10-21 00:00:04 +02:00 |
|
Christoph Oelckers
|
f6d06b1326
|
- simple replacements in actor code
|
2022-10-21 00:00:03 +02:00 |
|
Christoph Oelckers
|
021f7062d1
|
- ported all simple EGS calls to CreateActor
|
2022-10-21 00:00:02 +02:00 |
|
Christoph Oelckers
|
dafc1ff2d2
|
- spawn coordinate in guts
|
2022-10-21 00:00:02 +02:00 |
|
Christoph Oelckers
|
6bd97e312d
|
- cleanup of the wall hit checks in hitradius
Yes, the z-check was indeed bad.
|
2022-10-21 00:00:02 +02:00 |
|
Christoph Oelckers
|
1d7f2c81b6
|
- fixed position backup for trip bombs.
|
2022-10-21 00:00:02 +02:00 |
|
Christoph Oelckers
|
38a8e15ff9
|
- floatified most of movetripbomb and ovel
|
2022-10-21 00:00:02 +02:00 |
|
Christoph Oelckers
|
1a64d18349
|
- floatified RR hitscan teleporter stuff and other minor things.
|
2022-10-20 23:08:55 +02:00 |
|
Christoph Oelckers
|
6482fefeb3
|
- 3x add_int_z.
|
2022-10-20 22:25:10 +02:00 |
|
Christoph Oelckers
|
4196195b89
|
- floatified handle_se25
|
2022-10-20 22:25:09 +02:00 |
|
Christoph Oelckers
|
471f64cf72
|
- fixes for player velocity.
|
2022-10-20 00:48:08 +02:00 |
|
Christoph Oelckers
|
a847b23e7c
|
- made player.vel a real float vector with proper value range.
|
2022-10-20 00:48:07 +02:00 |
|
Christoph Oelckers
|
417dc7c330
|
- floatified gs.gravity and all relations to player.vel.
|
2022-10-20 00:47:32 +02:00 |
|
Christoph Oelckers
|
b46b087e0c
|
- first round of vel refactoring.
VEL_FACTOR is used as a marker that later can be quickly removed once the data type gets changed over.
|
2022-10-20 00:47:19 +02:00 |
|
Christoph Oelckers
|
50a9ca49f3
|
- floatified player_struct::hitang
|
2022-10-20 00:33:31 +02:00 |
|
Christoph Oelckers
|
a5652655db
|
- floatified gs.playerfriction
|
2022-10-20 00:20:41 +02:00 |
|
Christoph Oelckers
|
477120923f
|
- made player.vel and gs.playerfriction floating point.
No change in value range yet, but having them as floats now allows easier refactoring.
|
2022-10-20 00:20:40 +02:00 |
|
Christoph Oelckers
|
8171927c2a
|
- renamed player_struct::vel
|
2022-10-20 00:19:56 +02:00 |
|
Christoph Oelckers
|
03a0eb7284
|
- floatified and consolidated handle_se29.
|
2022-10-20 00:19:56 +02:00 |
|
Christoph Oelckers
|
23c529589e
|
- eliminated add_int_xvel
|
2022-10-19 18:26:16 +02:00 |
|
Christoph Oelckers
|
3898e2fa4c
|
- floatified handle_se06 (both variants)
|
2022-10-18 20:02:29 +02:00 |
|
Christoph Oelckers
|
4f9718e8a8
|
- added velocity checks when attempting to dive or surface.
This could misbehave at low velocities that could be misinterpreted as a boundary crossing due to the missing check for the movement direction.
|
2022-10-18 19:59:07 +02:00 |
|
Christoph Oelckers
|
b467e6c6cf
|
- handled a few easy to change distance calculations and nearby assignments.
|
2022-10-18 19:36:25 +02:00 |
|
Christoph Oelckers
|
901728d88f
|
- int_vel stuff with constants.
|
2022-10-18 19:31:11 +02:00 |
|
Christoph Oelckers
|
eaf8a8ccca
|
- some minor random changes.
|
2022-10-18 19:31:11 +02:00 |
|
Christoph Oelckers
|
3e36b5627b
|
- wrap clipdist << 2
|
2022-10-17 17:03:52 +02:00 |
|
Christoph Oelckers
|
4df1578064
|
- a few random wrapper removals in Duke
|
2022-10-15 12:42:30 +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
|
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
|
9621cd08d2
|
- use PlayerIndex plus a bit of cleanup.
|
2022-10-14 23:17:45 +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
|
0aad018796
|
- second batch of xvel wraps.
|
2022-10-14 23:13:32 +02:00 |
|
Christoph Oelckers
|
ba044ac2f4
|
- first bunch of wrapping xvel.
|
2022-10-14 23:02:11 +02:00 |
|
Christoph Oelckers
|
36f109502d
|
- use clear_xvel wrapper.
|
2022-10-14 23:02:11 +02:00 |
|
Christoph Oelckers
|
a006482c07
|
- this concludes all trivial int_zvel replacements.
|
2022-10-14 22:57:37 +02:00 |
|
Christoph Oelckers
|
56e5388150
|
- handle 'zvel >' comparisons with constants.
|
2022-10-14 22:55:27 +02:00 |
|
Christoph Oelckers
|
07bac24234
|
- quickly got rid of a significant bunch of int_zvel calls.
Mapping to float_zvel what could be done with search and replace.
|
2022-10-14 20:31:57 +02:00 |
|
Christoph Oelckers
|
999cd16b24
|
- use clear_zvel
|
2022-10-14 20:31:57 +02:00 |
|
Christoph Oelckers
|
8946a66350
|
- handle zvel multiplications with a wrapper.
This completes wrapping of zvel.
|
2022-10-14 20:31:56 +02:00 |
|
Christoph Oelckers
|
231107921e
|
- handle a few more operators
|
2022-10-14 20:31:56 +02:00 |
|
Christoph Oelckers
|
588af5aa71
|
- add_int_zvel with -
|
2022-10-14 20:31:56 +02:00 |
|
Christoph Oelckers
|
8bfedc327f
|
- add_int_zvel
|
2022-10-14 20:31:56 +02:00 |
|
Christoph Oelckers
|
6ddfd8e97a
|
- set_int_zvel
|
2022-10-14 20:31:55 +02:00 |
|
Christoph Oelckers
|
70d0d0622b
|
- wrapped 0 assignments to zvel
|
2022-10-14 20:31:55 +02:00 |
|
Christoph Oelckers
|
a9d96864d3
|
- more zvel wrapping
|
2022-10-14 20:31:55 +02:00 |
|
Christoph Oelckers
|
3f7b423a4a
|
- zvel wrapping, part 1.
|
2022-10-14 20:31:55 +02:00 |
|
Christoph Oelckers
|
785575604b
|
- no need to use int_delta when all we want is the angle.
|
2022-10-13 22:54:43 +02:00 |
|
Christoph Oelckers
|
6ce01e24d2
|
- renamed walltype::delta and walltype::center
|
2022-10-13 22:54:42 +02:00 |
|
Christoph Oelckers
|
ee41cda31e
|
- Duke: floatified pyoff
|
2022-10-13 22:54:42 +02:00 |
|
Christoph Oelckers
|
06e86735fc
|
- use temp_pos instead of maintaining yet another variable for FIREBALL
|
2022-10-13 20:58:13 +02:00 |
|
Christoph Oelckers
|
559c24fa92
|
- 3 simple set_int_pos replacements
|
2022-10-13 20:58:12 +02:00 |
|
Christoph Oelckers
|
5f93ba9053
|
- use temp_pos for TRIPBOMB and SE26
|
2022-10-13 20:42:29 +02:00 |
|
Christoph Oelckers
|
cceecb4ab6
|
- use ToVector where appropriate
|
2022-10-13 20:41:54 +02:00 |
|
Christoph Oelckers
|
0c757ff96a
|
- use temp_angle for TRIPBOMB’s saved angle
|
2022-10-13 20:41:14 +02:00 |
|
Christoph Oelckers
|
ae0640b1ca
|
- floatify pos in movesprite_ex_d
|
2022-10-13 20:23:52 +02:00 |
|
Christoph Oelckers
|
23bd9918af
|
- pass a DVector3 to updatesectorneighbor
|
2022-10-13 19:59:15 +02:00 |
|
Christoph Oelckers
|
25949ce6ab
|
- gut stuff
|
2022-10-13 00:59:00 +02:00 |
|
Christoph Oelckers
|
3d29c8f3ad
|
- floatified position in checkhitwall
|
2022-10-13 00:59:00 +02:00 |
|
Christoph Oelckers
|
e26d6aec14
|
- 3* EGS->CreateActor
|
2022-10-12 22:10:37 +02:00 |
|
Christoph Oelckers
|
f269ceff64
|
slope functions with position vectors
|
2022-10-12 22:10:37 +02:00 |
|
Christoph Oelckers
|
a5a3669238
|
- eliminated the SetActor/Z function receiving a vec3_t pointer.
The only one left is the one with a DVector3 now.
|
2022-10-12 22:10:36 +02:00 |
|
Christoph Oelckers
|
00436bfdac
|
- eliminated one UpdateActor pverload.
|
2022-10-12 22:10:36 +02:00 |
|
Mitchell Richters
|
b804d7fe15
|
- Duke: Fix bad setups when calling cansee() . Fixes issues with pigcop on kerb in E2L1.
|
2022-10-11 18:07:40 +02:00 |
|
Christoph Oelckers
|
113980ca8e
|
- cansee in Duke
|
2022-10-11 18:05:15 +02:00 |
|
Christoph Oelckers
|
e76dfa5d3c
|
- GetActor pos replacement
|
2022-10-10 17:37:19 +02:00 |
|
Christoph Oelckers
|
f13d9892dc
|
- trivial wrapper replacements in Duke
|
2022-10-09 08:21:53 +02:00 |
|
Christoph Oelckers
|
93150d9e27
|
- partial floatification of movetransports_d
|
2022-10-09 08:21:52 +02:00 |
|