Commit graph

295 commits

Author SHA1 Message Date
Simon
0d72a548ca Change makefiles to select appropriate openxr_loader at build time 2023-01-27 14:49:23 +00:00
Simon
566da10ab6 Build with optimisations in Release only
Thanks to @Emawind for showing me how to do this!
2023-01-26 22:06:18 +00:00
Simon
49f758c7f9 Update cg_camera.cpp 2023-01-26 22:04:05 +00:00
Simon
7821de9e7e Ensure controlling an NPC allows time for the view angles to be set correctly 2023-01-26 22:03:41 +00:00
Simon
9e138c64ce Ensure touches are reset correctly 2023-01-26 22:02:43 +00:00
Simon
3e5a27421e AT-ST aiming using controller 2023-01-26 22:02:07 +00:00
Simon
f19b230169 Bit of camera tidy up 2023-01-25 09:24:23 +00:00
Simon
3d22e95737 Huge improvement to immersive cutscene camera control 2023-01-24 18:52:10 +00:00
Simon
93f18988d4 some hacking to try to make immersive cutscenes better
not great so far
2023-01-23 22:49:03 +00:00
Simon
2538e8df30 Fixed missing thumbstick click 2023-01-21 20:27:37 +00:00
Simon
b86028588c Input refactoring 2023-01-21 15:09:00 +00:00
Simon
059d131b8c Further standardisation of input 2023-01-20 23:35:43 +00:00
Simon
d7844eb54b Making input more standardised 2023-01-20 23:31:44 +00:00
Simon
fb59d40e3f g_TeamBeefDirectorsCut
some other very minor fixes at the same time
2023-01-19 21:43:53 +00:00
Simon
15d08031db Scope handling improvements (@MuadDib) 2023-01-19 21:23:29 +00:00
Simon
7578e39d67 Scope Zooming (in and out) (@MuadDib) 2023-01-19 21:16:20 +00:00
Simon
dad5ed29f7 Fix for Pico thumbstick movement & fixed typo 2023-01-18 21:55:47 +00:00
Simon
f0a6d673ee Prevent issues on start-up with Pico 2023-01-17 22:38:30 +00:00
Simon
23121a528b Step to make the code reuseable
Tried to separate out the game specific logic in the JKVR files from the generic OpenXR and other boilerplate stuff that each port will need
2022-12-19 21:23:28 +00:00
Simon
6e61785dcd Fixed lifecycle so headset can go to sleep and app will resume without issue 2022-12-18 23:12:11 +00:00
Simon
3d6af564c8 Fixed screen distance setting 2022-12-18 11:44:34 +00:00
Simon
5acd17a9df Fix config overwrite issue 2022-12-17 19:44:32 +00:00
Simon
f12753967c Copy appropriate config file based on HMD type
this allows for a different r_gamma value on the Pico 4
2022-12-14 19:28:37 +00:00
Simon
9bda989514 Ensure projection works on Meta Quest
Also fixed emplaced guns exiting by gesture use
2022-12-14 18:19:58 +00:00
Simon
4b1e010ca0 Use calculated projection matrix
sorts out weird warping on the Pico.
Allows for FOV to be overridden still for some effects (force speed)
2022-12-14 15:17:44 +00:00
Simon
7d99f83ae9 Fix Haptics 2022-12-14 15:17:44 +00:00
Simon
c509e29ee1 Full OpenXR compatibility
Including Pico 4 support!!
2022-12-14 15:17:44 +00:00
Simon
9af30f39ba Set color space correctly
Now pretty much working - head tracking has some lag for some reason though
2022-12-14 15:17:44 +00:00
Simon
d95f02dca2 Most stuff working..
but looks pretty bad at the moment
2022-12-14 15:17:43 +00:00
Simon
f650a3be1c Use Quad layer for screen - and get resolution correct 2022-12-14 15:17:43 +00:00
Simon
2c00a2a40f We have visuals!!
OpenXR is now at least rendering the menu screen!
2022-12-14 15:17:43 +00:00
Simon
6a61f24048 early start on this OpenXR - doesn't build yet 2022-12-14 15:17:43 +00:00
Simon
2cc54bc8bd Update to use gesture (@MuadDib) 2022-12-14 14:45:51 +00:00
Simon
257382adcd Load last save game on respawn (@MuadDib) 2022-11-30 19:23:00 +00:00
Simon
399e803068 Restored original vanilla renderer and renamed current to rd-gles 2022-11-30 17:59:40 +00:00
Simon
cd9026c927 Prevent gesture use skipping cutscenes or exiting security cameras
also don't allow weapon firing whilst showing item selector
2022-11-30 17:52:57 +00:00
Simon
5781390a92 Slight modifications to the force push/pull
use player's Chest as the distance calculation point and lowered the distance required to trigger.
2022-11-27 14:51:19 +00:00
Simon
46f5441165 Restore shiny saber by default 2022-11-26 19:22:48 +00:00
Simon
bec2177392 Bowcaster bolt direction fix (@MuadDib) 2022-11-26 18:09:33 +00:00
Simon
693dbc210c Menu correction and updated crawl text 2022-11-26 17:59:47 +00:00
Simon
f2c9a603b8 Gesture based button / item triggering 2022-11-26 15:38:50 +00:00
Simon
008e0ff44a Fix crash when using security camera 2022-11-26 15:38:30 +00:00
Simon
a8a402288b Fix issue with muzzle flash only causing dlight in the left eye 2022-11-26 10:14:13 +00:00
Simon
f5390bd8b4 Improved icon visibility 2022-11-26 09:23:58 +00:00
Simon
cd38d00cf8 3rd Person Saber toggle options (@MuadDib) 2022-11-25 23:35:49 +00:00
Simon
6ee8dcd2bc Movement Speed toggle
Using X you can toggle between Full (100%), Comfortable (75%) and Walk (50%), small icon on screen to show you
2022-11-25 23:25:37 +00:00
Simon
fe1216e84d Fix crouch for switched sticks 2022-11-25 19:14:11 +00:00
Simon
96b8b4ebd5 Proper fix for Yavin sky 2022-11-25 19:06:25 +00:00
Simon
b942a64fc2 Comfort Vignette (@MuadDib)
+ haptic intensity menu control
2022-11-25 18:01:08 +00:00
Simon
0d3d244157 Fix sky over Yavin Swamp
The only significant part of this change is the removal of r_fastsky check, since Yavin Swamp doesn't have a skybox.
2022-11-23 22:17:58 +00:00