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
|
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
|
1ba20c7dce
|
- wrapped most clipdist assignments
|
2022-10-17 17:03:53 +02:00 |
|
Christoph Oelckers
|
ef47040630
|
- renaming stuff for search purposes
|
2022-10-17 17:03:53 +02:00 |
|
Christoph Oelckers
|
28a3a8e314
|
- wrapped all literal assignments to clipdist - part 1
|
2022-10-17 17:03:52 +02:00 |
|
Christoph Oelckers
|
6b5cbac96a
|
- consolidate common formula
|
2022-10-17 17:03:52 +02:00 |
|
Christoph Oelckers
|
7dab26f04d
|
- handle several movesprite_ex calls.
|
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
|
9f9858d8f4
|
- handle remaining zvel comparisons.
|
2022-10-14 22:57:36 +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
|
33a3a36da1
|
- floatify pos in movesprite_ex_r
|
2022-10-13 20:23:52 +02:00 |
|