Commit Graph

57 Commits

Author SHA1 Message Date
Henrik Rydgard
345180dcef Add queue flush ability. Fix VGrid wrapping in UI. Fix some strange java error. 2013-04-14 11:58:07 +02:00
Henrik Rydgard
7efbd96754 Android: Don't preserve state of buttons not set through jni between frames. 2013-03-30 23:54:23 +01:00
Henrik Rydgard
4f5a60d82b Buildfix 2013-03-29 20:04:36 +01:00
Jamie Halpern
9ef592a09f Jamie H - Updated the project version to 17 to support new APIs. Added a JNI call to allow for left joystick input from Java. Added in the key codes for the PS3 controller's X and O buttons. Joystick input for buttons is now suppressed in the NativeActivity class. 2013-03-21 00:40:02 -04:00
Henrik Rydgard
4fb2e97afa Fix bugs causing infinite loop in gllost, add more logging. 2013-03-10 17:49:01 +01:00
Henrik Rydgard
a9a067ef84 Set depth and color mask before clearing. 2013-02-22 22:11:26 +01:00
Henrik Rydgard
f5e775a9a1 Always specify all buffers for clearing. Missing one hurts, one extra doesn't. 2013-01-14 19:25:44 +01:00
Henrik Rydgard
dbda5f8037 Fix Down on Xperia Play 2013-01-04 00:24:21 +01:00
Henrik Rydgard
c952c8d0e7 Fix volume buttons on android and add some functonality to the VFS. 2012-12-01 10:35:55 +01:00
Henrik Rydgard
0853b3ed8e Add directory listings to VFS 2012-11-27 16:38:24 +01:00
Henrik Rydgard
8677fac72c Some UI code cleanup. Another variant of ease curve function. RebindTexture. 2012-11-22 18:41:04 +01:00
Henrik Rydgard
dd1be68363 Add ant build 2012-11-18 23:58:16 +01:00
Henrik Rydgard
765e5a341b Add untested support for Xperia Play 2012-11-10 10:11:18 +01:00
Henrik Rydgard
febf89bbc8 Fix an include path and release the input lock between stages. 2012-11-08 00:35:31 +01:00
Henrik Rydgard
d533766061 Move from turboviking to henrikrydgard as base namespace 2012-11-01 15:34:32 +01:00
Henrik Rydgard
73a02519dc Merge branch 'master' of github.com:hrydgard/native 2012-10-31 14:16:00 +01:00
Henrik Rydgard
26c8ffae61 Cleanup. Try to preserve the context on newer androids. 2012-10-31 14:15:21 +01:00
Henrik Rydgård
3c231e9056 Reindent app-android.cpp and native-audio-so.cpp 2012-10-31 11:41:06 +01:00
Henrik Rydgard
23e6b0e374 UI tweaks, bugfixing 2012-10-30 17:36:28 +01:00
Henrik Rydgard
1ea568990d Colored touchbuttons, portafixes 2012-10-30 16:23:08 +01:00
Henrik Rydgård
60d3b5f601 UI work 2012-10-28 11:37:10 +01:00
Henrik Rydgard
da61ce3950 Various work on surviving the Android activity life cycle 2012-10-27 12:36:25 +02:00
Henrik Rydgård
748bdb3101 Virtual input code now working 2012-10-26 18:42:32 +02:00
Henrik Rydgard
70e6752884 Simple framework for virtual touchscreen buttons 2012-10-26 15:58:09 +02:00
Henrik Rydgård
c8814b0898 Update android target version 2012-10-16 12:09:36 +02:00
Henrik Rydgard
1c1889c726 WIP 2012-09-28 10:01:01 +02:00
Henrik Rydgard
754dadfd05 Merge branch 'master' of github.com:hrydgard/native 2012-08-13 20:12:56 +02:00
Henrik Rydgard
9303c13cbe Pass external dir to native apps 2012-08-13 00:41:24 +02:00
Henrik Rydgard
b8cafe1561 cleanup 2012-08-06 22:05:24 +02:00
Henrik Rydgard
3b3f8242b0 mouse->pointer 2012-07-26 17:24:47 +02:00
Henrik Rydgard
f794440d79 Remove debug code 2012-07-26 16:31:16 +02:00
Henrik Rydgard
9d531d717a Add some code to pop up an inputbox on android. 2012-07-16 15:00:52 +02:00
Henrik Rydgard
5a6622eb37 Redo the DPI/Density code. It now makes sense. 2012-07-15 17:04:27 +02:00
Henrik Rydgard
1254fe414c Change target to 4.0 (but support 2.2, of course). Fix resulting lint issues. 2012-07-13 00:13:02 +02:00
Henrik Rydgard
4a6bc60ea8 warnin fixin 2012-07-09 01:11:18 +02:00
Henrik Rydgard
b041bd474b Take DPI into account. Fix some memory leaks in JNI code. 2012-07-09 00:43:04 +02:00
Henrik Rydgard
fad6a869d9 OpenSL audio streaming is now working. 2012-07-08 20:38:52 +02:00
Henrik Rydgard
7d5a9c8566 Some work on resume/pause 2012-07-08 13:37:49 +02:00
Henrik Rydgard
851df8c519 Add pause/resume without unloading/reloading the native_audio.so wrapper
library
2012-07-08 13:23:30 +02:00
Henrik Rydgard
063e32e1da The native audio stuff makes noise now (although just the sawtooth). 2012-07-08 00:17:59 +02:00
Henrik Rydgard
3e05162dc0 Start work on using OpenSL conditionally (to still support Android 2.2) 2012-07-07 22:58:27 +02:00
Henrik Rydgard
aaa15177e0 some basic zoom/dpi stuff, to be improved 2012-07-06 22:32:32 +02:00
Henrik Rydgard
6e81b46ee0 Set max priority for audio thread. 2012-06-30 19:53:36 +02:00
Henrik Rydgard
e7bf0303e2 Basic DPI scaling hack. 2012-05-14 22:07:40 +02:00
Henrik Rydgard
ba8e5be264 Rename math_util.cc to cpp, cleanup. 2012-05-09 00:33:43 +02:00
Henrik Rydgard
ec57b692eb Misc 2012-05-06 23:21:26 +02:00
Henrik Rydgard
fe1c7d2cdf Add initial multitouch support 2012-04-27 00:48:30 +02:00
Henrik Rydgard
71a266fa2f Mutex. start work on keyboard support 2012-04-17 23:14:03 +02:00
Henrik Rydgard
45846e4c95 Keyboard support prep 2012-04-16 23:30:13 +02:00
Henrik Rydgard
dccb7bafdd Bugfixes 2012-04-14 07:39:22 +02:00