Commit Graph

120 Commits

Author SHA1 Message Date
pelya ab8690eb85 Merge branch 'sdl_android' of github.com:pelya/commandergenius into android 2012-10-29 16:51:46 +02:00
pelya a5c62580b1 SDL_ScreenKeyboard compatibility for SDL2, updated mxml and jpeg libraries 2012-10-29 16:50:15 +02:00
pelya 380a732f52 Setting some env variables like app path and display physical size 2012-10-21 22:09:48 +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 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 fb4ccea118 Updated description of advertisement API, added function to request new ad. 2012-09-12 13:32:45 +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 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 046e36acd3 Put app data files into correct place instead of /sdcard/app-data/.. 2012-08-13 23:08:28 +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
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
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 1fe5b68fd0 Option for soft text input to emulate hw keyboard 2012-06-19 15:28:18 +03:00
pelya 0e1a4897c1 Force proper screen orientation, that was broken in my last few commits 2012-06-18 13:12:51 +03:00
pelya 77a16225aa Dimming ICS status bar that really works 2012-06-13 17:21:19 +03:00
pelya 90211ac16e Fix for nasty bug in multitouch events code 2012-06-12 14:06:24 +03:00
pelya 4e69f9645f Disable keypress when stylus hovers over screen for Galaxy Note, also fixed bug in my prev commit 2012-06-08 19:32:46 +03:00
pelya 4175915a1c Load shared libraries from a separate thread, that shuold improve app startup time somewhat 2012-06-08 16:07:13 +03:00
pelya 52b03e4373 Failed attempts to get Menu button back 2012-06-01 21:01:10 +03:00
pelya 2185044162 Fixed ndk-gdb not showing symbols in libapplication.so 2012-02-28 17:55:25 +02:00
pelya eadfb0ab82 patch by lmak: dim status bar on Honeycomb (it does not work on emulator for me, someone plz debug and fix) 2012-02-28 12:30:14 +02:00
pelya d322747569 Fixed bug with XPeria Play touchpad support, added more robust external mouse detection 2012-02-16 16:25:52 +02:00
pelya 718a9bdd12 Added some todo 2012-02-15 16:05:19 +02:00
pelya c6489923f7 Some rudimentary support for hardware mouse 2012-01-31 18:48:16 +02:00
pelya 90014495ee Option to clean up SDL config left from the old app version 2011-11-16 18:29:19 +02:00
pelya d5313cb08e Toggling text input shows screen keyboard automatically, updated fheroes2 2011-11-16 15:10:52 +02:00
pelya caab1c07bb Updated OpenTTD, fixes for NDK r6. 2011-10-26 16:03:12 +03:00
pelya 16bd732515 Updated OpenTTD, updated readme 2011-10-10 18:17:56 +03:00
pelya f3193e8fd2 Fixed nasty bug in "touch near cursor to click" mouse emulation mode,
also validated on-screen keyboard with 10-point touchscreen, no issues found.
2011-08-11 19:36:06 +03:00
pelya 16f757970a Fixed new code, added GLES2 example - I'm not sure that it works correctly, but it reports that GLES 2 is initialized 2011-08-02 13:20:32 +03:00
pelya 6caefe96a5 Load shared GLESv2 library 2011-07-29 18:44:49 +03:00
pelya 877654a2d4 Updated VCMI, fixed crash due to SDL_Image not supporting PCX format 2011-07-01 15:32:20 +03:00
pelya 4d3c771791 Changed license type to ZLIB for the Java source files 2011-06-24 11:43:07 +03:00
pelya 819febb3af Warn users of Telechips devices that app will crash with their broken libc 2011-06-22 16:43:22 +03:00
pelya 62fd0b2dd6 VCMI loads main menu on a device, but crashes right after click on any botton. Megadebug patch attached. 2011-06-16 19:57:53 +03:00
pelya e8dd7d71d6 Fixes to new build system 2011-06-14 19:44:58 +03:00
pelya 538a0d0b3f Updated VCMI, added readme 2011-06-10 13:27:16 +03:00
pelya 22a4b5ac03 Added VCMI server, but it cannot be launched apparently, because VCMI just crash 2011-06-09 20:22:51 +03:00
pelya 3b0b8675eb New revamped startup dialog, with possibility to disable separate menu options or entire dialog through ChangeAppSettings.sh 2011-05-31 16:30:08 +03:00
pelya b10fefba4f Fixed the NO_REMAP implementation, fixed few minor bg in Settings.java 2011-05-30 15:25:08 +03:00
pelya 3409066830 Patch to make volume keys change volume instead of in-game action, by lmak 2011-05-26 11:27:50 +03:00
pelya 6e9ca5f0bc SDL tries to load file "logo.png" from assets, and use it as a startup logo, if it fails it reverts to the usual SDL logo 2011-05-20 14:44:44 +03:00
pelya c418f7da64 More modifications to SDL config dialog 2011-05-20 12:21:22 +03:00
pelya 50ef398490 Support Android 3.1 bluetooth/USB mouse (not tested!), added new option to choose mouse settings depending on the screen size 2011-05-19 14:00:56 +03:00
pelya 0742977a5e Fixed clashing lib names with system libraries 2011-04-22 16:12:36 -04:00
pelya 2bb4e56768 Changed random code in arbitrary places to fix mysterious crash 2011-04-21 21:09:52 -04:00
pelya ea3df210c4 Added a license exception to permit custom startup config dialogs in closed-source projects. 2011-04-18 18:02:28 +00:00