Mitchell Richters
|
599a375d67
|
- Rename DCoreActor::interpolatedangle() to DCoreActor::interpolatedyaw()
|
2022-12-11 18:41:59 +01:00 |
|
Mitchell Richters
|
175b182805
|
- Invert rotscrnang so it rolls forward, consistent with all other angles.
|
2022-12-11 18:41:58 +01:00 |
|
Mitchell Richters
|
850c988dfa
|
- Wrap access to previous yaw.
|
2022-12-11 18:41:57 +01:00 |
|
Mitchell Richters
|
be466fec8d
|
- Wrap access to current yaw.
|
2022-12-11 18:41:57 +01:00 |
|
Mitchell Richters
|
b9f5bb71cc
|
- Merge PlayerHorizon and PlayerAngle structs into PlayerAngles struct.
|
2022-12-11 18:41:56 +01:00 |
|
Mitchell Richters
|
f305fbb370
|
- Rename PlayerAngle getters in preparation for replacement work.
|
2022-12-11 18:41:55 +01:00 |
|
Mitchell Richters
|
50cf22ec53
|
- Rename PlayerAngle::oang in preparation for replacement work.
|
2022-12-11 18:41:55 +01:00 |
|
Mitchell Richters
|
bd063de5f5
|
- Rename PlayerAngle::ang in preparation for replacement work.
|
2022-12-11 18:41:54 +01:00 |
|
Mitchell Richters
|
2e0b9490e1
|
- Change spritetypebase::angle to a DRotator named Angles .
* Major pre-requisite for the next steps I'm undertaking, let's get it into the branch now.
|
2022-12-11 18:41:52 +01:00 |
|
Mitchell Richters
|
d1c5f9516f
|
- Duke: Remove player_struct::posoldAdd() and player_struct::posoldGet() .
|
2022-12-11 18:41:44 +01:00 |
|
Mitchell Richters
|
66a08a26e8
|
- Duke: Remove player_struct::posoldX() , player_struct::posoldY() , and player_struct::posoldXY() .
|
2022-12-11 18:41:44 +01:00 |
|
Mitchell Richters
|
27be72c7ec
|
- Duke: Remove player_struct::posGet() .
|
2022-12-11 18:41:43 +01:00 |
|
Mitchell Richters
|
b42672dcf9
|
- Duke: Remove player_struct::posZget() .
|
2022-12-11 18:41:43 +01:00 |
|
Mitchell Richters
|
b0c95f69c5
|
- Duke: Wrap calls that get player_struct::PlayerOldPosition .
|
2022-12-11 18:41:41 +01:00 |
|
Mitchell Richters
|
fa16d5d344
|
- Duke: Wrap calls to player_struct::PlayerOldPosition.XY() .
|
2022-12-11 18:41:40 +01:00 |
|
Mitchell Richters
|
a3b1ab10fe
|
- Duke: Wrap calls that get player_struct::PlayerNowPosition .
|
2022-12-11 18:41:39 +01:00 |
|
Mitchell Richters
|
25e6c4ecf8
|
- Duke: Wrap calls that get player_struct::PlayerNowPosition.Z .
|
2022-12-11 18:41:39 +01:00 |
|
Mitchell Richters
|
4b7d2fcfcc
|
- Duke: Rename player's opos to something identifiable.
|
2022-12-11 18:41:38 +01:00 |
|
Mitchell Richters
|
4aa63b5446
|
- Duke: Rename player's pos to something identifiable.
|
2022-12-11 18:41:38 +01:00 |
|
Mitchell Richters
|
ef52694365
|
- Improved crosshair drawing that factor's in look_ang better I've had stashed away for a little bit.
|
2022-11-30 10:03:52 +01:00 |
|
Christoph Oelckers
|
ed4f49ac86
|
- fixed sound code for backend update.
|
2022-11-24 17:46:39 +01:00 |
|
Christoph Oelckers
|
51768439a9
|
- started removing wrappers. ScaleX() and ScaleY() done.
No manual changes in here.
|
2022-10-30 16:51:31 +01:00 |
|
Christoph Oelckers
|
2a4483e860
|
- all remaining repeats in Duke except spawn_d and spawn_r
|
2022-10-30 16:51:27 +01:00 |
|
Christoph Oelckers
|
dd3346cbc5
|
- mostly comparisons and code surrounding them
|
2022-10-30 16:51:26 +01:00 |
|
Christoph Oelckers
|
2e947fded3
|
- trivial changes
|
2022-10-22 09:34:14 +02:00 |
|
Mitchell Richters
|
ea3ca4a4ea
|
- Duke: Tidy up old multiplayer variables to modern standards.
|
2022-10-16 10:59:04 +02:00 |
|
Mitchell Richters
|
01d185dc6b
|
- Floatify smoothratio for DrawOverheadMap() .
|
2022-10-15 13:32:03 +02:00 |
|
Mitchell Richters
|
45d4d3e41a
|
- Eliminate __interpvalue() and clean up Q16.16 smoothratio values where it made sense to do so.
* Also eliminates a now empty header.
|
2022-10-15 13:32:02 +02:00 |
|
Mitchell Richters
|
f02035b15a
|
- Eliminate __interpvaluef() and clean up Q16.16 smoothratio values where it made sense to do so.
|
2022-10-15 13:32:01 +02:00 |
|
Mitchell Richters
|
74167e1a7c
|
- Remove interpolators for TVector and TAngle objects, replacing with single generic version.
|
2022-10-15 13:32:01 +02:00 |
|
Mitchell Richters
|
06e772b44b
|
- Rename interpolatedvalue() in preparation for replacement.
|
2022-10-15 13:32:01 +02:00 |
|
Mitchell Richters
|
7d5040f560
|
- Fix all calls to interpolatedangle() that didn't revert smoothratio back to a float.
|
2022-10-15 12:16:53 +02:00 |
|
Mitchell Richters
|
ab77d77a53
|
- Optimise automap sector loops in Duke/SW automap code.
|
2022-10-15 12:16:53 +02:00 |
|
Mitchell Richters
|
18f97c3d7e
|
- SW: Move player sprite loop out of sector loop, and eliminate goto crap.
|
2022-10-15 12:16:52 +02:00 |
|
Mitchell Richters
|
f236cc8728
|
- Consolidate some duplicated automap code between Duke and SW.
|
2022-10-15 12:16:52 +02:00 |
|
Mitchell Richters
|
ef56d00d78
|
- Pass automap angle vector as an actual vector.
* Also reconfigure setup so that angle requires zero pre-processing or setup in the automap code, have it all handled in `OutAutomapVector()`.
|
2022-10-15 12:16:52 +02:00 |
|
Mitchell Richters
|
4acce612cd
|
- Take advantage of TVector2<>::Rotated90CW() in some automap code.
|
2022-10-14 23:55:31 +02:00 |
|
Christoph Oelckers
|
0aad018796
|
- second batch of xvel wraps.
|
2022-10-14 23:13:32 +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
|
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 |
|
Mitchell Richters
|
4d04a4dd3a
|
- Floatified automap's gZoom .
* Also use the global directly in automap functions instead of passing it around as function variables.
|
2022-10-13 00:59:04 +02:00 |
|
Mitchell Richters
|
f5116dd787
|
- Pass a DAngle through to all the automap code.
|
2022-10-13 00:59:04 +02:00 |
|