Commit graph

167 commits

Author SHA1 Message Date
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
Emanuele Disco
8773d849f9 - disabled snapturn when secondary button pressed, enabling 4 more buttons to be binded 2021-11-12 13:47:12 +09:00
Emanuele Disco
0c96f9908a - cleaned up button events
- added button events for main and offhand joystick with and without secondary button pressed
- simplified implementation for wheel buttons events
2021-11-12 13:47:11 +09:00
Emanuele Disco
70cb4046af - added two more button events to the main controller
secondary button + joysitick up
secondary button + joystick down
they can be used to switch offhand weapon with new qzd update
- moved default button events for joysticks way down to avoid conflict during key bindings with other buttons events
2021-11-12 13:47:11 +09:00
Emanuele Disco
72feffbbef - added pitch adjust to offhand weapon 2021-11-11 01:32:54 +09:00
Simon
b0b7a36d46 Update to latest changes from @emawind84 2021-11-02 22:51:52 +00:00
Simon
4fbcca0df6 Point to my fork of @emawind84 's repo 2021-09-29 22:39:14 +01:00
Emanuele Disco
40db6ea16b - changed submodule to latest questzdoom update
- repacked lzdoom.pk3
2021-09-28 13:37:55 +09:00
Emanuele Disco
9a14174303 - fixed wrong offhandoffset X, Y position when in cinema mode 2021-09-28 13:30:39 +09:00
Emanuele Disco
8526c3890d - changed submodule to latest questzdoom update
- repacked lzdoom.pk3
2021-09-08 12:14:02 +09:00
Emanuele Disco
3bd239a37c - changed submodule to latest questzdoom update
- repacked lzdoom.pk3
2021-09-07 00:43:48 +09:00
Emanuele Disco
304cff0a03 - fixed joystick events not triggered when menu state on
It was impossible to scroll strafe dialog content or choose reply
- changed the joystick axis bind keys to match the pcvr version
2021-09-07 00:42:51 +09:00
Emanuele Disco
88a3cdf414 - changed submodule to latest questzdoom update
- repacked lzdoom.pk3
2021-09-01 10:47:07 +09:00
Emanuele Disco
b26d0c29c2 - add splash screen to the app 2021-08-20 23:34:18 +09:00
Emanuele Disco
25f15196d8 - changed submodule to latest questzdoom update
- repacked lzdoom.pk3
2021-08-20 23:28:51 +09:00
Emanuele Disco
66d4b9d566 - changed submodule to latest questzdoom update
- repacked lzdoom.pk3
2021-08-20 10:34:06 +09:00
Emanuele Disco
3f93b8d1e1 - added 120Hz refresh rate support for command line 2021-08-20 10:24:01 +09:00
Emanuele Disco
3b4e8ce848 - moved the set refresh rate execution on initialization instead of setting it on every frame (dynamic throttling should happen)
- check if passed refresh rate is supported by the device before set it
- added public QzDoom_SetRefreshRate to change refresh rate in game
2021-08-20 10:19:08 +09:00
Emanuele Disco
1dd0e88cff - changed submodule to latest questzdoom update
- repacked lzdoom.pk3
2021-08-17 22:39:43 +09:00
Emanuele Disco
a035e9ab4e - added 4 key binding for thumb rest for Quest 2 controller
- inverted key bind mousewheel down/up
- added missing key definitions on doomkeys.h
2021-08-17 22:37:53 +09:00
Emanuele Disco
3f19e085a4 - changed submodule reference to latest questzdoom update
- update version to 1.3.0
- packed lzdoom.pk3
2021-08-05 01:30:19 +09:00
Emanuele Disco
dded640874 - changed submodule reference to latest commit
- updated pk3 files
2021-07-27 09:58:37 +09:00
Emanuele Disco
ed6d85b93d added support for 90hz for Quest 2 2021-07-27 09:55:37 +09:00
Emanuele Disco
a7ee685929 changed submodule reference to latest commit 2021-07-09 16:54:06 +09:00
Emanuele Disco
b1b283a85c - added submodule questzdoom
https://github.com/emawind84/gzdoom/tree/questzdoom
2021-07-09 13:36:19 +09:00
Emanuele Disco
0a774f828c - removed gzdoom code
preparation for attaching submodule
2021-07-09 12:54:10 +09:00