Aaron Culliney
57cd12f1cc
Refactor : BYTE -> uint8_t
2015-06-14 14:07:32 -07:00
Aaron Culliney
6d252b0b3e
Refactor : WORD -> uint16_t
2015-06-14 14:07:32 -07:00
Aaron Culliney
4b28e33906
Refactor USHORT -> uint16_t
2015-06-14 14:07:32 -07:00
Aaron Culliney
a5d36c7dff
Refactor : remove unused macro defs
2015-06-14 14:07:32 -07:00
Aaron Culliney
a46a882a3d
Refactor length types
2015-06-14 14:07:32 -07:00
Aaron Culliney
c5fb837314
Refactor BOOL -> bool
2015-06-14 14:07:32 -07:00
Aaron Culliney
87e7ec24ff
Refactor HRESULT -> int
2015-06-14 14:07:32 -07:00
Aaron Culliney
20bbfcd286
Fixes for Tap Delay thread
...
- Now signals TD thread on each touch event that resulted in a change to the buttons.trackingIndex or a change to
the chosen button (buttons.touchDownButton, buttons.northButton, or buttons.southButton)
- Uses mutex (un)locking to avoid races around buttons.trackingIndex and chosen button
- Adds an equal delay on TD thread loop finish to ensure the touchDown/touchUp or touchDown/move/touchUp event
sequence is the same basic duration as received
2015-06-14 13:59:51 -07:00
Aaron Culliney
5e1d8552ef
Ensure file globals are in file scope
2015-06-14 13:59:29 -07:00
Aaron Culliney
22037355c8
Enable StrictMode to detect potential issues when iterating on the Java side of things
2015-06-09 21:06:32 -07:00
Aaron Culliney
c47afc4ccb
Bugfix disk selection on Linux desktop
2015-06-07 11:25:50 -07:00
Aaron Culliney
f28b708449
Delay joystick button touches FTW
...
- Previously a touch down event would trigger a joystick button, but now this slight delay in processing allows us
to discard this if the user really issued a tap-move combo
2015-06-06 21:44:11 -07:00
Aaron Culliney
1da7acbaba
Properly hook up Android shutdown paths
2015-06-06 21:18:27 -07:00
Aaron Culliney
aa31141455
Ctrl-combo keys work with hardware keyboard
2015-06-06 21:17:15 -07:00
Aaron Culliney
26d7e7da3d
Reminder for a future rethink/refactor
2015-06-06 13:00:53 -07:00
Aaron Culliney
2562c17d73
Record Java exceptions to app home directory
2015-06-06 12:55:14 -07:00
Aaron Culliney
3108e035ed
Implement sticky-CTRL key for touch keyboard
2015-06-06 12:02:03 -07:00
Aaron Culliney
1cdbaa460a
Change joystick glyph
2015-06-03 22:21:33 -07:00
Aaron Culliney
5773ef2e8d
Simplify touch menu to just one model/texture
...
- Also seamlessly complements gltouchkbd layout
2015-06-03 22:13:19 -07:00
Aaron Culliney
f2abf4ce35
Fix emulator quit path on Android
2015-06-01 22:50:44 -07:00
Aaron Culliney
29006f9c5c
path handling cleanups
2015-06-01 22:25:29 -07:00
Aaron Culliney
064070be7c
Kill a magic number and ensure file_name is nul-terminated
2015-06-01 22:08:58 -07:00
Aaron Culliney
3f38467c93
Silence Valgrind complaint about gzread()
2015-06-01 22:04:01 -07:00
Aaron Culliney
adb09dc84e
Avoid buffer overflow +1, thank you Valgrind
2015-06-01 21:17:48 -07:00
Aaron Culliney
9d26e2c6f0
Tweak comments
2015-05-31 16:33:39 -07:00
Aaron Culliney
4c8856fb04
Comment unused/untested codepaths
2015-05-31 16:31:57 -07:00
Aaron Culliney
3b13fc29a4
Don't leak stuff-n-things, thank you Valgrind =)
...
- Major : Previously leaking interface threads
- Major : Leak of FILE* resources in inflate routine
- Minor : previous leak-on-exit of enumerated sound devices
2015-05-31 14:11:57 -07:00
Aaron Culliney
80b880550f
Fix shutdown codepaths
...
- Ensures various shutdown codepaths (interface, cpu/audio, main/video, ...) run on proper thread(s)
- Actually now runs the CloseAL() code
- Try to ensure all detached threads exit ... seems to help keep Valgrind happy =)
2015-05-31 13:43:51 -07:00
Aaron Culliney
a796a9f14c
c_mygetch is strictly INTERFACE_CLASSIC
2015-05-31 12:57:33 -07:00
Aaron Culliney
6a453c3973
Don't exit in video_shutdown()
2015-05-31 11:25:23 -07:00
Aaron Culliney
a4f185d197
Bugfix: allow unsigned indexing
2015-05-31 11:23:49 -07:00
Aaron Culliney
debd0370b3
Only choose 8888 color for now
2015-05-30 23:19:20 -07:00
Aaron Culliney
5816962f32
Make RGBA_4444 codepaths available to HUD models
2015-05-30 23:18:08 -07:00
Aaron Culliney
bcb36a4801
add codepath for RGBA_4444 textures
2015-05-30 18:58:34 -07:00
Aaron Culliney
a3b2afe18f
Adds a semi-opaque halo effect around keyboard and menu glyphs for better contrast
2015-05-30 12:18:42 -07:00
Aaron Culliney
31cef9eb58
Avoid overflowing when rerendering character.
2015-05-29 22:14:53 -07:00
Aaron Culliney
e6ec58a8ba
Fix Android build break
2015-05-29 21:48:39 -07:00
Aaron Culliney
cb72d483c0
Refactor INTERPOLATED_PIXEL_ADJUSTMENT calculations just to codepaths actually touching the internal framebuffers
2015-05-29 21:47:49 -07:00
Aaron Culliney
aee1111cb0
Better derivation of framebuffer macros
2015-05-29 21:46:37 -07:00
Aaron Culliney
1ca1e7d2cc
Use parens around SCANSTEP macro
2015-05-29 21:46:14 -07:00
Aaron Culliney
1506aba551
Refactor: rename to video_reset() for clarity
2015-05-29 21:46:07 -07:00
Aaron Culliney
27ade69757
Refactor various display initialization routines to CTOR
2015-05-29 21:46:01 -07:00
Aaron Culliney
5abcea5f8d
Fix Linux desktop build break
2015-05-28 21:16:13 -07:00
Aaron Culliney
73306047c1
interface.c is part of the main sources
...
...although most of it is deprecated on Mac and mobile
2015-05-25 13:38:53 -07:00
Aaron Culliney
966ba0a2d8
No disk in drive (or invalid track) should return 0xFF
...
- Bug introduced in e01e437
- Bugfix allows U5 Journey Onward to work =P
2015-05-25 13:36:17 -07:00
Aaron Culliney
0cb3086622
gltouchjoy and keyboard are now toggle options
2015-05-23 23:30:18 -07:00
Aaron Culliney
692a6793cb
Default enable touch joystick instead of keyboard
2015-05-23 23:25:32 -07:00
Aaron Culliney
9e9939a3a6
Only allow explicit main menu requests to bubble up
...
- Works around existing bugs in various gltouchwidget's logic
2015-05-23 23:17:33 -07:00
Aaron Culliney
da0b4c51cf
Changes Android Studio made when upgraded
2015-05-23 22:49:03 -07:00
Aaron Culliney
4d3de200d9
Extra/configurable defaults to uppercase for U4 keys...
2015-05-21 22:32:38 -07:00