forked from albertz/commandergenius
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
project/jni/application/teeworlds-0.7/AndroidAppSettings.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# The application settings for Android libSDL port | ||
AppSettingVersion=17 | ||
LibSdlVersion=1.2 | ||
AppName="TeeWorlds" | ||
AppFullName=com.teeworlds | ||
ScreenOrientation=h | ||
InhibitSuspend=n | ||
AppDataDownloadUrl="Game data|data.zip" | ||
VideoDepthBpp=24 | ||
NeedDepthBuffer=n | ||
NeedStencilBuffer=n | ||
NeedGles2=n | ||
SwVideoMode=n | ||
SdlVideoResize=n | ||
SdlVideoResizeKeepAspect=n | ||
CompatibilityHacks=n | ||
CompatibilityHacksStaticInit=n | ||
CompatibilityHacksTextInputEmulatesHwKeyboard=n | ||
AppUsesMouse=y | ||
AppNeedsTwoButtonMouse=n | ||
ShowMouseCursor=n | ||
ForceRelativeMouseMode=n | ||
AppNeedsArrowKeys=y | ||
AppNeedsTextInput=y | ||
AppUsesJoystick=y | ||
AppUsesAccelerometer=y | ||
AppUsesMultitouch=y | ||
NonBlockingSwapBuffers=n | ||
RedefinedKeys="SPACE RETURN LEFT RIGHT LSHIFT ESCAPE RSHIFT LSHIFT" | ||
AppTouchscreenKeyboardKeysAmount=6 | ||
AppTouchscreenKeyboardKeysAmountAutoFire=0 | ||
RedefinedKeysScreenKb="SPACE RETURN LEFT RIGHT RSHIFT LSHIFT" | ||
StartupMenuButtonTimeout=3000 | ||
HiddenMenuOptions='OptionalDownloadConfig DisplaySizeConfig' | ||
FirstStartMenuOptions='' | ||
MultiABI=n | ||
AppVersionCode=07008 | ||
AppVersionName="0.7.0.08" | ||
ResetSdlConfigForThisVersion=y | ||
DeleteFilesOnUpgrade="data" | ||
CompiledLibraries="sdl_image freetype glu" | ||
CustomBuildScript=n | ||
AppCflags='-O3' | ||
AppLdflags='-lEGL' | ||
AppSubdirsBuild='src/src src/src/base src/src/engine src/src/engine/client src/src/engine/shared src/src/engine/external/pnglite src/src/engine/external/wavpack src/src/game src/src/game/client/* src/src/game/editor src/src/game/generated/protocol.cpp src/src/game/generated/client_data.cpp' | ||
AppCmdline='' | ||
ReadmeText='^You may press "Home" now - the data will be downloaded in background' | ||
MinimumScreenSize=n | ||
AdmobPublisherId=n | ||
AdmobTestDeviceId= | ||
AdmobBannerSize= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/sh | ||
|
||
LOCAL_PATH=`dirname $0` | ||
LOCAL_PATH=`cd $LOCAL_PATH && pwd` | ||
|
||
echo "Building autogenerated files" | ||
python --version > /dev/null 2>&1 || { echo "Error: no Python installed" ; exit 1 ; } | ||
|
||
cd $LOCAL_PATH/src | ||
python datasrc/compile.py network_source > src/game/generated/protocol.cpp | ||
python datasrc/compile.py network_header > src/game/generated/protocol.h | ||
python datasrc/compile.py client_content_source > src/game/generated/client_data.cpp | ||
python datasrc/compile.py client_content_header > src/game/generated/client_data.h | ||
python datasrc/compile.py server_content_source > src/game/generated/server_data.cpp | ||
python datasrc/compile.py server_content_header > src/game/generated/server_data.h | ||
|
||
python scripts/cmd5.py src/engine/shared/protocol.h src/game/generated/protocol.h src/game/tuning.h src/game/gamecore.cpp src/game/generated/protocol.h > src/game/generated/nethash.cpp | ||
|
||
echo "Archiving data" | ||
mkdir -p ../AndroidData | ||
zip -r data.zip data *.txt *.cfg >/dev/null | ||
mv -f data.zip ../AndroidData/ | ||
|
||
exit 0 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Submodule src
added at
16c193