Commit Graph

763 Commits

Author SHA1 Message Date
Aaron Culliney
e2794070dd fix typos to allow gltouchjoy to build 2015-04-12 16:20:01 -07:00
Aaron Culliney
737f6c5a13 Tweak dox 2015-04-12 16:14:04 -07:00
Aaron Culliney
ca139ee94a REFACTOR : glanimation rechristend, touch handling genericized
- 'animation' was too constrained a name to what these do, so switch to the overloaded term 'node' ;-)
    - Touch handling is no longer the sole purview of the touchjoy, (in prep for touchable HUD elements)
2015-04-12 15:55:06 -07:00
Aaron Culliney
5b5c6fa533 REFACTOR : interface menus/HUDs
- menu/HUD creation functions moved to better location and renamed
    - CPU change animation now default displays on desktop Linux (exercise common HUD codepaths with mobile)
2015-04-12 14:23:35 -07:00
Aaron Culliney
121e250c62 REFACTOR : GLModel render pass is common for HUD models 2015-04-12 11:27:33 -07:00
Aaron Culliney
06051e44e7 REFACTOR : CPU animation is now a HUD model 2015-04-12 00:41:41 -07:00
Aaron Culliney
19e1a8e3d8 REFACTOR : beginnings of object-oriented approach for HUD models 2015-04-12 00:40:43 -07:00
Aaron Culliney
60d7e2b305 touchjoy render pass optimizations : avoid OpenGL calls if alpha is zero 2015-04-11 12:18:36 -07:00
Aaron Culliney
101d78d160 Assure we use only landscape dimensions 2015-04-11 11:42:40 -07:00
Aaron Culliney
e876cd03b6 REFACTOR : begin consolidating common code for OpenGL HUD interfaces 2015-04-11 11:42:18 -07:00
Aaron Culliney
5712850e84 REFACTOR : demoModel -> GLModel 2015-04-11 11:42:18 -07:00
Aaron Culliney
9bbb180feb Bugfix touchjoy : make sure only the correct button is firing 2015-04-11 11:42:18 -07:00
Aaron Culliney
805357e5ad Mac target builds again after Android upheaval 2015-04-10 16:05:36 -07:00
Aaron Culliney
afc8c8bb24 Old Spamsung devices running Gingerbread cannot handle dangerous characters like backslash '\' in their OpenGL shader parsers 2015-04-07 23:17:13 -07:00
Aaron Culliney
bbf10565a8 Eliminate flicker when main menu showing by continuing to render 2015-04-07 22:50:00 -07:00
Aaron Culliney
d298601bbe Android main menu : quit choice should be last 2015-04-07 22:46:36 -07:00
Aaron Culliney
e808dd9861 First cut at Android disk selection interface 2015-04-07 22:42:47 -07:00
Aaron Culliney
ae27a891dd Various updates to menu system 2015-04-07 22:18:25 -07:00
Aaron Culliney
10590052f2 Avoid NPEs when servicing gestures 2015-04-04 22:36:04 -07:00
Aaron Culliney
985cec7725 Baseline GL touch joystick functionality (for AXIS_EMULATED_DEVICE type)
- Also updates GL touch joystick to allow dynamic HUD re-positioning
2015-04-04 20:35:34 -07:00
Aaron Culliney
23171c65fc unnecessary to send alpha parameter into function 2015-04-04 12:49:05 -07:00
Aaron Culliney
30236cb400 First cut at GL Touch Joystick 2015-04-01 19:59:38 -07:00
Aaron Culliney
d63bd7b412 macro defines for various mousetext characters 2015-04-01 19:57:12 -07:00
Aaron Culliney
ccca77908a Tweaks to get ndk-gdb.py running again
- magick incantation : ndk-gdb.py --force --launch org.deadc0de.apple2ix.Apple2Activity
2015-03-30 22:03:38 -07:00
Aaron Culliney
c40f9f7487 X11 renderer : don't change XImage from different thread
- Only allow the X11 renderer thread to change the XImage
2015-03-23 22:05:08 -07:00
Aaron Culliney
30c59bd43f X11 renderer still works! 2015-03-23 21:45:46 -07:00
Aaron Culliney
e878ff7750 tests run again on Android 2015-03-22 21:44:03 -07:00
Aaron Culliney
c96f4ef6fb Some Android build tweaks 2015-03-22 19:16:18 -07:00
Aaron Culliney
5f210bfcf3 HACK around lingering issues with speed adjustment on mobile 2015-03-22 19:14:35 -07:00
Aaron Culliney
dc8ed4f611 Two flavors of the Android build 2015-03-22 19:14:15 -07:00
Aaron Culliney
a4987671d9 Android rotates to the sensor landscape 2015-03-22 19:13:28 -07:00
Aaron Culliney
47ff7b5c08 Android keyboard delete operates as expected 2015-03-22 19:12:52 -07:00
Aaron Culliney
af42dc36b2 Squashed commit of the following:
CPU speed animation touch-ups, and enable building for desktop
    Rename/shuffle animation declarations and code
    Refactor backend video system to be a dynamically initialized module
    Basic CPU speed texture animation works on desktop Linux and Android
    Use static pixel buffers to avoid malloc/free churn
    Improve CPU animations
    First cut at CPU speed message animation
    Refactor some of the classic interface functions to be potentially reusable elsewhere
2015-03-22 18:53:13 -07:00
Aaron Culliney
358541b8cc Simplify BranchXCycles 2015-03-22 15:46:58 -07:00
Aaron Culliney
1635cd5245 Android build system updates to support demo and full versions for both debug and release 2015-03-15 15:52:10 -07:00
Aaron Culliney
8c66a91e14 REFACTOR : shuffle some code for improved legibility 2015-03-14 15:52:15 -07:00
Aaron Culliney
51617fa620 Android : use GestureDetector instead of raw touch handling
- Also simplifies general settings (now you can swipe to change emulation speed)
2015-03-14 15:42:02 -07:00
Aaron Culliney
598de8cb70 Update README.md 2015-03-13 00:14:44 -07:00
Aaron Culliney
45c59fcb56 Improved Android main menu and begin to implement the settings page 2015-03-12 23:08:38 -07:00
Aaron Culliney
99d9c3510e Handle more key codes 2015-03-12 15:09:26 -07:00
Aaron Culliney
e5fde057c9 Don't create new cpu_thread on app resume 2015-03-12 14:45:17 -07:00
Aaron Culliney
91e7136b8f A more visually-pleasing and functional main menu on Android 2015-03-11 19:08:12 -07:00
Aaron Culliney
2965afe12e Two-finger-touch pops up softkeyboard and adjusts GL viewport 2015-03-11 12:54:50 -07:00
Aaron Culliney
d934e06d8a First cut at Android main menu 2015-03-10 23:32:08 -07:00
Aaron Culliney
1d9ec627f8 Android CLI builds hiccup on this file ... comment for now 2015-03-10 14:39:08 -07:00
Aaron Culliney
febadf34eb Add proper icons to Android Studio project 2015-03-10 14:32:48 -07:00
Aaron Culliney
31eff71a84 Android Studio appears to build and run the project
- Still need to pre-build the NDK component from CLI, but eh, diminishing returns at the moment
2015-03-10 14:20:58 -07:00
Aaron Culliney
1ee52c1d02 Renamespace Android app 2015-03-10 13:38:14 -07:00
Aaron Culliney
91c9790d87 Initial Android Studio Gradle project 2015-03-10 13:28:27 -07:00
Aaron Culliney
e839baa931 Updates to prepare/support Android Studio / Gradle builds 2015-03-10 13:15:36 -07:00