Mitchell Richters
|
d329328191
|
- Rename PlayerAngles::RenderAngles to CameraAngles .
* Better conveys what it is and separates it from the already established `getRender*()` methods around the place.
* Sorry Simon!
|
2023-03-17 14:20:36 +11:00 |
|
Mitchell Richters
|
0dba1af7c0
|
- Move canslopetilt test for PlayerAngles::doViewPitch() .
|
2023-03-15 16:36:56 +11:00 |
|
Mitchell Richters
|
a90665732c
|
- Clean up other PlayerAngles interfaces for consistency.
|
2023-03-14 21:45:38 +11:00 |
|
Mitchell Richters
|
62561d863e
|
- Tidy up PlayerAngles::doPitchKeys() interface by passing the whole sync packet through.
|
2023-03-14 21:45:37 +11:00 |
|
Mitchell Richters
|
c1f52b1137
|
- Adjust PlayerAngles::doViewPitch() so that view pitch always resets to 0 upon enabling mouse aiming.
|
2023-03-14 21:45:36 +11:00 |
|
Mitchell Richters
|
18ef460a99
|
- Tidy up interface for PlayerAngles::doViewPitch() since we have internal access to the player's actor.
|
2023-03-14 21:45:36 +11:00 |
|
Mitchell Richters
|
1938efabe6
|
- Fix bad return in scaletozero() from 924b601199 .
|
2023-02-05 08:27:44 +11:00 |
|
Mitchell Richters
|
924b601199
|
- Change scaletozero() to return true when back at 0 to save callers having to test angle's signum again.
|
2023-02-04 19:01:01 +11:00 |
|
Mitchell Richters
|
30de9c1922
|
- Factor in view pitch when clamping player's actor pitch.
|
2023-02-04 17:05:19 +11:00 |
|
Mitchell Richters
|
991ef5c27f
|
- Minor input tidy-up.
|
2023-02-04 17:05:18 +11:00 |
|
Mitchell Richters
|
6e4e2b04eb
|
- Fix pitch direction for controller input.
|
2022-12-15 08:42:43 +11:00 |
|
Mitchell Richters
|
ba3e8a9842
|
- Change most input constants to be doubles, and not DAngle objects.
* These are base scales that when divided by the game's ticrate, become degrees of angle. Too confusing...
* 3x genuine degree values remain.
|
2022-12-11 19:43:56 +01:00 |
|
Mitchell Richters
|
2c592405fa
|
- Separate pitch/yaw key input into separate functions and apply from the ticker.
|
2022-12-11 19:43:56 +01:00 |
|
Mitchell Richters
|
968d0ae0d2
|
- Implement new scaled angle change setup and remove enforcement of synchronised input.
|
2022-12-11 19:43:55 +01:00 |
|
Mitchell Richters
|
bb1113c251
|
- Remove the whole angle locking concept, we can just force synchronised input instead which is cleaner.
|
2022-12-11 18:42:01 +01:00 |
|
Mitchell Richters
|
6c0493868e
|
- Implement new method for applying scaled angle changes.
* This method works more accurately to how an angle change would occur under interpolated circumstances.
|
2022-12-11 18:42:01 +01:00 |
|
Mitchell Richters
|
abdeeac205
|
- Rework PlayerAngles::doViewPitch() to apply at ticrate like PlayerAngles::doViewYaw() .
|
2022-12-11 18:41:59 +01:00 |
|
Mitchell Richters
|
fdcf8bbe2f
|
- Reorder variables in getscaledangle() .
|
2022-12-11 18:41:59 +01:00 |
|
Mitchell Richters
|
f9aeee5b4a
|
- Split out view angle stuff out of PlayerAngles::applyYaw() into PlayerAngles::doViewYaw() .
* Do all the view angle stuff as interpolated changes in the playsim as well, there's no need for these to be done at ticrate.
|
2022-12-11 18:41:59 +01:00 |
|
Mitchell Richters
|
2b9e3f804d
|
- Remove wrapper usage within gameinput.cpp.
|
2022-12-11 18:41:59 +01:00 |
|
Mitchell Richters
|
d7d76d5fc4
|
- Move all PlayerAngles view angle properties into new DRotator objects.
|
2022-12-11 18:41:58 +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
|
630c10856e
|
- Re-write PlayerAngles scaled adjustment methods.
|
2022-12-11 18:41:58 +01:00 |
|
Mitchell Richters
|
24ec58f4e6
|
- Change wrapper internals for previous yaw to the actor's sprite DRotator and make sure all the games load a level.
|
2022-12-11 18:41:57 +01:00 |
|
Mitchell Richters
|
16a48cba17
|
- Change wrapper internals for previous pitch to the actor's sprite DRotator and make sure all the games load a level.
|
2022-12-11 18:41:57 +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
|
fd05d320ff
|
- Wrap access to previous pitch.
|
2022-12-11 18:41:56 +01:00 |
|
Mitchell Richters
|
15f1d89855
|
- Wrap access to current pitch.
|
2022-12-11 18:41:56 +01:00 |
|
Mitchell Richters
|
60a97f781e
|
- Add DCoreActor pointer as PlayerAngles::pActor , setting and nulling where the player's actor is set.
|
2022-12-11 18:41:56 +01:00 |
|
Mitchell Richters
|
b9f5bb71cc
|
- Merge PlayerHorizon and PlayerAngle structs into PlayerAngles struct.
|
2022-12-11 18:41:56 +01:00 |
|
Mitchell Richters
|
d75ac9e445
|
- Rename PlayerAngle prototypes in preparation for replacement work.
|
2022-12-11 18:41:56 +01:00 |
|
Mitchell Richters
|
9b6f01dff0
|
- Rename PlayerAngle private members in preparation for replacement work.
|
2022-12-11 18:41:56 +01:00 |
|
Mitchell Richters
|
353c2a20fd
|
- Rename remaining PlayerAngle methods.
|
2022-12-11 18:41:55 +01:00 |
|
Mitchell Richters
|
a061f2baef
|
- Rename PlayerAngle::spin to its destined final name.
|
2022-12-11 18:41:55 +01:00 |
|
Mitchell Richters
|
a42750f37f
|
- Rename PlayerAngle::orotscrnang in preparation for replacement work.
|
2022-12-11 18:41:55 +01:00 |
|
Mitchell Richters
|
7d34288290
|
- Rename PlayerAngle::rotscrnang in preparation for replacement work.
|
2022-12-11 18:41:55 +01:00 |
|
Mitchell Richters
|
3a0ec29c18
|
- Rename PlayerAngle::olook_ang in preparation for replacement work.
|
2022-12-11 18:41:55 +01:00 |
|
Mitchell Richters
|
644cf82238
|
- Rename PlayerAngle::look_ang 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
|
d810afa2e9
|
- Rename PlayerHorizon prototypes in preparation for replacement work.
|
2022-12-11 18:41:54 +01:00 |
|
Mitchell Richters
|
b38f9a8779
|
- Rename PlayerHorizon private members in preparation for replacement work.
|
2022-12-11 18:41:54 +01:00 |
|
Mitchell Richters
|
9ab8db04db
|
- Rename remaining PlayerHorizon methods.
|
2022-12-11 18:41:54 +01:00 |
|
Mitchell Richters
|
723631cc81
|
- Rename PlayerHorizon::ohorizoff in preparation for replacement work.
|
2022-12-11 18:41:54 +01:00 |
|
Mitchell Richters
|
216fad7e18
|
- Rename PlayerHorizon::horizoff in preparation for replacement work.
|
2022-12-11 18:41:53 +01:00 |
|
Mitchell Richters
|
0c53990c87
|
- Rename PlayerHorizon::ohoriz in preparation for replacement work.
|
2022-12-11 18:41:53 +01:00 |
|
Mitchell Richters
|
401a829d54
|
- Rename PlayerHorizon::horiz in preparation for replacement work.
|
2022-12-11 18:41:53 +01:00 |
|
Mitchell Richters
|
25460e8e98
|
- Fix change to constant in last commit.
* How did that little `3` not make it in...
|
2022-12-09 20:00:37 +11:00 |
|
Mitchell Richters
|
2a82ef85b8
|
- Minor optimisation to the return to centre code.
|
2022-12-09 18:00:56 +11:00 |
|