author Wuzzy <>
Wed, 13 Apr 2016 12:17:30 +0200
changeset 11765 10860d4bca22
parent 9369 b96988134dc6
permissions -rwxr-xr-x
Add sound effects for: cleaver impact, air mine impact, using extra time

download_and_zip (){
    echo "Downloading: $1"
    curl -silent -o $1 #grab the zips from an url
    unzip -qq  -d SDL-android-project/jni/tmp #unzip it to a tmp file
    rm -fr SDL-android-project/jni/$2 #remove any old dirs, we will get those files back with hg revert in CMakeList
    mv SDL-android-project/jni/tmp/* SDL-android-project/jni/$2 #move the tmp dir to the jni directory
    rm #remove old tmp dir
download_and_zip jpeg
download_and_zip png
download_and_zip SDL_image
download_and_zip SDL_mixer
download_and_zip mikmod #temporary url since the site doesn't work at the moment
download_and_zip SDL_net
download_and_zip SDL_ttf
download_and_zip SDL