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 |
|
Christoph Oelckers
|
58642c4d2f
|
- cleaned up the distance checks in operatetripbomb
|
2022-10-14 23:55:31 +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
|
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 |
|
Christoph Oelckers
|
ba044ac2f4
|
- first bunch of wrapping xvel.
|
2022-10-14 23:02:11 +02:00 |
|
Christoph Oelckers
|
0740ccbef1
|
- use PlayerIndex where appropriate.
|
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
|
a98e37b345
|
- handle int_zvel() == 0
|
2022-10-14 22:57:36 +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
|
7e8afd58da
|
- handle 'zvel <' comparisons with constants.
|
2022-10-14 22:53:22 +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
|
bd520e63dd
|
- use float_zvel in a few places.
|
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 |
|
Mitchell Richters
|
d63fb33dd0
|
- Pass DVector2 objects directly through to F2DDrawer::AddLine() and F2DDrawer::AddThickLine() .
* Since all the external code calling through to these methods are built on vectors, makes sense to pass them around by reference.
|
2022-10-14 18:19:04 +02:00 |
|
Mitchell Richters
|
e57ef59900
|
- Minor consistency fix with Duke and SW's automap code.
|
2022-10-14 18:19:03 +02:00 |
|
Mitchell Richters
|
5407de6924
|
- Use MaxSmoothRatio everywhere so refactoring is easier later on.
|
2022-10-14 18:19:03 +02:00 |
|
Mitchell Richters
|
04d20a52c3
|
- Duke: Set both orotscrnang and rotscrnang when being called from a script, since the former is an addition.
|
2022-10-14 18:19:03 +02:00 |
|
Mitchell Richters
|
d427fc3e02
|
- Duke: Slightly tidy up CSTAT_SPRITE_ALIGNMENT_FACING automap code.
|
2022-10-14 18:19:02 +02:00 |
|
Mitchell Richters
|
7d85acac13
|
- Clean up remaining automap interfaces to finish the floatification.
* Even though we pre-calculate the sine/cosine needed in `DrawOverheadMap()`, Duke and SW require the full angle for their more mature automaps.
|
2022-10-14 18:19:02 +02:00 |
|
Christoph Oelckers
|
5e2d3f5c46
|
- deleted unused variables from Duke's DrawAutomapPlayer
|
2022-10-14 18:13:51 +02:00 |
|
Mitchell Richters
|
c2e9e06d2a
|
- Duke: Floatify last part of automap draw code.
|
2022-10-14 18:13:50 +02:00 |
|
Mitchell Richters
|
ccfaa76da4
|
- Duke: Floatify CSTAT_SPRITE_ALIGNMENT_FLOOR |CSTAT_SPRITE_ALIGNMENT_SLOPE automap draw code.
|
2022-10-14 18:13:50 +02:00 |
|
Mitchell Richters
|
6a4812ce48
|
- Duke: Floatify CSTAT_SPRITE_ALIGNMENT_WALL automap draw code.
|
2022-10-14 18:13:49 +02:00 |
|
Mitchell Richters
|
986466de67
|
- Commence updating gi->DrawAutomapPlayer() for floatification, beginning with Duke's CSTAT_SPRITE_ALIGNMENT_FACING code.
|
2022-10-14 18:13:49 +02:00 |
|
Christoph Oelckers
|
01bb7aa9f5
|
removed player_set_int_z
|
2022-10-14 00:06:29 +02:00 |
|
Christoph Oelckers
|
f33ecbc14f
|
- Duke/RR: floatified position stuff in unterwater()
|
2022-10-14 00:06:29 +02:00 |
|
Christoph Oelckers
|
bbdb3379d6
|
- RR: partially floatified movement()
|
2022-10-14 00:06:29 +02:00 |
|