Commit Graph

76 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 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 7d04504ee5 Asynchronous SDL_ACTIVEEVENT, when you lose focus. 2012-09-20 17:40:41 +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 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 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 a6eb841030 Fixed invalid left button press event for USB mouse, added mousewheel events 2012-08-02 16:38:40 +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 7fcca2d408 Got a cryptic exception inside Java, this should probably fix it 2012-06-19 19:05:56 +03:00
pelya 289043098d Fixed random bugs in Java code 2012-06-19 12:31:17 +03:00
pelya ffbaa55e6d Tentative fix for Xperia Play touchpad 2012-06-18 14:03:59 +03:00
pelya d36833ddd8 Hacked a workaround for buggy Galaxy Note stylus 2012-06-18 13:35:24 +03:00
pelya e38ade1e6b Fixed button event for stylus 2012-06-15 19:07:11 +03:00
pelya 37ad9e446c Removed some debug output 2012-06-14 18:26:04 +03:00
pelya 6223e170df Some support for Galaxy Note Gingerbread stylus 2012-06-13 20:17:26 +03:00
pelya dd67bba742 Proper mouse/stylus support in Gingerbread and ICS 2012-06-13 19:35:29 +03:00
pelya b88fe18cf4 Disabled half-assed mouse detection 2012-06-13 13:27:06 +03:00
pelya 690a8c70f9 Added MOAR DIRTY HACKZ to the SDL compatibility mode, MilkyTracker now does not have any drawing glitches. 2012-06-12 20:52:42 +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 6f634de0f1 Another fix for XPeria Play touchpad 2012-06-05 15:46:23 +03:00
pelya 9d33721361 Fix for Xperia Play touchpad 2012-05-29 20:04:24 +03:00
pelya e0e24403ce Fixed build scripts for the case when NDK is referenced by a synlink 2012-05-14 13:50:21 +03:00
pelya c0482e36e2 Updated fheroes2 project 2012-02-29 19:48:58 +02:00
pelya 300b16a1c0 Fixed crashing on Gingerbread 2012-02-29 15:42:22 +02:00
pelya 2185044162 Fixed ndk-gdb not showing symbols in libapplication.so 2012-02-28 17:55:25 +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 7739613731 HIGHLY EXPERIMENTAL AND UNTESTED support for Xperia Play touchpad 2012-02-15 15:27:03 +02:00
pelya ea9f7b604e External mouse is still falsely detected if you tap the screen quickly, so now there is a 10 second timer for detecting it. 2012-02-07 14:13:16 +02:00
pelya fa13f76061 Fixed the last bug with hardware mouse detection 2012-02-03 17:41:43 +02:00
pelya d8e16a2b4f Fixed hardware mouse detection, fixed Ballfield example 2012-02-01 12:53:25 +02:00
pelya c6489923f7 Some rudimentary support for hardware mouse 2012-01-31 18:48:16 +02:00
pelya a4b406c424 Updated OpenTTD, fixed build scripts 2011-12-08 14:17:58 +02:00
pelya c1e5111158 Reordered screen zoom settings, so the smallest display comes on top 2011-11-24 17:22:34 +02:00
pelya b8627ed0c9 Added more screen zoom modes 2011-11-23 20:02:24 +02:00
pelya db20fa20fb Ratelimiting touch events is always enabled now, because without it we will get mouse movement lag. 2011-11-17 17:56:12 +02:00
pelya 16bd732515 Updated OpenTTD, updated readme 2011-10-10 18:17:56 +03:00
pelya 39457725f6 Small fix to suspend/resume 2011-08-29 18:17:57 +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 c4aecd807b Do not ratelimit touch events on Froyo/Gingerbread, they are already ratelimited by OS 2011-08-09 14:34:50 +03:00
pelya 69de188e16 Added GLES2 support, and support for 24bpp and 32bpp - NOT TESTED,
it's only for OpenGL and for pure SW mode, HW SDL surfaces won't work
2011-07-29 17:41:27 +03:00
pelya 06e262ebdb Stop accelerometer when the app is put to background, and start it when it's resumed - I did not test this patch yet. 2011-07-28 16:11:35 +03:00
pelya bbf90a959b Added compatibility mode to SDL, for misbehaving apps that don't call SDL_Flip() 2011-07-06 11:49:01 +03:00
pelya 4d3c771791 Changed license type to ZLIB for the Java source files 2011-06-24 11:43:07 +03:00