Commit graph

1556 commits

Author SHA1 Message Date
Struma
4b46d6e47d remove commonDataPath and update mkxp.json to match the actual behavior 2022-07-04 11:18:22 -04:00
Struma
183cea7046 Fix reported mouse coordinates when scaled for HiDPI 2022-07-04 09:40:57 -04:00
Struma
25eba1381e Update mkxp.json 2022-07-04 07:48:28 -04:00
Struma
5100ae57e8 Add Bitmap.h_flip and v_flip 2022-07-04 07:35:38 -04:00
Struma
158c988399 Make macOS happy. 2022-07-04 06:22:07 -04:00
Struma
f839001be9 Finish moving to GameController API, other stuff
Namely:
- moved raw input states from System to Input
- Input.raw_key_states returns Array<Boolean> now
- the Joystick hash has become an entire module
- added manual input handling for controller buttons
- Raw controller states for both buttons and axes can be polled
- mouse and raw keys are now captured between Input updates
2022-07-04 04:53:52 -04:00
Struma
5f4b644bd0 switch to a (mostly) functioning GameController API 2022-07-03 21:36:48 -04:00
Struma
342f30069f Add Mouse4, Mouse5 and scroll wheel bindings 2022-07-03 11:53:40 -04:00
Struma
2a7ff4b7f3 Bind new graphics functions ruby-side 2022-07-03 10:01:07 -04:00
Struma
ee74bffc83 Add integer scaling options 2022-07-03 06:59:46 -04:00
Struma
3fd3e757dd Try to force dedicated AMD graphics too, just in case 2022-07-03 03:37:21 -04:00
Struma
a0da0df6ef SharedFontState: Add 'defaultFontFamily' property
5e3907c7f8
2022-07-03 03:23:28 -04:00
Struma
6c5616f65a Use win_subsystem instead of gui_app 2022-04-02 20:58:52 -04:00
Struma
cfc62d44fb Update minimum required meson version 2022-04-02 20:57:13 -04:00
Struma
4ef68693f6 Use software blitting on Windows by default 2022-04-02 20:25:15 -04:00
Struma
f38789371b Just link to gitbook build instructions from readme 2022-04-02 20:05:21 -04:00
Struma
9c84e208db Restore MP3 support; update configs 2022-04-02 19:58:49 -04:00
Struma
27f3a404d3 fix the z level of play_movie sprites 2022-03-19 20:43:17 +00:00
Struma
88d38395a9 fix building sdl_ttf on distros that aren't Ubuntu 2022-02-05 18:42:03 -05:00
Struma
64dad2ad27 Good enough to release (?) 2022-01-23 18:29:08 -05:00
Struma
85fe2b070a miscellaneous garbage 2022-01-23 09:54:33 -05:00
Struma
5855266dab make the terrifying sign-compare warnings go away 2022-01-23 09:31:27 -05:00
Struma
ac9f56c41c fudge nuggets 2022-01-23 08:41:32 -05:00
Struma
2fb6510fd5 prevent launching with text input already enabled 2022-01-23 08:37:17 -05:00
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