Commit Graph

801 Commits

Author SHA1 Message Date
pelya fb4ccea118 Updated description of advertisement API, added function to request new ad. 2012-09-12 13:32:45 +03:00
pelya da1e88e3b8 Enabled -O3 aggressive optimization, seems to compile and work okay. 2012-09-06 19:48:34 +03:00
pelya 6dec5b8a1e Implemented moving/hiding ad from C code, updated admob test project with moving ad 2012-09-06 19:41:40 +03:00
pelya 8c54a7643d Bit depth test 2012-09-06 18:55:54 +03:00
pelya 96e640f78e AdMob support added, you cannot yet hide or reposition the ad from the C code. Also did some cleanup on include files. 2012-09-05 21:26:35 +03:00
pelya 5b21ee268c Disabled RTTI and exceptions, added section to readme how to enable them 2012-09-03 19:57:32 +03:00
pelya 0bcc440e37 Updated openArena 2012-08-27 23:57:29 +03:00
pelya 4a5d0d8880 Kind of fixed one random crash reported by slvn 2012-08-15 11:58:06 +03:00
pelya 046e36acd3 Put app data files into correct place instead of /sdcard/app-data/.. 2012-08-13 23:08:28 +03:00
pelya 254c957fdc Added readme for OpenArena project 2012-08-12 22:29:15 +03:00
pelya 8cc8be429c Updated OpenArena project 2012-08-12 22:08:29 +03:00
pelya 3ee1c890b1 Change to the Recent Apps button behavior on Android 4.X - now it will delete OpenGL context, and freeze the app. 2012-08-12 19:14:08 +03:00
pelya 4ccba0347a Renamed a function 2012-08-12 18:01:16 +03:00
pelya e46400f500 Fixes to OpenTyrian compilation 2012-08-08 02:17:06 +03:00
Bernhard Kaindl 32805bdbeb Android manages the livecycle of Android apps, therefore:
Title menu: Remove the menu entry "Quit" and give the others more space
2012-08-07 14:48:42 +02:00
Bernhard Kaindl 4f4708e4cb Useful fixes and Improvements:
- Stop audio playback on ICS when back was pressed while playing a level.
- In-Game setup menu: Change game speed / detail level once per touch
2012-08-07 14:28:12 +02:00
Bernhard Kaindl 49d8e7dbeb Initial commit of handling of onPause()
onPause() is called on ICS when the back button is pressed before the task lists
is shown. With this commit, opentyrian pauses an ongoing level and waits for a key
before continuing it.

It does however not silence the music, which may be desirable as well
(to be added with the next commit)
2012-08-07 14:03:20 +02:00
Bernhard Kaindl 267b9174eb Show the soft keyboard provided by Android without a text field
for pure text input for editing the name of the savegame.
2012-08-07 13:28:55 +02:00
Bernhard Kaindl cb96c4e85f Add touch input support in opentyrian menu, 5th commit:
Destruct is not adapted for touch input, so we show it only if keyboard is used.
2012-08-07 11:32:27 +02:00
Bernhard Kaindl db06210606 Add touch input support in opentyrian menu, 4th commit:
This adds support for changing the song in the Jukebox by touch.
2012-08-07 11:31:04 +02:00
Bernhard Kaindl 6bf5a97c15 Add touch input support in opentyrian menu, third commit:
- Add support for changing the software scaler in the menu by touch
2012-08-07 11:27:06 +02:00
Bernhard Kaindl dab7890e46 Add touch input support in opentyrian menu, second commit:
This fixes opentyrian menu rendering (broken in last commit to split changes)
2012-08-07 11:23:44 +02:00
Bernhard Kaindl 2cc6076e70 Add touch input support in opentyrian menu, initial commit:
Note: This breaks menu rendering a but, fixed in subsequent commits
Use select_menuitem_by_touch() to support touch input in opentyrian menu
2012-08-07 10:55:44 +02:00
Bernhard Kaindl 178a208b0d Use select_menuitem_by_touch() to support touch input in in-game setup menu. 2012-08-07 10:49:21 +02:00
Bernhard Kaindl 3036e4f0a3 Use select_menuitem_by_touch() to support touch input in difficulty menu 2012-08-07 10:40:22 +02:00
Bernhard Kaindl 728d2eca1a Use select_menuitem_by_touch() to support touch input in the episode menu 2012-08-07 10:37:53 +02:00
Bernhard Kaindl 7d953b3645 Use select_menuitem_by_touch() to support touch input in gameplay(player) menu 2012-08-07 10:35:56 +02:00
Bernhard Kaindl fcc15ae092 JE_titleScreen(): Use select_menuitem_by_touch() to support touch input
in the title screen:
- modified:   project/jni/application/opentyrian/src/tyrian2.cpp
2012-08-07 10:28:41 +02:00
Bernhard Kaindl 2cd039e9fd First commit to prepare menu support for touch-based Android input:
Preparation to convert start menus from mouse move input (which does not work
at all with touch screen devices) to touch input:

