From 3efb894259bf5c013356db61e57028a7d8b4a4e4 Mon Sep 17 00:00:00 2001 From: Sergii Pylypenko Date: Fri, 14 Mar 2014 23:30:45 +0200 Subject: [PATCH] Enabled widescreen mode and 24bpp color depth in OpenTTD --- project/jni/application/openttd/AndroidAppSettings.cfg | 10 +++++----- .../{openttd-1.3.0.25.cfg => openttd-1.4.0.27.cfg} | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) rename project/jni/application/openttd/AndroidData/{openttd-1.3.0.25.cfg => openttd-1.4.0.27.cfg} (86%) diff --git a/project/jni/application/openttd/AndroidAppSettings.cfg b/project/jni/application/openttd/AndroidAppSettings.cfg index 6f8d4c0bc..4af6c6deb 100644 --- a/project/jni/application/openttd/AndroidAppSettings.cfg +++ b/project/jni/application/openttd/AndroidAppSettings.cfg @@ -18,10 +18,10 @@ AppVersionName="1.4.0.27" # If the URL does not contain 'http://' it is treated as file from 'project/jni/application/src/AndroidData' dir - # these files are put inside .apk package by build system # Also please avoid 'https://' URLs, many Android devices do not have trust certificates and will fail to connect to SF.net over HTTPS -AppDataDownloadUrl="!!Data files - 20 Mb|http://sourceforge.net/projects/libsdl-android/files/OpenTTD/openttd-1.4.0-beta5.zip/download^!MIDI music support (18 Mb)|timidity.zip|http://sourceforge.net/projects/libsdl-android/files/timidity.zip^!!Config file|:.openttd/openttd.cfg:openttd-1.3.0.25.cfg^!!Internationalization files|http://sourceforge.net/projects/libsdl-android/files/icudt52l.zip/download" +AppDataDownloadUrl="!!Data files - 20 Mb|http://sourceforge.net/projects/libsdl-android/files/OpenTTD/openttd-1.4.0-beta5.zip/download^!MIDI music support (18 Mb)|timidity.zip|http://sourceforge.net/projects/libsdl-android/files/timidity.zip^!!Config file|:.openttd/openttd.cfg:openttd-1.4.0.27.cfg^!!Internationalization files|http://sourceforge.net/projects/libsdl-android/files/icudt52l.zip/download" # Reset SDL config when updating application to the new version (y) / (n) -ResetSdlConfigForThisVersion=n +ResetSdlConfigForThisVersion=y # Delete application data files when upgrading (specify file/dir paths separated by spaces) DeleteFilesOnUpgrade="%" @@ -38,7 +38,7 @@ ScreenOrientation=h # Video color depth - 16 BPP is the fastest and supported for all modes, 24 bpp is supported only # with SwVideoMode=y, SDL_OPENGL mode supports everything. (16)/(24)/(32) -VideoDepthBpp=16 +VideoDepthBpp=24 # Enable OpenGL depth buffer (needed only for 3-d applications, small speed decrease) (y) or (n) NeedDepthBuffer=n @@ -201,7 +201,7 @@ FirstStartMenuOptions='' # Enable multi-ABI binary, with hardware FPU support - it will also work on old devices, # but .apk size is 2x bigger (y) / (n) / (x86) / (all) -MultiABI='armeabi-v7a' +MultiABI='all' # Minimum amount of RAM application requires, in Mb, SDL will print warning to user if it's lower AppMinimumRAM=0 @@ -230,7 +230,7 @@ AppSubdirsBuild='' AppBuildExclude='' # Application command line parameters, including app name as 0-th param -AppCmdline='openttd -d 1' +AppCmdline='openttd -d 1 -b 32bpp-anim' # Screen size is used by Google Play to prevent an app to be installed on devices with smaller screens # Minimum screen size that application supports: (s)mall / (m)edium / (l)arge diff --git a/project/jni/application/openttd/AndroidData/openttd-1.3.0.25.cfg b/project/jni/application/openttd/AndroidData/openttd-1.4.0.27.cfg similarity index 86% rename from project/jni/application/openttd/AndroidData/openttd-1.3.0.25.cfg rename to project/jni/application/openttd/AndroidData/openttd-1.4.0.27.cfg index cb21879e9..c95b6cc34 100644 --- a/project/jni/application/openttd/AndroidData/openttd-1.3.0.25.cfg +++ b/project/jni/application/openttd/AndroidData/openttd-1.4.0.27.cfg @@ -1,6 +1,6 @@ [misc] -resolution = 640,480 +resolution = 854,480 small_font = medium_font = large_font = @@ -21,5 +21,5 @@ opengfx+biggui.grf = [gui] left_mouse_btn_scrolling = true -osk_activation = immediately +osk_activation = double