SuperTux: updated

This commit is contained in:
Sergii Pylypenko
2015-12-25 20:50:34 +02:00
parent c1cb538f2e
commit 06fae348e2
9 changed files with 116 additions and 21 deletions

View File

@@ -7,10 +7,10 @@ AppName="SuperTux"
AppFullName=org.lethargik.supertux2
# Application version code (integer)
AppVersionCode=03508
AppVersionCode=04008
# Application user-visible version name (string)
AppVersionName="0.3.5a.08"
AppVersionName="0.4.0.08"
# 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
@@ -18,13 +18,13 @@ AppVersionName="0.3.5a.08"
# 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
# You can specify Google Play expansion files in the form 'obb:main.12345' or 'obb:patch.12345' where 12345 is the app version, first associated with the file
AppDataDownloadUrl="!Data files|:data.zip:obb:main.3508|:data.zip:http://sourceforge.net/projects/libsdl-android/files/SuperTux/data-4.zip^!SSL certificates|:ca-certificates.crt:ca-certificates.crt"
AppDataDownloadUrl="!Data files|:data.zip:obb:main.4008|:data.zip:http://sourceforge.net/projects/libsdl-android/files/SuperTux/data-5.zip^!SSL certificates|:ca-certificates.crt:ca-certificates.crt"
# 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=""
DeleteFilesOnUpgrade="fonts images levels locale music scripts sounds speech"
# Here you may type readme text, which will be shown during startup. Format is:
# Text in English, use \\\\n to separate lines (that's four backslashes)^de:Text in Deutsch^ru:Text in Russian^button:Button that will open some URL:http://url-to-open/
@@ -80,6 +80,14 @@ CompatibilityHacksStaticInit=n
# On-screen Android soft text input emulates hardware keyboard, this will only work with Hackers Keyboard app (y)/(n)
CompatibilityHacksTextInputEmulatesHwKeyboard=n
# Built-in text input keyboards with custom layouts for emulators, requires CompatibilityHacksTextInputEmulatesHwKeyboard=y
# 0 or empty - standard Android keyboard
# 1 - Simple QWERTY keyboard, no function keys, no arrow keys
# 2 - Commodore 64 keyboard
# 3 - Amiga keyboard
# 4 - Atari800 keyboard
TextInputKeyboard=
# Hack for broken devices: prevent audio chopping, by sleeping a bit after pushing each audio chunk (y)/(n)
CompatibilityHacksPreventAudioChopping=n
@@ -113,6 +121,9 @@ RightMouseButtonLongPress=n
# Show SDL mouse cursor, for applications that do not draw cursor at all (y) or (n)
ShowMouseCursor=n
# Screen follows mouse cursor, when it's covered by soft keyboard, this works only in software video mode (y) or (n)
ScreenFollowsMouse=
# Generate more touch events, by default SDL generates one event per one video frame, this is useful for drawing apps (y) or (n)
GenerateSubframeTouchEvents=n
@@ -145,6 +156,9 @@ AppUsesAccelerometer=n
# Application uses gyroscope (y) or (n), the gyroscope will be used as joystick 1 axes 2-4
AppUsesGyroscope=n
# Application uses orientation sensor (y) or (n), reported as joystick 1 axes 8-10
AppUsesOrientationSensor=
# Use gyroscope to move mouse cursor (y) or (n), it eats battery, and can be disabled in settings, do not use with AppUsesGyroscope setting
MoveMouseWithGyroscope=n
@@ -188,10 +202,16 @@ RedefinedKeysScreenKb="SPACE LCTRL"
RedefinedKeysScreenKbNames="Jump Action"
# On-screen keys theme
# 0 = Ultimate Droid by Sean Stieber (green, with gamepad joystick)
# 1 = Simple Theme by Beholder (white, with gamepad joystick)
# 0 = Ultimate Droid by Sean Stieber (green, with cross joystick)
# 1 = Simple Theme by Beholder (white, with cross joystick)
# 2 = Sun by Sirea (yellow, with round joystick)
# 3 = Keen by Gerstrong (multicolor, with round joystick)
# 4 = Retro by Santiago Radeff (red/white, with cross joystick)
# 5 = GameBoy from RetroArch
# 6 = PlayStation from RetroArch
# 7 = SuperNintendo from RetroArch
# 8 = DualShock from RetroArch
# 9 = Nintendo64 from RetroArch
TouchscreenKeysTheme=3
# Redefine gamepad keys to SDL keysyms, button order is:

View File

