From c03e52a4a5fcd3775ccfe45654ec7ee42fc903e6 Mon Sep 17 00:00:00 2001 From: pelya Date: Fri, 28 Dec 2012 19:18:32 +0200 Subject: [PATCH] Updated TeeWorlds project --- .../jni/application/teeworlds/AndroidAppSettings.cfg | 9 ++++++--- project/jni/application/teeworlds/readme.txt | 11 +++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 project/jni/application/teeworlds/readme.txt diff --git a/project/jni/application/teeworlds/AndroidAppSettings.cfg b/project/jni/application/teeworlds/AndroidAppSettings.cfg index d65bd2bb2..b9c7d075b 100644 --- a/project/jni/application/teeworlds/AndroidAppSettings.cfg +++ b/project/jni/application/teeworlds/AndroidAppSettings.cfg @@ -16,14 +16,16 @@ SdlVideoResizeKeepAspect=n CompatibilityHacks=n CompatibilityHacksStaticInit=n CompatibilityHacksTextInputEmulatesHwKeyboard=n +CompatibilityHacksPreventAudioChopping=n +CompatibilityHacksAppIgnoresAudioBufferSize=n AppUsesMouse=y AppNeedsTwoButtonMouse=n ShowMouseCursor=n ForceRelativeMouseMode=n -AppNeedsArrowKeys=n -AppNeedsTextInput=n +AppNeedsArrowKeys=y +AppNeedsTextInput=y AppUsesJoystick=y -AppUsesAccelerometer=y +AppUsesAccelerometer=n AppUsesMultitouch=n NonBlockingSwapBuffers=n RedefinedKeys="SPACE RETURN NO_REMAP NO_REMAP" @@ -34,6 +36,7 @@ StartupMenuButtonTimeout=3000 HiddenMenuOptions='OptionalDownloadConfig DisplaySizeConfig' FirstStartMenuOptions='' MultiABI=n +AppMinimumRAM=0 AppVersionCode=06108 AppVersionName="0.6.1.08" ResetSdlConfigForThisVersion=y diff --git a/project/jni/application/teeworlds/readme.txt b/project/jni/application/teeworlds/readme.txt new file mode 100644 index 000000000..376eb3b83 --- /dev/null +++ b/project/jni/application/teeworlds/readme.txt @@ -0,0 +1,11 @@ +Quick compilation guide for Debian/Ubuntu (Windows is not supported, MacOsX should be okay though): +Download SDL Git repo from https://github.com/pelya/commandergenius, +install latest Android SDK, Android NDK r8b or newer, and "ant" tool (sudo apt-get install ant), +then launch commands: + git submodule update --init project/jni/application/teeworlds/src + rm project/jni/application/src # ignore the error + ln -s teeworlds project/jni/application/src + ./changeAppSettings.sh -a + android update project -p project + ./build.sh +That should do it.