X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=android%2FREADME;h=3b76d7230422b9f0e47026e67492838e37dbaf85;hb=b55db3de3f8db2e7d30aec8bd2e54e812ccbd06e;hp=de9cb1bab91ac03abe7e57b9357b7afb63e6385e;hpb=defbc8a87bbfc67290bdbe413be9b58c27f20b53;p=d2df-sdl.git diff --git a/android/README b/android/README index de9cb1b..3b76d72 100644 --- a/android/README +++ b/android/README @@ -12,15 +12,15 @@ Requirements: * Android NDK >= r16b; * Open JDK >= 8; * FPC >= 3.0.4; -* SDL >= 2.0.7; +* SDL == 2.0.7; * SDL_mixer >= 2.0; -* libenet >= 1.3.13; -* nanoGL. +* libenet >= 1.3.13. -D2DF uses special version of nanoGL ( https://github.com/DeaDDooMER/nanogl ) with some added functions. Build all shared libraries using NDK toolchain and put into directory ./ass/lib/armeabi-v7a/. Also you need to build FPC crosscompiler ( http://wiki.freepascal.org/Android ). -Put game resources into direcotor resources/ (or install it manually into external/internal storage). + +If you want to pack game resources into APK, add it into directory "resources". +If you want to play MIDI music, add instruments and timidity.cfg into directory "resources" (you can grab it from https://www.libsdl.org/projects/SDL_mixer/timidity/timidity.tar.gz). Generate keys: ``` @@ -41,16 +41,10 @@ rm -rf tmp mkdir -p tmp cd ../src/game ppcrossarm \ - -g -gl -dUSE_SDLMIXER -dUSE_NANOGL -O3 \ + -g -gl -dUSE_SDLMIXER -dUSE_GLES1 -O3 \ -Tandroid \ -Cparmv7a \ -Cfvfpv3 \ - -Fi../lib/vampimg \ - -Fi../lib/vampimg/JpegLib \ - -Fi../lib/vampimg/ZLib \ - -Fu../lib/vampimg \ - -Fu../lib/vampimg/JpegLib \ - -Fu../lib/vampimg/ZLib \ -FU../../android/tmp \ -FE../../android/ass/lib/armeabi-v7a \ -Fl../../android/ass/lib/armeabi-v7a \