Commit Graph

148 Commits

Author SHA1 Message Date
James Sanford
ce110ffb86 Allow startup slot to be set externally. 2012-10-17 21:24:24 -07:00
James Sanford
8683da9557 Helper to see if native thread loop is waiting to power on. 2012-10-17 21:24:24 -07:00
James Sanford
1f9812a371 Add ability to power back on. Only expose 'power cycle' in the UI. 2012-10-17 21:24:24 -07:00
James Sanford
c3af8c61f5 Add 'Power Off' event, causes kegsmain to exit. 2012-10-17 21:24:24 -07:00
James Sanford
c059be6084 Disable built-in .gz handling under Android. 2012-10-17 21:24:24 -07:00
James Sanford
08509faebd Spotted a few unused globals. 2012-10-17 21:24:24 -07:00
James Sanford
4b03473214 Add warm reset menu option. (Open Apple-Control-Reset) 2012-10-17 21:24:24 -07:00
James Sanford
c0ecd8da18 ifdefs for ANDROID_ARGB_8888 vs RGB_565 2012-10-17 21:24:24 -07:00
James Sanford
9cbd698d4d Smoother scrolling. Drift away from android vsync by refreshing 1/59.8. 2012-10-17 21:24:24 -07:00
James Sanford
bd3836e409 Try using RGB_565 bitmap. 2012-10-17 21:24:23 -07:00
James Sanford
b023e66caf ActionBar 2012-10-17 21:24:23 -07:00
James Sanford
b3a3ffe648 Still working on obtaining the actual window size. 2012-10-17 21:24:09 -07:00
James Sanford
f557787e81 Add some safety checks around action bar update. 2012-10-17 21:24:09 -07:00
James Sanford
ee2814b689 Improve detection of window size. 2012-10-17 21:24:09 -07:00
James Sanford
3f106b9ce0 Use pure black background. Bitmap scale must be at least 1. 2012-10-17 21:24:08 -07:00
James Sanford
ab5f7bd39a Shuffle more into BitmapThread. 2012-10-01 19:25:40 -07:00
James Sanford
406dc13ff3 Fix typo. 2012-09-30 21:20:09 -07:00
James Sanford
63b7bf1c6d Move bitmap drawing to separate thread.\n\nBitmap drawing is now triggered by a Handler on the native thread. The bitmap thread runs a Looper that receives an empty message.\n\nAlso, screen size and scaling logic is moving into BitmapSize class. 2012-09-30 21:17:32 -07:00
James Sanford
2c402d03ff Add 0xFF alpha bit for use in ARGB bitmap. 2012-09-21 22:16:01 -07:00
James Sanford
fb6893468a Screen scaling code for landscape and portrait modes. 2012-09-20 22:02:01 -07:00
James Sanford
f178c50fac Surface callbacks now only affect canvas updates, not pause/resume. 2012-09-12 20:30:36 -07:00
James Sanford
93800a55ee Initial joystick support added. 2012-08-22 03:16:53 -07:00
James Sanford
ad994b8232 First pass at Joystick. Add a settings menu. 2012-08-21 03:41:05 -07:00
James Sanford
f0648382c8 Add JNI Joystick code. 2012-08-21 03:27:48 -07:00
James Sanford
541019db47 Fix lines with trailing spaces. 2012-08-12 16:31:24 -07:00
James Sanford
d323ed911f Put license back in place after merge. 2012-08-12 16:29:06 -07:00
James Sanford
77af605387 Merge branch 'activegs_tests'
Conflicts:
	jni/sound.c
2012-08-12 16:26:54 -07:00
James Sanford
6eb4c08b49 Debug notes. 2012-08-12 16:24:09 -07:00
James Sanford
11f7ef82a9 Slightly better layout. 2012-08-12 16:23:49 -07:00
James Sanford
33a3c8deae Add icon. Use string resources instead of raw strings. 2012-08-12 16:23:18 -07:00
James Sanford
e006a12421 Replace crazy KEGS sound buffer with my own crazy sound buffer. 2012-08-12 13:21:26 -07:00
James Sanford
cc5e16b6da Add icon. Use string resources instead of raw strings. 2012-08-12 00:12:20 -07:00
James Sanford
2b5248d2fb Remove unused headers. 2012-08-11 20:13:56 -07:00
James Sanford
7fddfcaeb9 Change CRLF line termination to LF 2012-08-11 20:07:42 -07:00
James Sanford
186e77ddbe Tiny cleanup. 2012-08-10 18:07:28 -07:00
James Sanford
8a164513ec Try using OG ActiveGS as base for KEGS. 2012-08-10 18:05:53 -07:00
James Sanford
635117a0a9 Try adding OG mods to sound.c 2012-08-10 17:38:29 -07:00
James Sanford
f9f4a21ef5 Fix size of array. 2012-08-10 12:54:53 -07:00
James Sanford
5e55cec6d4 Add high level description of how JNI is used 2012-08-10 00:20:02 -07:00
James Sanford
91f006be3a First pass at OpenSLES audio driver. 2012-08-09 18:38:41 -07:00
James Sanford
b5fbd12a26 Fix formatting. 2012-08-06 17:28:42 -07:00
James Sanford
3ca4e25024 Add project.properties so 'android update project' works. 2012-08-06 17:10:11 -07:00
James Sanford
814d298c4c Initial Android application. 2012-08-06 17:04:38 -07:00
James Sanford
a9f6a3f1b0 Cleanup bad copy/paste. 2012-08-06 17:00:27 -07:00
James Sanford
0d001a96a3 Initial Android build files and android_driver.c 2012-08-06 16:59:26 -07:00
James Sanford
1601a90a4a Add script-generated includes. 2012-08-06 16:57:25 -07:00
James Sanford
9750667958 Initial changes for __ANDROID__ 2012-08-06 16:56:51 -07:00
James Sanford
cc7bd844d6 Original kegs.0.91 source code. 2012-08-06 16:34:15 -07:00