Commit Graph

1295 Commits

Author SHA1 Message Date
pelya
fba7f6123f Merge branch 'sdl_android' of github.com:pelya/commandergenius into android 2012-10-01 19:00:39 +03:00
pelya
2be753832e Fixed small bug in mouse input, when mouse button bound to HW key 2012-10-01 18:21:02 +03:00
pelya
63eaf5b983 Merge branch 'sdl_android' of github.com:pelya/commandergenius into sdl_android 2012-09-28 17:11:21 +03:00
pelya
cf816631a2 Fixed colorkey and alpha in HW mode when restoring from background - patch by SLVN 2012-09-28 17:10:20 +03:00
pelya
ac96d94173 Added possibility to compile armeabi-v7a binaries via AndroidBuild.sh script, updated OpenArena 2012-09-25 20:04:18 +03:00
pelya
fef867ebcb Toggled back mouse events ratelimiting, changed magnifying glass grag&drop to be more snappy, updated OpenTTD 2012-09-22 17:14:31 +03:00
pelya
d4c6c1bd22 Fixed parallel build somehow broken in NDK r8b. 2012-09-21 17:17:45 +03:00
pelya
10f6d46d05 Commented the ugly code 2012-09-20 18:23:09 +03:00
pelya
7d04504ee5 Asynchronous SDL_ACTIVEEVENT, when you lose focus. 2012-09-20 17:40:41 +03:00
pelya
41fd185b16 Texture linear filtering is enabled by default, tiny tweak to Biniax2 2012-09-20 14:32:55 +03:00
pelya
42a9f2e54c Updated copyright info in Biniax2 2012-09-19 15:02:25 +03:00
pelya
517c71c317 Updated Biniax2 and translations 2012-09-19 14:42:09 +03:00
pelya
72b5f3c86a Nasty bug fixed inside SDL_image - the colorkey was not set in SDL 1.2 because of SDL 1.3 changes
Also updated Biniax2
2012-09-18 20:15:28 +03:00
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