New function select_menuitem_by_touch(), to be used in the next commits:
- modified:   project/jni/application/opentyrian/src/menus.cpp
- modified:   project/jni/application/opentyrian/src/menus.h

Inside #ifdef ANDROID: Disable mouse move input handling in JE_textMenuWait()
- modified:   project/jni/application/opentyrian/src/setup.cpp
2012-08-07 10:17:51 +02:00
Bernhard Kaindl 32c1bead12 Add support for build.sh -r to run the installed apk:
- modified:   build.sh
Add new CompatibilityHacksTextInputEmulatesHwKeyboard=n:
- modified:   project/jni/application/opentyrian/AndroidAppSettings.cfg
2012-08-07 10:14:20 +02:00
pelya 5c720fb3d9 Force SW video mode in SDL_SetVideoMode() if enabled in AndroidAppSettings.cfg 2012-08-06 17:05:40 +03:00
pelya e8634e343b Fixes for TeeWorlds compilation 2012-08-06 12:22:30 +03:00
pelya 3aa5c522e6 Merge branch 'sdl_android' of github.com:pelya/commandergenius into android 2012-08-03 16:38:50 +03:00
pelya 64cd8c425a Minor fix to data downloader, updated OpenArena project 2012-08-03 16:34:43 +03:00
pelya 12919eecee Updated Commander Genius project 2012-08-03 00:31:17 +03:00
Gerhard Stein 8050b58bec Another CG update 2012-08-02 20:40:42 +02:00
Gerhard Stein 149043d4f1 CG Project Update 2012-08-02 20:21:58 +02:00
Gerhard Stein f08723a138 Commander Genius Update 2012-08-02 19:25:12 +02:00
pelya 89400e5fe1 Merge branch 'sdl_android' of github.com:pelya/commandergenius into android 2012-08-02 16:40:18 +03:00
pelya a6eb841030 Fixed invalid left button press event for USB mouse, added mousewheel events 2012-08-02 16:38:40 +03:00
pelya a89e0bf89d Updated CommanderGenius and ScummVM 2012-08-01 14:15:41 +03:00
pelya 68a7b9213b Added missing file 2012-07-31 12:23:31 +03:00
pelya d5600ce526 Tiny update, to make it playable 2012-07-29 23:57:47 +03:00
pelya 4e76076cb5 Added OpenArena project 2012-07-29 23:50:51 +03:00
pelya adaba11491 Fixed video output for emulator, some support for NDK r8b 2012-07-29 21:33:15 +03:00
pelya 8e4816cab4 Test for SDL_mixer support for .XM files 2012-07-09 15:42:21 +03:00
pelya e2ef381b4c Multiple extensions for C++ files can be used now, this requires NDK r7 or newer 2012-07-09 15:24:45 +03:00
pelya f856cccabd Updated SuperTux 2012-06-22 19:08:12 +03:00
pelya ed80230acd Added helper autotools script for cross-compile for armeabi-v7a arch 2012-06-22 17:42:03 +03:00
pelya 0f478832a7 Fixed OpenAL eating CPU in background 2012-06-21 18:04:11 +03:00