Commit Graph

637 Commits

Author SHA1 Message Date
Miku AuahDark 06e4082dfb Apply love-specific SDL2 patches.
Hopefully this will be the last time.
2021-12-05 13:12:01 +08:00
Miku AuahDark 4001bdab19 Update SDL to 2.0.18 2021-12-05 12:52:45 +08:00
Miku AuahDark cd2280386e Update GitHub Actions steps to reflect newly refactored flavor. 2021-12-05 12:46:31 +08:00
Miku AuahDark b6cb0d037e Minor cleanup to GameActivity. 2021-12-05 12:03:23 +08:00
Miku AuahDark c9831be4a4 Refactor AndroidManifest.
Playstore flavor is now removed. Instead, another "record" flavor added:
* `embedNoRecord` - Embed version without recording support.
* `embedRecord` - Embed version with recording support.
* `normalNoRecord` - Normal version without recording support.
* `normalRecord` - Normal version with recording support.
2021-12-05 11:44:47 +08:00
Miku AuahDark a3fc057064 Revert "Implement partial "Share to LOVE" support." 2021-12-05 10:08:17 +08:00
Miku AuahDark a3ea2d5ca0 Update LuaJIT to LuaJIT/LuaJIT@b4b2dce9fc 2021-11-13 14:42:25 +08:00
Miku AuahDark c802045cb2 Update LOVE submodule. 2021-11-05 15:31:54 +08:00
Miku AuahDark 25de1b5de3 Remove redundant GameActivity.getAssetManager() 2021-11-05 13:59:46 +08:00
Miku AuahDark ab850bfc5d Implement GameActivity.buildFileLookup 2021-11-05 13:58:02 +08:00
Miku AuahDark 80078b3046 Update LOVE submodule. 2021-11-02 17:58:57 +08:00
Miku AuahDark ba0f568f15 Improve GameActivity.getCRequirePath() 2021-11-02 17:42:56 +08:00
Miku AuahDark 444a61b945 Add GameActivity.getCRequirePath()
Used by love.filesystem C loader later.
2021-11-01 20:32:10 +08:00
Miku AuahDark 52a80a4e54 Forgot to add .gitignore 2021-11-01 17:53:11 +08:00
Miku AuahDark 383fe4aec6 Initial modular 3rd-party C libs system. 2021-11-01 17:50:36 +08:00
Miku AuahDark b3d9ceb314 Do not obfuscate SDL Java wrappers.
Fixes #217
2021-10-13 19:19:31 +08:00
Miku AuahDark 61ed34b4c7 Reorder GitHub Actions checkout step. 2021-10-11 20:14:10 +08:00
Miku AuahDark 56ab3cef77 Try to silence some Play Console warnings.
Issue #215
2021-10-11 20:07:16 +08:00
Miku AuahDark ae0d89458a Add x86_64 abiFilters for debug.
This workaround problems on debugging/running from Android Studio. See #208
2021-08-21 14:37:25 +08:00
Miku AuahDark ab03301730 Update Gradle build system.
Highlights:
* At least JDK 11 and/or Android Studio 2020.3.1 is now required.
* Update AGP to 7.0 and Gradle to 7.2.
* Replace jcenter() repository with mavenCentral()

