Commit graph

192 commits

Author SHA1 Message Date
Emanuele Disco
a601c5a4cf fix: remove wrong implementation of weapon offset
The implementation is done in the submodule
2023-08-14 02:17:16 +09:00
Emanuele Disco
805ac4ce48 Merge branch 'upstream/OpenXR' 2023-05-13 00:20:53 +09:00
Emanuele Disco
a978b403db fix: add back the resetDoomYaw when snap turning to avoid yaw desync in some cases
Refs: 95a9b7476f
2023-05-07 00:11:29 +09:00
Emanuele Disco
1dde2efc7b refactor: general cleanup
removed jni_shutdown in VrCommon.h not used in other places, VR_Shutdown should be used instead
2023-05-04 16:36:39 +09:00
Simon
68359a7e90 Fix crash on quest firmware v53 2023-04-28 19:48:06 +01:00
Emanuele Disco
95a9b7476f feat: change turn speed based on joystick analog input when using smooth turn
note: smooth turn is enabled when snap turn is set to 10 or low
2023-04-20 01:25:18 +09:00
Emanuele Disco
a7fe5ad731 fix: fix wrong offset applied to weapons
previous commit that added the regression
refs: 05764d2013
2023-04-20 00:50:51 +09:00
Emanuele Disco
33924412ad build: remove buildToolsVersion to prevent warning messages and added ndkVersion to build.gradle since is the recommended way to set NDK version
This way github workflow works correctly, also ndk.dir is deprecated since AGP 4.0

Refs: https://github.com/android/ndk-samples/wiki/Configure-NDK-Path#introduction
2023-02-07 14:34:43 +09:00
Emanuele Disco
6acdb02760 Merge branch 'origin/OpenXR' 2023-02-07 11:17:39 +09:00
Simon
7c0534ec41 Gradle changes to support building without dependency on the Meta OpenXR SDK package
the AndroidPrebuilt libopenxr_loader.so is the Android library, rather than an XR vendor specific library, provided solely for linking against.
2023-02-06 21:53:12 +00:00
Emanuele Disco
ef6642ab33 build: restore gradle wrapper files since the gradle wrapper is used for external build on github workflow
refs: 9a104896da

BREAKING CHANGE: From this commit the PICO SDK Native libraries are required for building the PICO version
Download the libs from https://developer-global.pico-interactive.com/sdk?deviceId=1&platformId=3&itemId=11
Then put the content of libs folder into OpenXR/Libs
2023-01-28 23:25:22 +09:00
Emanuele Disco
03dd833d0f Merge branch 'OpenXR' 2023-01-28 23:05:48 +09:00
Simon
579d5f91cf Update gzdoom-g3.3mgw_mobile 2023-01-27 19:21:16 +00:00
Simon
9a104896da Changes to make selection of openxr_loader.so automatic based on OPENXR_HMD
Removed unused files too
2023-01-27 19:21:11 +00:00
Emanuele Disco
05764d2013 fix: correct wrong offset applied to weapons 2023-01-28 02:24:20 +09:00
Emanuele Disco
4f563df9e9 fix: invert controller feedback 2023-01-28 00:50:21 +09:00
Emanuele Disco
b3f1b2461c Merge branch 'OpenXR' 2023-01-26 20:47:13 +09:00
Simon
b9edae307e Ensure Touches are cleared before input processed 2023-01-25 23:06:42 +00:00
Simon
47487cdc1e Update gzdoom-g3.3mgw_mobile 2023-01-25 09:48:49 +00:00
Simon
9e0a129d07 Default useVirtualScreen to false
This allows the playerYaw value to be captured prior to the menu being displayed, so it should show up in front of the player every time
2023-01-25 09:45:36 +00:00
Simon
63bb383265 Fixed missing thumbstick click 2023-01-21 20:26:13 +00:00
Simon
12a8506e3c Input refactoring and diagonal speed fix for Pico 2023-01-21 15:09:35 +00:00
Simon
a5e641dca5 Fix couple of issues
- Pico build hanging on start-up
- Improved ratio of screen so menu and images look better
2023-01-17 22:12:04 +00:00
Emanuele Disco
e39bb37ffb fix: fix return for SetRefreshRate method always returning 0
The method will correctly return 0 when request has been accepted and -1 if the system cannot change the refresh rate. This was the previous behaviour when using the VrAPI.
2023-01-13 17:33:13 +09:00
Emanuele Disco
600f048355 ci: change github workflow for meta quest and pico build
- fixed the ci build after openxr implementation
2023-01-13 17:33:08 +09:00
Emanuele Disco
201b3291d7 build: fix build after openxr integration
BREAKING CHANGE:
Mobile SDK and the VrApi library have been replaced with OpenXR Mobile SDK
A new environment is required in order to build the game, check the website for more information
https://developer.oculus.com/documentation/native/android/mobile-openxr/
2023-01-13 17:32:54 +09:00
Emanuele Disco
8c179fad17 Merge branch 'origin/OpenXR' 2023-01-13 17:32:47 +09:00
Emanuele Disco
b61a1bfeea fix: address several compilation warnings 2023-01-03 13:34:07 +09:00
Emanuele Disco
f00da2bff1 refactor: add missing log to GLES3JNILib_prepareEnvironment 2023-01-03 01:11:37 +09:00
Emanuele Disco
b980e7c34a ci: refactor and improve github workflow
change os to linux, windows can also be added
new matrix config hmd that can be used  to build agains different headset, for now just meta, we can add pico as well

