Commit Graph

64 Commits

Author SHA1 Message Date
KockaAdmiralac e75ef54a75
Add fallthrough notes to intentional fallthroughs against compiler warnings and for better code readability 2018-07-15 22:04:09 +02:00
KockaAdmiralac 1890afabbb
Remove unused code 2018-06-16 09:53:42 +02:00
KockaAdmiralac 8060adceee
Fix indentation in i18n.cpp, remove unused havePendingTitle, output when writing to pipe fails 2018-06-16 09:21:53 +02:00
KockaAdmiralac 113f68a8f6 Temporary commit to merge master 2018-04-29 19:46:02 +02:00
Vinyl Darkscratch 941f8b6131 Fix crash on macOS 2018-03-07 14:35:59 -08:00
Vinyl Darkscratch 190e2837c2 Re-enable event filter on macOS 2018-03-07 13:15:15 -08:00
Vinyl Darkscratch 8921e23ba5 Merge remote-tracking branch 'MKXP/master' into new-mkxp 2018-03-06 18:43:36 -08:00
Vinyl Darkscratch a28a4733c4 Reduce warning count 2018-03-05 14:10:47 -08:00
Jonas Kulla 947974cac6 Config: Properly use windowTitle everywhere instead of game.title 2017-12-12 17:57:02 +01:00
Jonas Kulla 06feafe9ef Add missing include 2017-04-08 20:06:12 +02:00
Jonas Kulla 3ea24bd757 EventThread: Make system cursor visible over black aspect ratio bars
Should be less confusing for the player.
2017-04-08 18:45:24 +02:00
Vinyl Darkscratch 6b5eff715b Add text input function (broken, read description)
Note: using this function breaks the graphics rendering at the moment,
due to code inconsistencies (utilizing SDL renderers when the rest of
the program uses GL ones, mainly), working on fixes for it!
2017-04-04 00:43:53 -07:00
Vinyl Darkscratch 85da9ff7e8 Reorganizing Mac and Linux blocks and commence on retina support 2016-12-13 21:16:33 -08:00
Mathew Velasquez aa7818847c Lots of stuff 2016-12-06 23:49:37 -05:00
Mathew Velasquez 302ec6dd02 I stopped making commits for a good while. Here's the latest junk. 2016-09-19 13:54:38 -04:00
Mathew Velasquez 1fd808d0af Gutted more unused features 2016-02-29 15:40:10 -05:00
Mathew Velasquez f44138015b Cleaned up config; Fullscreen option now indicates Big Picture 2016-02-28 08:13:29 -05:00
Jonas Kulla 5964aa8f76 EventThread: ifdef out broken SDL function on OSX 2016-02-26 18:13:51 -05:00
Jonas Kulla c16f20527e EventThread: Fix mouse cursor not being hidden 2016-02-26 18:13:51 -05:00
Jonas Kulla 47ef36ca19 EventThread: ifdef out broken SDL function on OSX 2016-02-24 17:55:28 +01:00
Jonas Kulla de74fc1bc3 EventThread: Fix mouse cursor not being hidden 2016-02-24 17:45:55 +01:00
Mathew Velasquez ba0203169e Added obscured/scratched window puzzle 2016-02-17 17:14:16 -05:00
Mathew Velasquez 6384696bcf Tweaked configuration options 2016-01-05 14:50:18 -05:00
Mathew Velasquez 10e0aaabd1 fixed OS X build 2016-01-05 14:50:17 -05:00
Mathew Velasquez 1c5d4c2645 added SDL controller support 2016-01-05 14:50:17 -05:00
Jonas Kulla 7bf6eca362 EventThread: Comment out unneeded SDL2 constants 2015-07-26 23:56:50 +02:00
Jonas Kulla e4bc08e972 Fix for old, broken OpenAL-Soft headers
See 4219b91bbb
2015-05-26 01:40:53 +02:00
Jonas Kulla c92df0ce3a EventThread: Pause OpenAL device when entering background
This requires ALC_SOFT_pause_device to be present. It stops the
alc thread from needlessly consuming CPU resources.
2015-01-15 08:07:22 +01:00
Jonas Kulla 7c6a2b2c62 Pause RGSS execution when moving into background on Android
Assuming that there is enough memory for mkxp to stay in the
background and that the OS doesn't kill the process, this should
allow smooth resuming after moving back into the foreground.

For now, EGL context loss is not handled.
2015-01-15 08:02:21 +01:00
Jonas Kulla a05a3deff6 EventThread: Factor out event discarding code 2015-01-03 20:48:31 +01:00
Jonas Kulla 7003039e56 EventThread: Track touch state (maximum 4 fingers) 2015-01-03 19:18:52 +01:00
Jonas Kulla 3411435138 Factor out some thread communication code (window size, bindings) 2015-01-02 01:41:23 +01:00
Jonas Kulla 9122446b23 EventThread: Discard fake mouse events on mobile 2014-12-31 18:52:21 +01:00
Jonas Kulla 7cbf81c83a Add 'printFPS' config entry to continuously print FPS to console
Useful on platforms that don't have window decorations.
2014-12-31 18:52:21 +01:00
David Salvisberg 90e1c09711 Added support for JHat events. 2014-12-31 16:39:28 +01:00
Jonas Kulla 4a8b0f30c8 MRI: Add 'System.raw_key_states' to query full keyboard state
Returns a byte array with all key states (0 = released,
1 = pressed) indexed via SDL_SCANCODE_* enums.
2014-10-20 10:27:01 +02:00
Jonas Kulla dd73db2e9d Introduce F1 menu to reconfigure key bindings at runtime 2014-10-11 20:48:44 +02:00
Jonas Kulla d223d83cbf Implement F12 game reset (MRI only)
Can be disabled with "enableReset=false".

While at it, also replace the flakey volatile bool flags
with proper atomics.
2014-09-26 06:25:47 +02:00
Jonas Kulla 50e393fe6e Graphics: Fix resize_screen 2014-08-22 23:57:12 +02:00
Jonas Kulla 840ecee084 Fix 'uninitialized value used' warnings 2014-08-16 11:47:07 +02:00
Jonas Kulla 24759fb97b EventThread: Simplify user event handling 2014-08-06 15:54:44 +02:00
Jonas Kulla f11cc182df Remove screenshot functionality
It was only meant for debugging and brought with it
unneeded platform dependant issues.
2014-04-16 13:48:45 +02:00
Jonas Kulla 063793c4d9 Turn screenshots (F3) off by default 2014-01-07 05:25:00 +01:00
Jonas Kulla 8ed6de22a4 Input: Return const -20 mouse position when outside window 2014-01-05 01:15:33 +01:00
Jonas Kulla 43321b8ed7 Coding style fixes 2014-01-04 13:49:32 +01:00
Jonas Kulla 5f16eef273 EventThread: Properly allocate SDL user event codes 2014-01-02 02:22:10 +01:00
Jonas Kulla a0a27889a3 Merge #8 2014-01-02 00:11:57 +01:00
Edward Rudd a740f7754c add option to choose whether left alt or both alts toggle's fullscreen 2014-01-01 15:56:38 -05:00
Jonas Kulla 1bacceddf0 Spacing 2014-01-01 12:59:40 +01:00
Edward Rudd f42539e02b accept any alt for fullscreen switch 2013-12-31 19:31:29 -05:00