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 |
|