@@ -0,0 +1 @@
../supertux/data/images/background/bluemountain-middle.png

View File

@@ -3,8 +3,9 @@
if [ -e supertux/patched.successfully ]; then
exit 0
else
# Google Code fails to send shallow repository, so we're checking out everything
git clone https://github.com/SuperTux/supertux.git && patch -p1 -d supertux < android.diff && touch supertux/patched.successfully || exit 1
git clone https://github.com/SuperTux/supertux.git || exit 1
git -C supertux submodule update --init || exit 1
patch -p1 -d supertux < android.diff && touch supertux/patched.successfully || exit 1
ln -sf supertux/data/images/engine/icons/supertux-256x256.png icon.png
ln -sf ../supertux/data/images/engine/menu/logo.png AndroidData/logo.png
fi

View File

@@ -1,13 +1,3 @@
diff --git a/configure b/configure
index b728243..75a4bb4 100755
--- a/configure
+++ b/configure
@@ -6,4 +6,4 @@ set -e
mkdir -p build
cd build
cmake .. "$@"
-
+make -j8
diff --git a/src/control/controller.cpp b/src/control/controller.cpp
index 49996e2..6ad4ed8 100644
--- a/src/control/controller.cpp

View File

@@ -0,0 +1 @@
supertux/data/images/engine/icons/supertux-256x256.png

View File

@@ -0,0 +1,41 @@
#ifndef SQUIRREL_API_H
#define SQUIRREL_API_H
#ifdef squirrel_BUILT_AS_STATIC
# define SQUIRREL_API
# define SQUIRREL_NO_EXPORT
#else
# ifndef SQUIRREL_API
# ifdef squirrel_EXPORTS
/* We are building this library */
# define SQUIRREL_API
# else
/* We are using this library */
# define SQUIRREL_API
# endif
# endif
# ifndef SQUIRREL_NO_EXPORT
# define SQUIRREL_NO_EXPORT
# endif
#endif
#ifndef SQUIRREL_DEPRECATED
# define SQUIRREL_DEPRECATED __attribute__ ((__deprecated__))
#endif
#ifndef SQUIRREL_DEPRECATED_EXPORT
# define SQUIRREL_DEPRECATED_EXPORT SQUIRREL_API SQUIRREL_DEPRECATED
#endif
#ifndef SQUIRREL_DEPRECATED_NO_EXPORT
# define SQUIRREL_DEPRECATED_NO_EXPORT SQUIRREL_NO_EXPORT SQUIRREL_DEPRECATED
#endif
#define DEFINE_NO_DEPRECATED 0
#if DEFINE_NO_DEPRECATED
# define SQUIRREL_NO_DEPRECATED
#endif
#endif

View File

@@ -0,0 +1,41 @@
#ifndef TINYGETTEXT_API_H
#define TINYGETTEXT_API_H
#ifdef tinygettext_BUILT_AS_STATIC
# define TINYGETTEXT_API
# define TINYGETTEXT_NO_EXPORT
#else
# ifndef TINYGETTEXT_API
# ifdef tinygettext_EXPORTS
/* We are building this library */
# define TINYGETTEXT_API __attribute__((visibility("default")))
# else
/* We are using this library */
# define TINYGETTEXT_API __attribute__((visibility("default")))
# endif
# endif
# ifndef TINYGETTEXT_NO_EXPORT
# define TINYGETTEXT_NO_EXPORT __attribute__((visibility("hidden")))
# endif
#endif
#ifndef TINYGETTEXT_DEPRECATED
# define TINYGETTEXT_DEPRECATED __attribute__ ((__deprecated__))
#endif
#ifndef TINYGETTEXT_DEPRECATED_EXPORT
# define TINYGETTEXT_DEPRECATED_EXPORT TINYGETTEXT_API TINYGETTEXT_DEPRECATED
#endif
#ifndef TINYGETTEXT_DEPRECATED_NO_EXPORT
# define TINYGETTEXT_DEPRECATED_NO_EXPORT TINYGETTEXT_NO_EXPORT TINYGETTEXT_DEPRECATED
#endif
#define DEFINE_NO_DEPRECATED 0
#if DEFINE_NO_DEPRECATED
# define TINYGETTEXT_NO_DEPRECATED
#endif
#endif

View File

@@ -1,4 +1,4 @@
#ifndef VERSION_H
#define VERSION_H
#define PACKAGE_VERSION "0.3.4-GIT commit '5e32f9729857c1322c2cf7d627f6e1692e15020b' "
#define PACKAGE_VERSION "v0.4.0"
#endif