Commit graph

253 commits

Author SHA1 Message Date
Struma
56ef0ed900 allow enabling/disabling certain options through env 2022-01-23 08:21:59 -05:00
Struma
683b5af87e Prevent crashes when closing the window during video playback 2022-01-23 04:03:50 -05:00
Struma
84f95966ea Clean up videos some more, make them skippable
Also, revert a change I made to the button names internally
a long time ago, when the intent behind mkxp-z was possibly going to be
different.
2022-01-23 01:46:13 -05:00
Struma
45c5553619 clean up merge a bit 2022-01-21 00:38:13 -05:00
Eblo
e874f554b3 Catch exceptions for movie playback 2022-01-20 22:03:47 -05:00
Eblo
b4d468f29d Sync audio for movies and add optional volume control 2022-01-20 22:03:47 -05:00
Struma
950e62dff1 make reloads after using System.un/mount optional
Also, use rb_bool_arg more often.
2022-01-20 19:50:46 -05:00
Struma
558942d8e7 Merge branch 'dev' into 'fix-windows-console'
# Conflicts:
#   src/config.cpp
2022-01-17 04:18:57 +00:00
Joni Savolainen
6d9c144b65 Open Windows standard file descriptors before initializing Ruby 2022-01-16 14:34:55 +02:00
Joni Savolainen
e2ba8d4398 Revert "Allow queuing Debug prints"
This reverts commit ac778db752.
2022-01-16 13:21:40 +02:00
Struma
c2ebb1d234 fix System::VERSION returning macro name
Yes, I'm an idiot for not noticing, but it's fixed now.
2022-01-15 17:21:26 -05:00
Joni Savolainen
ac778db752 Allow queuing Debug prints 2022-01-15 11:05:45 +02:00
Joni Savolainen
c2deb233e0 Set up Windows console during MRI init 2022-01-15 08:55:22 +02:00
Struma
3124395cf8 Give Graphics.screenshot the correct pointer (fixes #51) 2021-12-20 17:38:17 -05:00
Struma
725d593db3 add Sprite.pattern_blend_type 2021-11-29 21:58:18 -05:00
Struma
3dc2128b25 Swapping pattern fit modes + color inversion 2021-11-29 18:57:43 -05:00
Struma
6722a1e61a Add settable bitmap patterns on Sprites 2021-11-29 06:58:41 -05:00
Struma
59d326ef4a Remove basically pointless build options 2021-10-14 05:28:32 -04:00
Struma
e9fdf46d49 Include Ruby standard library by default on macOS 2021-08-28 04:53:04 -04:00
Struma
8b0bb010ba Make load_data properly work in threads 2021-08-27 05:08:34 -04:00
Struma
d8c4351b60 rename String.guess to String.to_utf8 2021-08-12 00:35:19 -04:00
Struma
1e054ade0e Add String.guess, String.guess! 2021-08-11 01:56:03 -04:00
Struma
20878a4d70 Freeze System::CONFIG 2021-06-25 22:07:18 -04:00
Struma
9920de87f8 Make json config accessible from System::CONFIG 2021-06-22 18:32:39 -04:00
Struma
6c08073610 Set Ruby's ARGV based on the command line 2021-06-22 09:38:23 -04:00
Struma
3626ac072f Make the window title a gettable property 2021-06-11 14:26:14 -04:00
Struma
ee010c6d52 Fix brainfart in load_data 2021-06-10 10:48:36 -04:00
Struma
95e17244fd Remove Windows API emulation 2021-06-08 19:02:15 -04:00
Struma
af1924abd9 Suppress Documentation errors for Xcode
There are 14,000 of them and I just don't care.
2021-06-08 03:22:46 -04:00
Struma
63b40053ac Prevent relevant functions from stepping over Graphics.update when threading 2021-06-04 14:29:45 -04:00
Struma
f9c8e0e900 Run HTTP functions without GVL 2021-06-04 09:14:06 -04:00
Struma
fdb86f2ede Do not use GVL on possibly time-consuming functions 2021-06-02 08:42:32 -04:00
Struma
d1ee8f8f30 Windows I hate you 2021-05-23 23:43:33 -04:00
Struma
513e2935b2 Big Dummy Forgets a Function 2021-05-23 23:23:10 -04:00
Struma
a216869375 fix misplaced #else 2021-05-23 22:06:35 -04:00
Struma
258055d86a Remove SDL_GetPlatform call 2021-05-23 21:58:48 -04:00
Struma
ca596cbaf9 cleanup 2021-05-23 21:55:02 -04:00
Struma
84c4f97c6c Add more detailed platform detection 2021-05-23 21:40:48 -04:00
Struma
819dac706f Add System.launch 2021-05-23 19:48:32 -04:00
Struma
0af061edf1 Catch exceptions in Window.update (Fixes #43) 2021-05-19 16:29:16 -04:00
Struma
96206f9909 oopsies 2021-05-04 23:35:09 -04:00
Struma
6fe980abc8 Massively improve animation frame timing 2021-05-04 23:32:01 -04:00
Struma
52dcda6d15 Fix blitting, add optional position arg to Bitmap.snap_to_bitmap 2021-05-03 19:09:36 -04:00
Struma
664bfb41ba Bitmap.snap_to_bitmap && Bitmap.each_frame 2021-05-03 11:51:39 -04:00
Struma
31c8dc8367 Raise Ruby errors in Bitmap animation functions 2021-05-03 10:26:45 -04:00
Struma
380bd1d249 Add Bitmap.next_frame + Bitmap.previous_frame 2021-05-02 21:53:55 -04:00
Struma
1219fb4ab9 Support manual animation of Bitmaps 2021-05-02 20:36:28 -04:00
Struma
2c188f944a Fix setting animated bitmap FPS from Ruby 2021-05-02 13:24:46 -04:00
Struma
f98b91ff9a Support animated GIFs 2021-05-01 21:50:39 -04:00
Struma
f583683609 Satisfy hardened runtime dyld path reqs in Win32API 2021-04-15 23:59:27 -04:00