Updated hHeretic, this is not yet usable because there's no button to change weapons

This commit is contained in:
pelya
2012-06-11 17:36:07 +03:00
parent bfdcd53be0
commit 6c03bdc131
7 changed files with 24 additions and 12 deletions

View File

@@ -657,7 +657,6 @@ int main(int argc, char* argv[])
SDL_FillRect(screen, &r, color);
SDL_Flip(SDL_GetVideoSurface());
__android_log_print(ANDROID_LOG_INFO, "Ballfield", "SDL_Flip");
SDL_Event evt;
while( SDL_PollEvent(&evt) )
{

View File

@@ -1,33 +1,46 @@
# The application settings for Android libSDL port
AppSettingVersion=15
AppSettingVersion=17
LibSdlVersion=1.2
AppName="hHeretic"
AppFullName=net.hheretic.sdl
ScreenOrientation=h
InhibitSuspend=n
AppDataDownloadUrl="Data files size is 19 Mb|https://sites.google.com/site/andgamdev/heretic-data.zip?attredirects=0&d=1"
AppDataDownloadUrl="Data files|heretic-shareware.zip"
VideoDepthBpp=16
NeedDepthBuffer=n
NeedStencilBuffer=n
NeedGles2=n
SwVideoMode=y
SdlVideoResize=y
SdlVideoResizeKeepAspect=n
NeedDepthBuffer=n
CompatibilityHacks=n
CompatibilityHacksStaticInit=n
AppUsesMouse=y
AppNeedsTwoButtonMouse=n
ShowMouseCursor=n
ForceRelativeMouseMode=n
AppNeedsArrowKeys=y
AppNeedsTextInput=y
AppUsesJoystick=n
AppHandlesJoystickSensitivity=n
AppUsesMultitouch=n
NonBlockingSwapBuffers=n
RedefinedKeys="SPACE RETURN TAB LCTRL SPACE"
AppTouchscreenKeyboardKeysAmount=3
AppTouchscreenKeyboardKeysAmountAutoFire=0
RedefinedKeys="SPACE RETURN NO_REMAP NO_REMAP SPACE"
AppTouchscreenKeyboardKeysAmount=6
AppTouchscreenKeyboardKeysAmountAutoFire=2
RedefinedKeysScreenKb="LCTRL LALT SPACE TAB RIGHTBRACKET RETURN"
StartupMenuButtonTimeout=3000
HiddenMenuOptions='OptionalDownloadConfig DisplaySizeConfig'
FirstStartMenuOptions=''
MultiABI=n
AppVersionCode=02201
AppVersionName="0.2.2.01"
ResetSdlConfigForThisVersion=y
DeleteFilesOnUpgrade="%"
CompiledLibraries="jpeg png sdl_mixer"
CustomBuildScript=y
AppCflags=''
AppLdflags=''
AppSubdirsBuild=''
AppUseCrystaXToolchain=n
AppCmdline=' -waddir .'
AppCmdline='heretic -waddir .'
ReadmeText='^You may press "Home" now - the data will be downloaded in background'

View File

@@ -5,10 +5,11 @@ LOCAL_PATH=`cd $LOCAL_PATH && pwd`
ln -sf libsdl_mixer.so $LOCAL_PATH/../../../obj/local/armeabi/libSDL_mixer.so
[ -e hheretic-0.2.2-src ] || curl --location "http://sourceforge.net/project/downloading.php?group_id=4501&filename=hheretic-0.2.2-src.tgz" | gunzip | tar xv
cd hheretic-0.2.2-src
if [ \! -f Makefile ] ; then
../../launchConfigure.sh --disable-gl
../../setEnvironment.sh ./configure --host=arm-linux-androideabi --disable-gl --without-x
fi
rm -f ../libapplication.so
make
make -j4 CPPFLAGS="-include SDL_main.h -Iinclude -I."
mv -f hheretic-sdl ../libapplication.so

View File

@@ -1 +0,0 @@
opentyrian