Commit graph

1458 commits

Author SHA1 Message Date
Simon
4c6728e184 change config name to razexr.ini 2023-06-25 14:50:54 +01:00
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
b147871ffa Addition of vr_weaponYawAdjust 2023-06-21 17:37:15 +01:00
Simon
3733098b05 Implemented Weapon Pitch Adjust
and made default angle match other ports
2023-06-20 22:35:47 +01:00
Simon
818cb10515 Ensure yaw resync in SW if player is rotated (like in a boat) 2023-02-19 16:48:48 +00:00
Simon
379157708c Proper support for left-hand controls
also made the RR pistol a little less terrible, as it is a bit frustrating in VR
2023-02-19 09:57:48 +00: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
8ad59c7e43 Fixed couple of 6DoF issues...
- Duke: Fixed issue where for some sectors the weapon wouldn't appear to fire any projectiles
- Blood: Fixed 6DoF Pitch being based on headset angle
- Blood: Fixed 6DoF Z position being based on headset
- All games use 6DoF Z position as an offset from view position
2023-02-17 22:55:39 +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
6729c342af - undid bad code from a broken GZDoom PR. 2023-02-11 19:49:49 +01:00
Christoph Oelckers
09c8430e4e - removed bad include. 2023-02-11 12:36:31 +01:00
Christoph Oelckers
8c99d7b034 - Backend update from GZDoom
* scriptable CVARs.
* GLES update
* various ZScript improvements.
2023-02-11 12:06:58 +01:00
Christoph Oelckers
fd04cda324 - added a font option to have lower case for Latin only.
This is meant for SW's SmallFont to avoid creating lowercase Greek or Cyrillic letters. The font is too small to render them adequately.
2023-02-11 10:43:59 +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
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
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
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
Simon
4012183cf1 Merge remote-tracking branch 'upstream/master' 2023-02-04 14:33:56 +00:00
Mitchell Richters
ca4b9c5044 - Slight tidy-up in vectors.h. 2023-02-04 17:05:20 +11:00
Simon
862c8d2c4c Dynamically select world scale based on game 2023-01-31 22:13:11 +00:00
Simon
42f29bd4bb Merge remote-tracking branch 'upstream/master' 2023-01-27 09:33:18 +00:00
Christoph Oelckers
8e5e52f80e - enable Spanish for Duke and related games.
Nam/WW2GI was completed by machine translated texts, this was all simple stuff like item names.
2023-01-20 17:13:18 +01:00
Christoph Oelckers
a570e77509 - clear menuDelegate in case of an error in MENUDEF parsing. 2023-01-20 17:10:25 +01:00
Simon
e248c158a8 Merge remote-tracking branch 'upstream/master' 2023-01-16 21:16:26 +00:00
Simon
dff31bcad2 Additional 2D drawer for fullscreen palette blend (for damage/pickups)
and also for drawing the crosshair and fps counter.
Required for RazeXR since the standard HUD 2D drawer is now scalable.
2023-01-16 20:14:08 +00:00
Christoph Oelckers
bb7f00988a - give Blood's sounds well defined names so they can be defined via SNDINFO. 2023-01-15 16:15:28 +01:00
Christoph Oelckers
841402a776 - allow setting loop points for WAV sounds or other simple formats. 2023-01-15 15:19:21 +01:00
Christoph Oelckers
57695a3e07 - cleaned up the pitch management in the sound backend. 2023-01-15 14:06:01 +01:00
Christoph Oelckers
fca0bdf379 - Backend update from GZDoom. 2023-01-15 09:30:01 +01:00
Simon
91ede1126f Initial commit of update to Raze mazter
All prior changes can be found on the (will be published in the future) RazeXR repo
2023-01-13 23:41:22 +00:00
Christoph Oelckers
d5b217df2a - Vulkan shader cache from GZDoom. 2023-01-07 19:32:15 +01:00
Christoph Oelckers
905a9bfeae - backend update from GZDoom. 2023-01-07 19:30:49 +01:00
Christoph Oelckers
5952b79af5 - FString fixes. 2023-01-07 19:15:03 +01:00
Christoph Oelckers
262e93db2b - call FullGc twice, because once does not seem to be sufficient anymore when the object system is shut down 2023-01-07 16:01:37 +01:00
Christoph Oelckers
cfef8c8a71 - ignore executable files in a zip's main folder when checking for mod content in a subdirectory. 2023-01-06 18:01:34 +01:00
CandiceJoy
483cec5bdd - Fixed custom height and width not saving.
* Fixes #780.
2023-01-02 19:30:46 +11:00
Mitchell Richters
6aa94a9b8e - Ensure the viewport's aspect ratio is factored into the HUD's aspect ratio.
* Fixes #617.
2023-01-02 18:52:19 +11:00
Rachael Alexanderson
6b8bdcc449 - fix math error on ARM architectures 2022-12-28 02:07:10 -05:00
Christoph Oelckers
b1e2b2addf - backend cleanup from GZDoom. 2022-12-18 16:31:50 +01:00
Christoph Oelckers
d7da983c5e - removed Vulksn SDK from main source folder.
This is now part of ZVulkan.
2022-12-18 16:27:24 +01:00
Christoph Oelckers
e3d16d254d - fixed: when deactivating the app, pausing the sound system should not depend on the game's internal pause state.
All this tells is that the gameplay was halted. Sound was not stopped when the user either minimized or tabbed away in the in-game menu.

This commit had to be reapplied because it got lost in a backend update.
2022-12-18 15:28:17 +01:00
Christoph Oelckers
be2112a507 - fixed ESC pressing on Duke's monitors.
This got busted by an update from GZDoom.
2022-12-18 13:06:09 +01:00
Christoph Oelckers
20edd800f9 - big texture system refactor.
Finally that quickly slapped together BuildTiles class is gone and replaced with something that better integrates with the underlying texture manager
2022-12-18 13:05:58 +01:00
Mitchell Richters
67b40ee1d5 - Convert angle in hud_drawsprite() to work on true degrees, and in the right direction. 2022-12-11 19:46:26 +01:00