Commit Graph

1282 Commits

Author SHA1 Message Date
pelya
f342ad315c Tentative fix for the ad misplacement when the app is restored from background, by slvn 2012-09-18 16:12:26 +03:00
pelya
c1f5c906da Small fix to readme 2012-09-18 10:15:01 +03:00
pelya
6d059c046a Tiny fix to data downloader 2012-09-18 10:06:44 +03:00
pelya
7247509c04 Added Biniax2 sources 2012-09-17 17:26:24 +03:00
pelya
a6a9e0a43a Added back SDL_ANDROID_JniEnv() function 2012-09-17 16:18:22 +03:00
pelya
58ea082bd5 Do not show "Change device config" button at all, if startup button timeout is 0 2012-09-17 15:59:57 +03:00
pelya
17ea07d39d Changed accelerometer/multitouch/joystick input once again, removed touch event ratelimiting for Froyo and newer. 2012-09-17 15:51:13 +03:00
pelya
aa462771e4 Merge branch 'sdl_android' of github.com:pelya/commandergenius into android 2012-09-12 13:34:14 +03:00
pelya
fb4ccea118 Updated description of advertisement API, added function to request new ad. 2012-09-12 13:32:45 +03:00
pelya
bfad9ca7b0 Fixed crash in Java code 2012-09-07 02:40:56 +03:00
pelya
b2e3453209 Updated readme 2012-09-06 19:53:36 +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
pelya
0c5b24534b Fixes to build.sh - it now requires -i flag to install app onto the device, -r to run it, by Bernhard Kaindl 2012-08-08 02:15:54 +03:00
pelya
97da1e18e6 Merge pull request #11 from bkaindl/opentyrian-android
Changes for supporting direct intuitive touch input to navigate all OpenTyrian menus.
2012-08-07 16:06:50 -07: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