Adding support for a configuration file
This commit is contained in:
@@ -270,6 +270,11 @@ debugging enabled.)
|
||||
`/sdcard/questshock/res/`.
|
||||
4. Launch it again.
|
||||
|
||||
`/sdcard/questshock/` also holds an optional persistent settings file,
|
||||
`questshock.config.json`, loaded automatically at startup and saved/loaded
|
||||
from the in-headset menu - see [CONFIG.md](CONFIG.md) for the documented
|
||||
options.
|
||||
|
||||
### 5.2. Building natively in Android Studio
|
||||
|
||||
`make apk` always compiles the engine and links the APK inside the
|
||||
@@ -508,6 +513,11 @@ each one does:
|
||||
goes through the OpenXR swapchain's own FBOs, set up separately in
|
||||
`xr_swapchain.c`) and is also functionally dead there regardless -
|
||||
skipped entirely, Android-only.
|
||||
- **`21-android-config.patch`** - hooks up the persistent JSON config file
|
||||
(see [CONFIG.md](CONFIG.md), `qs_config.c`): one call to
|
||||
`qs_config_load_startup()` in `Shock.c`'s `main()`, right after
|
||||
`LoadPrefs()`, and one check in `sdl_events.c`'s `pump_events()` to drain
|
||||
the custom SDL events the menu's Save/Load Configuration buttons enqueue.
|
||||
|
||||
`android/gl4es-patches/`:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user