Commit graph

1682 commits

Author SHA1 Message Date
Struma
56ef0ed900 allow enabling/disabling certain options through env 2022-01-23 08:21:59 -05:00
Struma
27f7ee78e1 Videos should always stretch to fit 2022-01-23 06:20:13 -05:00
Struma
9f4068a9cf adjust touch bar layout 2022-01-23 05:57:26 -05:00
Struma
683b5af87e Prevent crashes when closing the window during video playback 2022-01-23 04:03:50 -05:00
Struma
67abad7036 Merge branch 'play-movie' into dev 2022-01-23 01:52:12 -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
03c6cb20de always use native (ANGLE) blit on macOS 2022-01-21 01:01:31 -05:00
Struma
45c5553619 clean up merge a bit 2022-01-21 00:38:13 -05:00
Eblo
3a6bae8c6d Add volume control to movie playback 2022-01-20 22:03:47 -05:00
Eblo
e874f554b3 Catch exceptions for movie playback 2022-01-20 22:03:47 -05:00
Eblo
86a6c93d58 Revamp movie playback
Separated movie playback code
Load movie file via SDL, allowing any file extension
Removed dead audio code
2022-01-20 22:03:47 -05:00
Eblo
bdb7c77a75 Sync audio to movie playback
Buffer audio packets directly while decoding video instead of playing audio independently
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
Eblo
286b2b7658 Implement Graphics.play_movie
Render video frames and play audio for Graphics.play_movie
Added theora dependency for theora video format playback
Added icculus's theoraplay to project
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
6266670997 use syncToRefreshRate normally on macOS again 2022-01-20 15:34:48 -05:00
Struma
d82220fb99 Adjust name of executable when using steamshim 2022-01-20 02:26:22 -05:00
Struma
9b5341deef fix building steamshim on linux 2022-01-19 04:06:43 -05:00
Struma
b2dd4db15d make pattern subtract blend mode actually subtract 2022-01-18 03:28:05 -05:00
Struma
9fcbdba420 Mention Steam's overlay only works under Metal 2022-01-17 02:09:51 -05:00
Struma
e51f808b61 Substract -> Subtract in Sprite pattern shader
I blame all of the typos leading me to believe
Ancurio was actually using Substract.
2022-01-17 01:25:44 -05:00
Struma
b5cfe11f60 Merge branch 'fix-windows-console' into 'dev'
Fix Windows debug mode

See merge request mkxp-z/mkxp-z!34
2022-01-17 04:21:36 +00:00
Struma
558942d8e7 Merge branch 'dev' into 'fix-windows-console'
# Conflicts:
#   src/config.cpp
2022-01-17 04:18:57 +00:00
Struma
8aa7fc7cc3 Use path select based on env rather than Debug
Building a Release seems to just break newer versions of ANGLE,
so now let's just use Debug always.
the environment variable `MKXPZ_SELECT_PATH`
can be set to any value to bring up the option to select a path
2022-01-16 22:56:58 -05:00
Struma
822b3ae550 support rendering using Metal 2022-01-16 19:57:50 -05:00
Joni Savolainen
f44d2bea1b Move Windows console init to the beginning of main
This is done to capture all potential messages to the debug console.
2022-01-16 18:30:05 +02:00
Joni Savolainen
8348f06d17 Add #if __WIN32__ check in win-consoleutils.cpp 2022-01-16 18:22:23 +02:00
Joni Savolainen
6d9c144b65 Open Windows standard file descriptors before initializing Ruby 2022-01-16 14:34:55 +02:00
Joni Savolainen
f52f09d4e5 Don't include "debug" in ruby ARGV 2022-01-16 14:30:18 +02:00
Joni Savolainen
aec03d14a4 Revert "Don't clear streams when they are reopened"
This reverts commit 7c1b15ecb8.
2022-01-16 13:21:45 +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
7c1b15ecb8 Don't clear streams when they are reopened 2022-01-15 11:04:56 +02:00
Joni Savolainen
c2deb233e0 Set up Windows console during MRI init 2022-01-15 08:55:22 +02:00
Struma
8a9cdf9266 Use NSSegmentedControl for virtual F5-F9 2022-01-14 18:43:35 -05:00
Struma
cb270888ba add Touch Bar support 2022-01-14 10:33:43 -05:00
Struma
2f02159dcc try to fix building steamshim with meson
Shot in the dark, no PC
2022-01-13 16:29:17 -05:00
Struma
233d5d17e9 make xcode actually link with 3.1 because I forgot 2022-01-13 15:52:21 -05:00
Struma
231f80cac5 bump version to 2.3 2022-01-13 15:40:40 -05:00
Struma
385060094c Merge branch 'dev' of https://gitlab.com/mkxp-z/mkxp-z into dev 2022-01-13 15:04:09 -05:00
Struma
e23bb705c9 upgrade to ruby 3.1 2022-01-13 15:03:28 -05:00
Struma
dbca8bee87 Merge branch 'rgssad-fast-seek' into 'dev'
Implement fast RGSSAD seek algorithm.

See merge request mkxp-z/mkxp-z!33
2022-01-05 20:49:08 +00:00
dogtopus
ac30eb9c41 Implement fast RGSSAD seek algorithm. 2022-01-05 20:49:08 +00: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
3da0f4c948 fix files sometimes not loading properly
Namely, when the path cache is off and the file closely matches the name
of another file, apparently.
2021-11-27 22:51:13 -05:00
Struma
52705de642 fix ruby arm64 cross-compilation on Intel Macs 2021-11-27 21:54:40 -05:00