fix settings.gradle build on linux fail because of this

refs: 86dc59fd31e9c4fc030624066dd4e41dfe1b05cf
2023-01-03 01:07:50 +09:00
Emanuele Disco
500008d8dd build: add ndkVersion and format build.gradle
replace gradle-wrapper.jar since it throws error when trying to retrieve the version
2023-01-03 01:07:32 +09:00
Simon
6f86d67fdc Several fixes
- Ensure Auto Map and HUD display correctly
- Ensure virtual screen is always shown in front of player
- Restore working Thumbstick click
- Reduce chances of frame submission occurring in the wrong order
2022-12-30 21:05:01 +00:00
Simon
3ea7df9cc3 Restored Thumbrest Touch 2022-12-29 09:49:50 +00:00
Simon
20a8d2e40f First tranche of OpenXR changes 2022-12-27 23:27:29 +00:00
Emanuele Disco
b3794e0b4e feat: added PrepareEnvironment JNI callback that prepare the environment
- removed the chdir call and moved inside the new method where we also set the progdir variable used by ExpandEnvVars
- refactored and cleaned up the activity create method

feat: the profile is processed before reloading the application.
The custom commandline file is copied to the commandfile.txt and the latter is then used to launch the game, this behaviour should make the launcher compatible with the new profile system
2022-12-17 13:55:20 +09:00
Emanuele Disco
ee4291310c feat: added a reload function to the main activity
that can be used to restart the game
2022-12-14 23:41:19 +09:00
Emanuele Disco
75b46480d1 Merge remote-tracking branch 'origin/master' into questzdoom 2022-12-09 15:11:51 +09:00
Emanuele Disco
03c18de737 changed app version to 1.5.0 2022-12-08 12:57:55 +09:00
Emanuele Disco
ce1aa8ab1b - added three variables to offset the position of the weapon in vr 2022-12-05 00:14:50 +09:00
Emanuele Disco
0f77d3ce61 - added local.properties to gitignore 2022-11-30 13:58:14 +09:00
Emanuele Disco
570bf494c6 - changed event for main controller btn 2 to key BACKSPACE
when dominant grip pushed
2022-11-19 16:01:02 +09:00
Emanuele Disco
84b8113645 Update gzdoom-g3.3mgw_mobile 2022-11-07 01:20:10 +09:00
Emanuele Disco
0dc8495ae8 - removed fluidsynth unused folder
- updated fluidsynth lite to version 1.1.11
2022-04-18 21:49:11 +09:00
Emanuele Disco
97f066669f - replaced fluidsynth.sf2 with the default sf2 file in lzdoom asset 2022-04-03 23:54:11 +09:00
Emanuele Disco
bf44809a31 - enabled offhand grip button event whether or not the two handed weapon option is turned on 2022-03-08 04:19:51 +09:00
Emanuele Disco
f5d006eb2e Merge branch 'beef_master' into questzdoom 2022-03-04 02:22:29 +09:00
Simon
aab0df4a80 Update gzdoom-g3.3mgw_mobile 2022-03-02 21:28:11 +00:00
Simon
dd422472d7 fix various build breaks
and added VR API extra latency mode
2022-03-02 21:27:29 +00:00
Emanuele Disco
73e0e73317 - fixed lzma compilation
added flag -march=armv8+crc
2021-12-30 20:54:28 +09:00
Emanuele Disco
e1371f4bde Merge remote-tracking branch 'origin/master' into questzdoom 2021-11-12 13:47:26 +09:00