Commit Graph

185 Commits

Author SHA1 Message Date
Linjie Pan
6a7f5c0985 Fix misuse of AsyncTask (#8799) 2019-09-19 00:37:06 +02:00
hannesa2
33fdd48a76 Update Gradle to 5.5.1 (#8771) 2019-08-12 18:59:53 +02:00
sfan5
ca363d3ef8 Unify OpenGL ES support 2019-08-04 16:12:52 +02:00
rubenwardy
9541165752 Add styles to most elements 2019-08-03 19:36:30 +01:00
rubenwardy
d1a1c5cbf0 Add custom colorable GUIButton implementation 2019-08-03 19:36:30 +01:00
stujones11
b917ea4723 Add IGUIScrollbar implementation with variable bar sizes (#8507) 2019-05-24 16:42:05 +01:00
Loic Blot
250420e566
Add Android keystore to the repository
Password is not included :)
2019-03-05 08:35:15 +01:00
Loïc Blot
1af248b409
Bump android version code 2019-03-03 23:59:24 +01:00
Loïc Blot
111f1dc9c5 Revert "Revert CSM particles commit to fix particle spawner bug for 5.0.0 (#8288)"
This reverts commit 01cd63bd3bca0192dab2834faf414b022706a77e.
2019-02-26 08:53:53 +01:00
Paramat
01cd63bd3b
Revert CSM particles commit to fix particle spawner bug for 5.0.0 (#8288)
Reverts 5dab7426451842793b183fbd961ad2ae83c8acbd
"[CSM] Add functions to create particles and particlespawners."
2019-02-26 04:26:25 +00:00
Loïc Blot
0acdf93683 Android build fixes
This fixes #8079
2019-01-09 14:39:43 +01:00
Loïc Blot
9854340c0b Drop libgmp on Android and use mini-gmp (#8047) 2019-01-04 16:45:37 +01:00
Loïc Blot
6b978f88e3 Bump android version code for next Play Store version 2019-01-04 14:16:45 +01:00
stujones11
b8b33a6423 Android: Fix start-up crashes on version 4.x (#8003)
* Android: Load shared STL library

* Android: Fix exception with window background image
2018-12-22 19:02:00 +01:00
SmallJoker
05f3dbfa68 Android: Add activeobjectmgr.cpp and ieee_float.cpp, sort list 2018-12-14 20:35:43 +01:00
Loic Blot
56f22bfa5c
Gradle now copy most of assets
It depends on cleanAssets, ensuring they are always fresh
2018-12-05 20:08:46 +01:00
Loic Blot
ae8d14b009
Update android version code (rebuild) 2018-12-04 19:13:06 +01:00
stujones11
48208c1cd2 Re-master and improve touchscreen gui icons (#7931)
Increase the resolution of the smaller icons to look better on modern HD screens.
All master SVGs included in the the Android build directory.
2018-12-03 21:35:31 +00:00
Maksim
f70f7875e2 Update Android java code (#7820)
Targets SDK 26 as required by the playstore.
Fixes screen auto-rotation closing game.
Hides on-screen navigation bar if present.

Update gradlew.
Fix display aspect on 18+/:9 displays (like a Samsung Galaxy S9).
Remove small app icons, not required.
Fix xml in unpacking activity.
Support Android permission: On Android 6.0+ you need to manually give write
permission (as required by google).
Background during unpacking (just a demo for now).
Material Design: no more Android 2 interface.
Immersive mode (Android 4.4+ - hide NavBar for fullscreen mode).
2018-12-02 23:39:35 +00:00
Quentin Bazin
5f1cd555cd Move client-specific files to 'src/client' (#7902)
Update Android.mk
Remove 'src/client' from include_directories
2018-11-28 20:01:49 +01:00
stujones11
323c860045 Move touchscreen input handling to base GUIModalMenu class 2018-10-29 15:37:44 +01:00
Lourens-Rich
65af7d2fb6 Fix "Hunk #1 FAILED at 9 (different line endings)." 2018-09-23 14:03:05 +02:00
Ben Deutsch
153fb211ac Replace auth.txt with SQLite auth database (#7279)
* Replace auth.txt with SQLite auth database
2018-08-05 13:13:38 +02:00
Loic Blot
9855651c06
Update gradle android tool to 3.1.3
Thanks to Monte48 for the correct maven URL outside of android studio
2018-07-22 13:03:31 +02:00
lhofhansl
94cd2bfeac Revert 6587 - Optimize entity-entity collision (#7539) 2018-07-08 21:30:55 +01:00
Loïc Blot
7d20ff47d7
Backport Android cleanup parts from #7123 (#7513)
Also resync properly the dependencies versions.

Don't let the makefile handle the cleanups itself. Let gradle do it.

This is one of the first steps to remove the makefile and replace it with a full gradle support
2018-07-01 12:23:38 +02:00
Loïc Blot
eef62c82a2
Modernize lua read (part 2 & 3): C++ templating assurance (#7410)
* Modernize lua read (part 2 & 3): C++ templating assurance

Implement the boolean reader
Implement the string reader
Also remove unused & unimplemented script_error_handler
Add a reader with default value
2018-06-30 17:11:38 +02:00
Loic Blot
2513886969
Bump android version to 20 2018-06-28 19:11:34 +02:00
Loic Blot
caab9e51a4
Update cURL (7.60.0) & SQLite3 (3.24.0) 2018-06-28 19:11:31 +02:00
Loic Blot
142ce6a5d2
Android: gradle 3.1.3 is not available on mavenCentral
Also update wrapper
2018-06-11 20:38:31 +02:00
Loïc Blot
2b30f8b849
Android: fix tools versions
Resync with stable-0.4
2018-06-11 19:19:06 +02:00
Loïc Blot
956a0ba180
Android: fix assets cleanup 2018-06-11 19:18:34 +02:00
Loic Blot
2e18a2d68c
Bump android version for next release 2018-06-10 18:30:25 +02:00
Loic Blot
5966e897e4
Android: use c++_shared library instead of c++_static
MT doesn't launch without that
2018-06-10 17:57:29 +02:00
Loic Blot
057f1574cb
Fix many Android build issues
It remains one issue with MT itself and rtti
2018-06-10 17:54:44 +02:00
SmallJoker
63ca604b64 Fix Android build, broken since 87ad4d8 2018-04-21 10:17:16 +02:00
rubenwardy
87ad4d8e7f
Add online content repository
Replaces mods and texture pack tabs with a single content tab
2018-04-19 20:14:53 +01:00
rubenwardy
91615f9588 Add player:get_meta(), deprecate player attributes (#7202)
* Add player:get_meta(), deprecate player attributes
2018-04-06 10:52:29 +02:00
Vitaliy
528908a4c3 Optimize entity-entity collision (#6587)
* Add IrrLicht type aliases
* Add hash for IrrLicht vector
* Add object map
2018-04-03 08:23:46 +02:00
Loïc Blot
4fd9715876
Cleanup sound manager class (#7158)
* Cleanup sound manager client

* Use some const refs
* Use auto on iterators
* Drop unused parameters
* Move sound_openal.* to client folder
* Move sound.cpp + OnDemandSoundFetcher to client/ folder + reorganize includes properly
2018-03-24 15:45:25 +01:00
Vitaliy
9fcc0c1217 Update mesh collector and move it to a separate file (#6904)
* Update MeshCollector

* Simplify MeshCollector
2018-03-22 20:59:49 +01:00
Loic Blot
c34d28bad6
Add missing file to android build 2018-03-17 12:13:42 +01:00
Loic Blot
1106109998
Android: typo fix since recent gradle update, as output path changed 2018-03-11 18:22:11 +01:00
Loic Blot
a1c5a01142
Fix Android build, but there is a remaining linking issue in guiConfirmRegistration
* Also fix variable name overloading in guiConfirmRegistration
2018-03-11 17:45:58 +01:00
stujones11
22a891a925
Android build fixes for c++11 2018-03-11 16:56:27 +01:00
Loic Blot
69247ca223
Android: update tools (gradle, NDK) & prepare to switch to clang 2018-03-11 16:52:53 +01:00
red-001
5dab742645 [CSM] Add functions to create particles and particlespawners. (#6072) 2018-01-20 23:31:53 +01:00
Loic Blot
99c9e7a986 Game refactor [4/X]: keycache is now owned by InputHandler
* Make InputHandler own the key cache
* Add a helper function InputHandler::cancelPressed to avoid multiple similar calls in game.cpp
* Move RandomInputHandler::step definition into cpp file
2018-01-20 16:38:38 +01:00
red-001
9649e47214 [CSM] Add basic HUD manipulation. (#6067)
* [CSM] Add basic HUD manipulation.

Workaround for on_connect not working right now.
2018-01-20 14:09:58 +01:00
Wayward One
ff2ceed381 Prevent Android from automatically locking display (#6876)
As mentioned in #5759
2018-01-04 21:18:18 +01:00