From 2920b6151910ce86aa52bba2cd9a11323d4b3553 Mon Sep 17 00:00:00 2001 From: Sergii Pylypenko Date: Fri, 23 Jun 2017 19:09:58 +0300 Subject: [PATCH] OpenTTD: updated --- project/jni/application/openttd/AndroidAppSettings.cfg | 4 ++-- project/jni/application/openttd/src | 2 +- readme.txt | 10 ---------- 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/project/jni/application/openttd/AndroidAppSettings.cfg b/project/jni/application/openttd/AndroidAppSettings.cfg index 236b883be..0be4da4e9 100644 --- a/project/jni/application/openttd/AndroidAppSettings.cfg +++ b/project/jni/application/openttd/AndroidAppSettings.cfg @@ -7,10 +7,10 @@ AppName="OpenTTD" AppFullName=org.openttd.sdl # Application version code (integer) -AppVersionCode=17169 +AppVersionCode=17170 # Application user-visible version name (string) -AppVersionName="1.7.1.69" +AppVersionName="1.7.1.70" # Specify path to download application data in zip archive in the form 'Description|URL|MirrorURL^Description2|URL2|MirrorURL2^...' # If you'll start Description with '!' symbol it will be enabled by default, other downloads should be selected by user from startup config menu diff --git a/project/jni/application/openttd/src b/project/jni/application/openttd/src index 06ffec3f9..3688f7357 160000 --- a/project/jni/application/openttd/src +++ b/project/jni/application/openttd/src @@ -1 +1 @@ -Subproject commit 06ffec3f9027aed9392f68214111994321794cc7 +Subproject commit 3688f73576f9b423d10d8bea8ba532a1f654a6f3 diff --git a/readme.txt b/readme.txt index e1c7b7855..d0fcb49ab 100644 --- a/readme.txt +++ b/readme.txt @@ -232,16 +232,6 @@ This compiler flags will catch most obvious errors, you may add them to AppCflag -Wstrict-aliasing -Wcast-align -Wpointer-arith -Waddress Also beware of the NDK - some system headers contain the code that triggers that warnings. -The application will automatically get moved to SD-card on Android 2.2 or newer, -(or you can install app2sd for older, but rooted phones), -however the shared libraries have to be stored on the device internal storage, -and that may be not desired for older phones with very little storage. -The script app2sd.sh will re-package your .apk file in such a way that -the shared libraries will not be extracted by Android OS but by application itself, -and it will remove them from internal storage right after starting up, -so you still need that space free, but only temporarily. -However your application will start up slower. - SDL supports AdMob advertisements, you need to set your publisher ID inside AndroidAppSettings.cfg, see project test-advertisements for details. Also you can hide or reposition your ad from C code, check out file SDL_android.h for details.