Simon
5c6a0c84eb
Allow game to override pitch
2023-06-25 14:50:41 +01:00
Simon
727103b565
Use improved game yaw resync logic
...
should never go out of sync with the game yaw again (not for more than a few frames anyway)
2023-06-25 10:08:40 +01:00
Simon
f284f2d126
Update version.h
2023-06-20 22:37:11 +01:00
Simon
9a2dbe8c93
Update gameinput.cpp
2023-04-16 15:29:28 +01:00
Simon
7536fbfa85
Merge remote-tracking branch 'upstream/master'
2023-03-18 10:22:22 +00:00
Mitchell Richters
1147030bca
- Remove concept of InputOptions
, its messy and unnecessary.
2023-03-18 21:16:50 +11:00
Simon
ec7f5410ca
Merge remote-tracking branch 'upstream/master'
2023-03-18 10:09:51 +00:00
Mitchell Richters
366423a09b
- Extra const-ness that I'm not sure matters or not.
2023-03-18 20:14:01 +11:00
Mitchell Richters
672c53c35c
- Move CCMD pause
to gamecontrol.cpp so it can be static.
2023-03-18 19:54:05 +11:00
Mitchell Richters
b3c27a177e
- Consolidate each game's gi-GetInput()
into a unified function.
...
* Eliminates a lot of boilerplate.
* Consolidation of input accumulation buffers discretely used in each game.
* Allows privatisation of `PlayerAngles::CameraAngles`.
2023-03-18 19:49:25 +11:00
Mitchell Richters
3442290fa2
- Repair bad setup for global input scale uncovered after making Duke better.
...
* `I_GetInputFrac()` must always be called, even if we don't use it otherwise the value grows too large.
2023-03-18 19:29:29 +11:00
Mitchell Richters
4355a44721
- Duke: Rework input blocking setup.
...
* Takes the duplicated conditions out of the input handler and makes the ticker responsible by forcing synchronised input.
2023-03-18 19:29:29 +11:00
Mitchell Richters
bd3e9b305e
- Adjust signatures of input functions slightly for consistency.
2023-03-18 19:29:29 +11:00
Mitchell Richters
5a6495956f
- Duke: Move Quick_Kick
button test into ApplyGlobalInput()
as it doesn't seem to share a bit with any other game anymore.
2023-03-18 19:17:30 +11:00
Mitchell Richters
a45890e064
- Move some Duke-specific stuff out of ApplyGlobalInput()
.
2023-03-18 09:15:15 +11:00
Mitchell Richters
eed9716d86
- Move joyaxes[]
array from getHidInput()
directly into ControlInfo
.
2023-03-17 20:58:38 +11:00
Mitchell Richters
08d22f49f4
- Negate ControlInfo::dpitch
to match data out of backend.
2023-03-17 20:58:13 +11:00
Mitchell Richters
fc069feac6
- Negate ControlInfo::dyaw
to match data out of backend.
2023-03-17 20:58:13 +11:00
Mitchell Richters
446218dd7b
- Get mouse/controller input by pointed variable and not copy on return.
2023-03-17 20:58:11 +11:00
Mitchell Richters
1f97e73501
- Rename ControlInfo joystick variables to names matching backend.
2023-03-17 20:16:58 +11:00
Mitchell Richters
81caf74721
- Tidy up coord
stat to use gi->getConsoleActor()
and also print pitch.
2023-03-17 17:28:26 +11:00
Mitchell Richters
3c4b4e4483
- Tidy up warptocoords
CCMD since everything is in an actor now.
...
* Now accepts floating point inputs.
* Restores lost pitch capability.
2023-03-17 17:28:04 +11:00
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
8bcbc1b892
- Null the roll angle used for weapon drawing when looking left/right and with Blood's delirium for now.
...
* Intended to make the look left/right keys better, but doesn't work properly for weapons made up of layered parts of varying sizes.
* Fixes #879 .
2023-03-16 16:34:31 +11:00
Mitchell Richters
e8f2f98473
- Repair voxel 2D vector adjustment.
...
* Originates from a6fb831894
.
* Division taken off, probably mixing up x/yrepeat and x/yoffset.
* Fixes #869 .
2023-03-15 20:42:24 +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
alexey.lysiuk
41d7118099
- fixed compilation error
...
source\core\razefont.cpp(60,3): error C2181: illegal else without matching if
2023-02-21 10:30:44 +02:00
Christoph Oelckers
07d87940f2
- completed all of Blood's and Duke's fonts.
2023-02-20 16:52:51 +01:00
Simon
5b58e7e1ff
Merge remote-tracking branch 'upstream/master'
2023-02-19 16:49:04 +00:00
Simon
818cb10515
Ensure yaw resync in SW if player is rotated (like in a boat)
2023-02-19 16:48:48 +00:00
Christoph Oelckers
b645929035
- fixed some message mappings.
2023-02-19 13:01:20 +01:00
Simon
74c7a65842
Several Fixes
...
- Fix issue with crosshair not showing in readneck rampage
- Fix issue with off-hand direction stopping movement
- Fix RR worldscale
2023-02-18 17:08:36 +00:00
Simon
c9dc3c628f
Merge remote-tracking branch 'upstream/master'
2023-02-16 22:10:57 +00:00
Simon
7c37bad4ac
Squashed commit of the following:
...
commit 57ebeb79e2
Author: Simon <simonbrown77@googlemail.com>
Date: Thu Feb 16 22:07:38 2023 +0000
Fixed issue with FrameSetup being called in the wrong place
this seemed to limit the correctly submitted frames to 60 fps!
commit 16299b3f8a
Author: Simon <simonbrown77@googlemail.com>
Date: Tue Feb 14 20:51:03 2023 +0000
Get floor height offset correct for each game
commit fa74cf0559
Author: Simon <simonbrown77@googlemail.com>
Date: Tue Feb 14 20:37:29 2023 +0000
Clean exit on Pico & Quest
and gold tier patron credit screen
commit deb2c35988
Author: Simon <simonbrown77@googlemail.com>
Date: Mon Feb 13 22:22:29 2023 +0000
Number of small changed
- Hide crosshair if it isn't needed
- Don't draw black bar when drawing FPS counter
- added roll in to the weapon sprite
- If drawing full screen mode always use orthographic projection
commit f1a165add7
Author: Simon <simonbrown77@googlemail.com>
Date: Mon Feb 13 21:44:42 2023 +0000
FInal changes to get MV rendering correctly
commit 936f079db8
Merge: 06a99dbaf
f8c1f49e6
Author: Simon <simonbrown77@googlemail.com>
Date: Mon Feb 13 11:29:23 2023 +0000
Merge branch 'multiview' into direct-eye-buffers
commit 06a99dbafb
Author: Simon <simonbrown77@googlemail.com>
Date: Mon Feb 13 11:26:44 2023 +0000
Implementation using no additional frame buffers
commit f8c1f49e6f
Author: Simon <simonbrown77@googlemail.com>
Date: Sun Feb 12 11:19:27 2023 +0000
Failed attempt at multiview
2023-02-16 22:09:25 +00:00
Christoph Oelckers
29de90beb6
- Duke: disable the 1.5 BigFont for languages using the Cyrillic or Greek alphabet
...
This font is incomplete, unlike the 1.3 variant, so for these languages use the font that can render them.
2023-02-11 10:43:09 +01:00
Simon
578f7cfbcd
Fix issue where crosshair would disappear or get stuck
...
Was the fact that the controller was actually in a different sector to the player actor.
2023-02-10 22:42:19 +00:00
Simon
82b83af956
True 6DoF weapons and aiming crosshair (Duke Only)
2023-02-08 22:48:47 +00:00
Simon
00d07de8a7
Update menu in pk3
...
remove warning about positional tracking issues (thanks to Mitch fixing it in Raze upstream)
Ensure SW pitch is set correctly
2023-02-06 21:43:31 +00:00
Simon
0778e73f9f
Merge remote-tracking branch 'upstream/master'
2023-02-06 19:36:00 +00:00
Mitchell Richters
f8035bb4ba
- Re-calculate the sector for each eye if it has a shift factor applied.
2023-02-06 19:55:46 +11:00
Simon
df2d0b2f0b
Merge remote-tracking branch 'upstream/master'
2023-02-04 22:59:30 +00:00
Mitchell Richters
2020860ffe
- For I_GetInputFrac()
, just have the caller check if input is synchronised.
2023-02-05 08:40:25 +11:00
Mitchell Richters
9961a66a1f
- Remove inputScale
global and make static in mainloop.cpp
.
2023-02-05 08:37:37 +11:00
Mitchell Richters
1938efabe6
- Fix bad return in scaletozero()
from 924b601199
.
2023-02-05 08:27:44 +11:00
Simon
4012183cf1
Merge remote-tracking branch 'upstream/master'
2023-02-04 14:33:56 +00: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