Commit graph

20080 commits

Author SHA1 Message Date
Simon
57ebeb79e2 Fixed issue with FrameSetup being called in the wrong place
this seemed to limit the correctly submitted frames to 60 fps!
2023-02-16 22:07:38 +00:00
Simon
16299b3f8a Get floor height offset correct for each game 2023-02-14 20:51:03 +00:00
Simon
fa74cf0559 Clean exit on Pico & Quest
and gold tier patron credit screen
2023-02-14 20:37:29 +00:00
Simon
deb2c35988 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
2023-02-13 22:22:29 +00:00
Simon
f1a165add7 FInal changes to get MV rendering correctly 2023-02-13 21:44:42 +00:00
Simon
936f079db8 Merge branch 'multiview' into direct-eye-buffers 2023-02-13 11:29:23 +00:00
Simon
06a99dbafb Implementation using no additional frame buffers 2023-02-13 11:26:44 +00:00
Simon
f8c1f49e6f Failed attempt at multiview 2023-02-12 11:19:27 +00: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
9eb86eaa40 Added 6DoF weapons to all the other game modes 2023-02-09 23:04:41 +00:00
Simon
35c101b671 slight improvement to location of weapon sprite relative to controller 2023-02-08 23:03:13 +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
17392fe400 - Change viewport aspect calculation from 6aa94a9b8e to be a reciprocal multiplication. 2023-02-06 19:58:08 +11: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
Christoph Oelckers
ede52f2dde - Duke: make the geisha statues shootable again.
This got lost in the awful spaghetti code somehow.
2023-02-05 13:37:04 +01: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
Simon
b8db1bd577 Single APK scheme for all devices 2023-02-04 14:31:35 +00:00
Christoph Oelckers
0d6ffa5863 - completed Blood's SmallFont. 2023-02-04 13:23:43 +01:00
Christoph Oelckers
ef1e3d492c - completed Blood's BigFont. 2023-02-04 12:23:59 +01: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
cbcc4f7729 - SW: Repair pitch setup for all weapons not accounting for the player's view pitch offset.
* Long-standing omission from back in 0e3604ac9e.
2023-02-04 17:18:47 +11:00
Simon
e28088380f Fix crash in Shadow Warrior when player dies 2023-02-04 17:05:20 +11:00
Mitchell Richters
5fd4fbfde5 - Remove some leftover debug code. 2023-02-04 17:05:20 +11:00
Hugo Locurcio
4cb311a4c1 Increase slider precision for mouse sensitivity settings
On mice with high DPI settings, low values such as 0.1-0.3 typically
need to be used to get a comfortable effective mouse sensitivity.
2023-02-04 17:05:20 +11:00
Mitchell Richters
ca4b9c5044 - Slight tidy-up in vectors.h. 2023-02-04 17:05:20 +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
Simon
862c8d2c4c Dynamically select world scale based on game 2023-01-31 22:13:11 +00:00
Simon
159c316ebb Merge remote-tracking branch 'upstream/master' 2023-01-29 19:18:17 +00:00
Simon
ed6eecaf0b Fix crash in Shadow Warrior when player dies 2023-01-29 19:18:01 +00:00
Christoph Oelckers
8052bc7e46 - fixed bad vector addition to incorrect variable. 2023-01-29 09:05:35 +01:00
Christoph Oelckers
4328016963 - move the remaining parts of spawninitdefault to DukeActor::Initialize.
This ensures proper execution of all code - spawninitdefault was designed to be the fallback for actors without a special case in spawninit.
2023-01-28 16:33:35 +01:00
Christoph Oelckers
38b278b12d - fixed enemy setup.
All enemies now run a native init function to reduce script-induced problems.

this required adding a NOGRAVITY flag so that the recon can use the same code as well which was the only enemy relying on custom code.
2023-01-28 16:33:15 +01:00
Christoph Oelckers
0db441accb - scriptified the native parts of the powder keg.
This was the last remaining actor with its own native ticking part.
2023-01-28 16:31:46 +01:00
Christoph Oelckers
9f01c87ccb - scriptified the native part of FireflyFlyingEffect. 2023-01-28 16:31:45 +01:00
Christoph Oelckers
9783b8c402 - scriptified World Tour's flamethrowerflame.
The first of 3 mixed native/CON items which are the last things remaining in the main thinker loops.
2023-01-28 16:31:45 +01:00
Christoph Oelckers
dce0afe499 - Blood: fixed application of push velocity. 2023-01-28 12:43:46 +01:00
Christoph Oelckers
432021b8e7 - Exhumed: avoid shade hacks with palette emulation on.
This code only makes sense with true color rendering.
2023-01-28 11:44:05 +01:00
Christoph Oelckers
fc547f5ada - Blood: fixed bad array resize. 2023-01-28 10:59:27 +01:00
Christoph Oelckers
3b8956c728 - Blood: make sure that tracking condition data is always properly initialized. 2023-01-28 10:11:34 +01:00
Christoph Oelckers
acac74715f partially Revert "- pass shade values to sky renderer"
This reverts commit 380864d6fb.

The report this was supposed to address was bogus.
2023-01-28 09:21:53 +01:00
Simon
7127560972 Update version.h 2023-01-27 22:05:03 +00:00
Simon
8634e397fa Fix terrible headtracking in Blood 2023-01-27 21:55:19 +00:00
Simon
d507b0f60e Changes to make selection of openxr_loader.so automatic based on OPENXR_HMD 2023-01-27 19:33:17 +00:00