Commit Graph

101 Commits

Author SHA1 Message Date
pelya 0366b60f1a Fixed crash with ShowMouseCursor=y, immersive mode for KitKat 2013-11-02 23:49:29 +02:00
pelya 352d6c952e Fixed Ouya text input once again 2013-09-13 07:03:15 +03:00
pelya cd24130372 Small fix for text input 2013-09-07 21:38:23 +03:00
Sergii Pylypenko 7c085e1b34 Put cursor at the end of text in text input window 2013-09-03 21:40:52 +03:00
pelya 6103f10454 Revert "Random changes to advertisement code"
This reverts commit e3ff8b5e4d.
2013-09-01 20:05:44 +03:00
pelya 1c058ff98f Debug option to emulate Ouya 2013-09-01 20:02:42 +03:00
Sergii Pylypenko 14eb0dd1c0 More hacks to force QWERTY text input on Ouya 2013-08-29 21:20:02 +03:00
pelya 4702032b12 More tweaks to text input 2013-08-25 20:02:01 +03:00
pelya e3ff8b5e4d Random changes to advertisement code 2013-08-25 19:42:58 +03:00
pelya 2687be3bd8 Opaque text input window and thick borders for Ouya 2013-08-25 00:05:34 +03:00
pelya c63df5d9d7 Fixed line height for status text in SDL menu 2013-08-24 23:18:01 +03:00
pelya 1527ebc27b VCMI: messing with code at random, it loads start menu but then crashes 2013-08-03 21:21:46 +03:00
Sergii Pylypenko 602e54c210 Fixed VCMI compilation, it crashes yay. 2013-08-01 23:00:45 +03:00
Sergii Pylypenko 8284321ae1 Simple OUYA detection 2013-07-30 21:59:08 +03:00
pelya b21eab7cf2 Split Settings.java into 4 files 2013-06-24 20:39:47 +03:00
pelya 437a7c017d Second joystick support 2013-05-11 01:40:52 +03:00
pelya ed5f401e3f Replaced System.out.println() with proper Log.i() across Java files 2013-05-04 23:32:37 +03:00
pelya f0e8a3d12f More semaphores in Java code 2013-03-23 19:52:06 +02:00
pelya afce1cbde2 Dialog to abort data downloading 2013-03-09 22:11:13 +02:00
pelya 05847089d3 Application can modify text input hint message 2013-03-08 00:30:59 +02:00
Sergii Pylypenko 190ea43d33 Proper loading for libvcmi.so, now it crashes after entering main() 2013-02-21 20:57:17 +02:00
pelya 45128c67b4 Removed Ouya detection, it does not work anyway 2013-01-29 16:34:05 +02:00
pelya ec136b0bc8 Some preliminary Ouya support 2013-01-28 19:27:32 +02:00
pelya b23ce53038 Try to extract binaries-armeabi-v7a.zip first, then binaries.zip 2013-01-05 22:12:03 +02:00
pelya 526c4f1257 Futile attempts to make rendering faster 2013-01-02 17:17:26 +02:00
pelya 49054ab019 Fixed removing two characters at a time in native text input dialog 2012-12-14 17:53:56 +02:00
pelya edc01f11bb Saving shared libraries from assets to files dir instead of cache 2012-11-28 20:05:31 +02:00
pelya e450bfcf20 Waiting for proper screen orientation in a proper way 2012-11-01 19:35:01 +02:00
pelya faba23c35a Bumped up multitouch rotation event sensitivity 2012-11-01 18:51:53 +02:00
pelya 77ee7a1f8a Tentative fix for the slow orientation change when invoking from background 2012-11-01 16:27:29 +02:00
pelya 6bc4d3aad1 More sensible error message when data download aborted 2012-10-31 18:24:33 +02:00
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