Known Issue:
* Currently NDK 22 can't be used to compile yet as GLSLang has compile errors.
2021-08-20 09:41:36 +08:00
Miku AuahDark 89c9fc0a70 Update love2d/love@1e69a8c485
to trigger new workflow run.
2021-08-07 14:08:27 +08:00
Miku AuahDark f507d58891 Use lld linker when linking everything. 2021-05-09 16:35:44 +08:00
Miku AuahDark 552376fc7a Remove x86-specific compile options for Theora
Turns out they're unsupported.
2021-05-09 16:31:18 +08:00
Miku AuahDark 1ff59f59e5 Recompile LuaJIT binaries with -fPIC and lld linker and rewrite build_instructions.bat 2021-05-09 16:30:18 +08:00
Miku AuahDark df01c4568b Update LOVE to love2d/love@e9c58c8192 2021-05-08 22:43:16 +08:00
Miku AuahDark 5862a884bd Update to LOVE to love2d/love@22455276f6 2021-02-06 23:03:47 +08:00
Miku AuahDark d023500320 Only copy game archive if it's requested. 2021-02-06 22:09:47 +08:00
Miku AuahDark 0480f4bac7 Add getAssetManager() method.
This method will be called from C++ side.
2021-02-06 19:30:08 +08:00
Miku AuahDark 59153900ad Update Android Gradle plugin to 4.1.1 2021-02-06 19:08:06 +08:00
Miku AuahDark 0008f9b49e Fix compile error. 2021-02-06 18:54:19 +08:00
Miku AuahDark c315ddff8b Fixed crash when plugging physical keyboard or joystick. 2021-01-21 17:03:43 +08:00
Miku AuahDark 7da70d9786 SDL: Apply https://hg.libsdl.org/SDL/rev/a8e6474302ea
Issue #198
2021-01-14 14:55:03 +08:00
Miku AuahDark ac3ce6af68 Reapply e1f6ce34f0
https://github.com/love2d/love-android/issues/200#issuecomment-757976093
2021-01-12 13:57:04 +08:00
Miku AuahDark 05150585bf Update LÖVE to love2d/love@4ebe64afe1
Issue #200
2021-01-09 23:47:42 +08:00
Miku AuahDark 5b51e05895 Add missing Android.mk for LuaJIT 2021-01-09 11:42:05 +08:00
Miku AuahDark e94fe1a70d Add missing x86-64 LuaJIT static library. 2021-01-05 10:14:58 +08:00
Miku AuahDark d59818bf69 Update LuaJIT to LuaJIT/LuaJIT@1e66d0f9e6 2021-01-05 10:13:12 +08:00
Miku AuahDark f56e03b47c Upload normal debug APK as artifacts too. 2020-12-25 23:10:36 +08:00
Miku AuahDark cf608eda1d Update submodule to love2d/love@9c4db00e94 2020-12-25 23:10:00 +08:00
Miku AuahDark aaae1f4392 Look in /sdcard/lovegame too in Android 9 and earlier for backward compatibility.
See #194 for further explanation about this change.
2020-12-25 23:06:41 +08:00
Miku AuahDark 71c07360a5 Update LOVE submodule love2d/love@57a2a88a09 2020-12-24 23:00:03 +08:00
Miku AuahDark 596cffc9dc Rename openURL -> openURLFromLOVE
It's probably a good idea to remove this function in 12.0 and replace
it by calls to SDL_OpenURL() in LOVE C++ code instead.
2020-12-24 22:48:58 +08:00
Miku AuahDark 0fe970a575 Apply the current love-specific patches. 2020-12-24 22:48:29 +08:00
Miku AuahDark 7ff727cc2d Update SDL to 2.0.14 2020-12-24 20:55:12 +08:00
Miku AuahDark c97bc90527 Rename "Alc" to "alc"
This caught me off-guard.
2020-12-24 20:33:33 +08:00
Miku AuahDark b96fd660f9 Pass sample rate and frames/buffer to opensl_latency.cpp to be used with Oboe later. 2020-12-24 20:08:47 +08:00
Miku AuahDark 321fd15d99 Add low latency audio feature in manifest.
... but make it optional
2020-12-24 15:18:57 +08:00
Miku AuahDark dfe836d39c Update OpenAL-soft to 1.21.0
This allows OpenAL-soft to use Oboe backend which uses AAudio in Android 8
or OpenSLES in earlier Android version. This switch is necessary for
Android 11 compatibility as OpenSLES is now deprecated in Android 11.

Plus, we also have low latency audio for free.
2020-12-24 15:01:23 +08:00
Miku AuahDark 96f7387ac5 Upload each APK as separate artifacts. 2020-12-23 22:19:05 +08:00
Miku AuahDark 1c0565b56e Update readme. 2020-12-23 21:44:40 +08:00