Added TeeWorlds 0.7 project
This commit is contained in:
51
project/jni/application/teeworlds-0.7/AndroidAppSettings.cfg
Normal file
51
project/jni/application/teeworlds-0.7/AndroidAppSettings.cfg
Normal file
@@ -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=
|
||||||
24
project/jni/application/teeworlds-0.7/AndroidPreBuild.sh
Executable file
24
project/jni/application/teeworlds-0.7/AndroidPreBuild.sh
Executable file
@@ -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
|
||||||
BIN
project/jni/application/teeworlds-0.7/icon.png
Normal file
BIN
project/jni/application/teeworlds-0.7/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.7 KiB |
1
project/jni/application/teeworlds-0.7/src
Submodule
1
project/jni/application/teeworlds-0.7/src
Submodule
Submodule project/jni/application/teeworlds-0.7/src added at 16c193eec2
Reference in New Issue
Block a user