Commit graph

76 commits

Author SHA1 Message Date
Oleksandr Kalko
cbb0c3ad47 Upgrade Gradle build tools 2022-02-02 19:08:27 +01:00
Oleksandr Kalko
3376917945 Upgrade Gradle plugin version 2021-12-22 17:13:04 +01:00
Anders Jenbo
aea984b23d [android] Fix loading with statically linked SDL 2021-12-08 01:53:53 +01:00
staphen
da837c4d2e [Android] Clear memory on exit with System.exit(0) 2021-12-02 22:44:45 +01:00
Anders Jenbo
f0a7493ef3 Upgrade Android builds to SDK 31 2021-12-01 02:29:33 +01:00
Anders Jenbo
d3aab8376a Complete migration to SDL 2.0.18 2021-12-01 02:29:33 +01:00
Gleb Mazovetskiy
4bb34bff96 Update android-project SDL Java code
From 2e9821423a
2021-11-30 17:50:16 +01:00
Gleb Mazovetskiy
ac152589f9 Android: Fix assets copying
Previously, only the translations were copied for Android at build time.
The other assets were copied only at configure time.

Replaces Android-specific handling with a general mechanism to override
the build-time assets directory.
2021-11-30 11:15:04 +01:00
Anders Jenbo
2c700c0c3d [android] Move CMake define to common folder 2021-11-29 06:09:11 +01:00
Gleb Mazovetskiy
b038b3ce3d Add an option to build SDL2 from source
Replaces the Android-specific version of this.
We'll need it for the iOS build as well.

Also switches to the 2.0.16 release version now that it's out.
2021-11-28 15:32:36 +00:00
Anders Jenbo
5644e158cd [Android] Define file to back up
Google allows for a max of 25MB so leave out all the MPQ files
2021-11-14 07:41:35 +01:00
Gleb Mazovetskiy
3d308983a8 Migrate to libmpq
libmpq is a much simpler alternative to StormLib for reading MPQ archives.

We use our own fork of libmpq: https://github.com/diasurgical/libmpq

Impact:

* DevilutionX is now a lot more portable. Unlike StormLib, libmpq only
  needs platform-specific code for Windows.
* Locks around file access **removed** (instead we duplicate the file descriptor for streamed audio only).
* RAM usage is **300 KiB** lower than StormLib.
* Stripped release linux_x86_64 binary is **32 KiB** smaller.
* Amiga build now hangs instead of crashing.
2021-11-06 23:51:42 +00:00
Anders Jenbo
c4b255cf38 🔥 Remove app migration code
As of November it is nolonger possible to performe this migration from a
new release.
2021-11-05 10:31:16 +01:00
Oleksandr Kalko
30afa525e5
Apply suggested changes by Android Studio (#3287)
* Upgrade Gradle plugin to 7.0.3
* Upgrade compileSdkVersion to 30
* Remove androidResources block
2021-11-01 13:27:40 +00:00
NikoVP
4f7f8c1d17 Update strings.xml
Small update done from phone...
2021-10-31 01:32:55 +02:00
Anders Jenbo
4b898eb8b3 Bump App version to 20 2021-10-28 23:19:45 +02:00
Oleksandr Kalko
60b6142930 TL Android data screen 2021-10-28 21:04:16 +02:00
Anders Jenbo
b21ef6296d Bump Android build version 2021-10-27 23:48:32 +02:00
Anders Jenbo
c525aab298 [android] Automatically download additional lang packs 2021-10-26 10:23:02 +02:00
Licaon_Kter
1cc9d44da4 Romanian Android app 2021-10-25 21:30:21 +02:00
Anders Jenbo
7f34fc928e Ignore Android assets
Thease are copied build the build process
2021-10-21 03:56:21 +02:00
Anders Jenbo
18e3df98b5 Copy assets to Android asssets folder 2021-10-20 21:52:59 +02:00
Anders Jenbo
93af15e345 Write XML in the flavor Android Studio wants 2021-10-19 17:10:39 +02:00
Mathieu Maret
833056d66c Translate Android string in French 2021-10-19 16:35:00 +02:00
Anders Jenbo
5155e955ab Add Danish translation for the app 2021-10-18 05:43:03 +02:00
Anders Jenbo
3e82ddec1d Use the term Demo instead of Shareware 2021-10-16 17:53:43 +02:00
Psojed
b5f46035e6 Czech app install instructions 2021-10-16 17:40:08 +02:00
staphen
f8860233d8 Enable ZeroTier on Android 2021-10-10 05:57:22 +02:00
Anders Jenbo
aa9cf21796
Delete most remaning references to SDL_ttf 2021-10-04 16:47:02 +02:00
Anders Jenbo
4dd8b121ec Replace TTF with PCX font 2021-09-29 18:13:48 +02:00
Anders Jenbo
6321ddb721 Generate devilutionx.mpq 2021-09-29 17:08:36 +02:00
Mateusz Krusinski
a2a4e662db Polish strings translation for Android 2021-09-28 13:00:08 +02:00
Anders Jenbo
fbf6d5ac9a Show install guide to users that only run shareware 2021-09-27 07:37:51 +02:00
Anders Jenbo
d5b2310ae0 Remove stray space from German translation 2021-09-26 00:17:02 +02:00
Anders Jenbo
ef649374d0
Apply german app translation from Tito 2021-09-19 06:14:06 +02:00
staphen
ea9816ce41 Enable virtual gamepad for Android 2021-09-16 19:25:31 +02:00
staphen
60492ef954 Add proper graphics for gamepad 2021-09-16 19:25:31 +02:00
staphen
946ae987a3 [Android] Fix input not being in view for 7.1+ 2021-09-07 01:59:46 +02:00
Anders Jenbo
8766946bec [Android] Fix input not being in view for 5.1 - 7.0
This is still broken in Android 7.1.1+
2021-09-06 19:11:21 +02:00
NikoVP
e1db9ba77b Fix some expressions and inconsistencies
Fix text and add optional hellfire requirements to text.
2021-08-19 11:28:24 +02:00
Anders Jenbo
fb279465e9 [android] Build and include translations 2021-08-09 02:19:42 +02:00
Aaron Sun
0aac0f7a01 Update Chinese translation 2021-08-08 13:39:50 +02:00
Anders Jenbo
09f6a49ea3 Upgrade gradle 2021-08-06 13:09:57 +02:00
Anders Jenbo
ad38140956 Backport some SDL 2.0.16-dev features
- Let Android know that we can handle USB devices
- Support wired Amazon Luna gamepad on Android
- Chromebooks support relative mouse motion now
2021-08-06 13:09:57 +02:00
Anders Jenbo
3dd001d6dc [android] Fix default app theme
We can now againn use the NoTitleBar theme since we are not using alert
messagse from the main activity
2021-08-06 13:09:57 +02:00
Anders Jenbo
e21abc9c9e
Portugues android app translation by @maristane 2021-08-02 08:12:08 +02:00
AAS
9762ec0992 Russian strings.xml for android. 2021-08-01 15:42:25 +02:00
Anders Jenbo
522f748179 [android] Detect prefered language 2021-08-01 12:35:24 +02:00
Anders Jenbo
d72b249f2c [android] Enable verbose logging for debug builds 2021-08-01 12:35:24 +02:00
Anders Jenbo
91f7a8b5b8 [android] Add Korean translation by @uwodb 2021-07-31 20:04:03 +02:00