Commit Graph

789 Commits

Author SHA1 Message Date
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
pelya 532b652594 Merged fix that prevents killing background app after 30min timeout, by Bernhard Kaindl 2012-06-21 13:57:34 +03:00
pelya 736de401a3 Updated SuperTux 2012-06-20 18:20:24 +03:00
pelya 96ef1e5edd Do not perform a check for broken libc, because it crashes sometimes, when libraries are not yet loaded in a separate thread 2012-06-20 18:09:38 +03:00
pelya f476666b4b Re-enabled core to restore and save OpenGL state for on-screen keyboard, it just makes your life so much easier 2012-06-19 20:16:18 +03:00
pelya 8624100d5c Added SuperTux project 2012-06-19 20:13:49 +03:00
pelya 7fcca2d408 Got a cryptic exception inside Java, this should probably fix it 2012-06-19 19:05:56 +03:00
pelya 7a38e82742 Removed vibrator permission from manifest, it is unused anyway 2012-06-19 17:58:42 +03:00
pelya 37ed5c4a6f Added PhysFS lib 2012-06-19 17:49:54 +03:00
pelya 1fe5b68fd0 Option for soft text input to emulate hw keyboard 2012-06-19 15:28:18 +03:00
pelya 18f09fd09d Another fix for compatibility hacks for MilkyTracker 2012-06-19 13:11:13 +03:00
pelya 289043098d Fixed random bugs in Java code 2012-06-19 12:31:17 +03:00
pelya 2bfd9d5c59 Bigger touch area for joystick so the finger won't slip away from it 2012-06-18 16:49:38 +03:00