Splendide Imaginarius
11a1fef1c3
Implement hi-res Bitmap replacement
2023-10-25 15:39:28 +00:00
Amaryllis Kulla
fae7fa9c4e
Update ancurio's copyright notice ( #29 )
2023-10-04 15:07:34 -04:00
Riley Pierce
0a28d4cf3c
add system.file_exist? ( #19 )
...
binding to the internal filesystem.exists, a less janky way of checking if a file exists in the path cache
2023-08-01 03:28:08 -04:00
Struma
ee8dc7e0fa
make Input time functions return the correct type
2023-05-28 20:24:27 -04:00
Struma
39f7cb45b7
Adjust error messages for script load failure
2023-05-21 19:48:33 -04:00
Struma
b0d8e0b2ba
Allow passing nil as a track to BGM functions
2023-05-20 14:54:09 -04:00
Struma
fa0e60b7fc
Add git hash to System::VERSION
...
I don't really plan on putting out another "release tag" anytime soon,
so the hash for the current git commit is being added to the version string
to help tell the difference between one build and the other.
2023-05-19 08:49:32 -04:00
Struma
959e983884
Remove collected sprite IDs from their viewports
2023-05-08 23:38:54 -04:00
Struma
0072c19371
Multiple changes
...
+ Time is now measured in fractions of a second, not microseconds
+ Viewports in RGSS1 will now only retain weak references to their children
+ Invalid Sprite bitmaps found during Graphics.update will be treated as null
+ Bitmap#mega? and Bitmap#animated? are properly rescued
2023-05-03 23:00:06 -04:00
Struma
1cfbac0c41
clean up stuff + add multitrack setting to json
2023-04-23 20:38:35 -04:00
Struma
5d39805aeb
bgm_play, bgm_stop and bgm_fade should default to stopping/fading all channels when no channel is specified
2023-04-22 10:22:26 -04:00
Struma
6e9e8a4075
allow multiple channels of BGM, and add functions to adjust playing BGM volume
2023-04-22 10:22:26 -04:00
Struma
c62a8dfd3a
emplace bad
2023-04-12 22:53:18 -04:00
Struma
e91c470ea0
make config code slightly more readable
2023-04-12 22:28:03 -04:00
Struma
745dc3854f
fix loading settings from json erasing other things set within the same session
2023-04-12 21:03:32 -04:00
Splendide Imaginarius
963bd856cf
Update JIT for Ruby v3.1.0+ ( #7 )
...
* Fix MJIT options for Ruby v3.1.0+
* Support YJIT
2023-03-03 08:56:23 -05:00
Splendide Imaginarius
3fc5bbe429
Bump MINIFFI_MAX_ARGS to 16 ( #4 )
...
* MiniFFI: Use MINIFFI_MAX_ARGS instead of literal
* MiniFFI: Document lines that need changing if MINIFFI_MAX_ARGS changes
* Bump MINIFFI_MAX_ARGS to 12
Fixes https://github.com/mkxp-z/mkxp-z/issues/2
* Bump MINIFFI_MAX_ARGS to 16
2022-12-21 05:25:15 -05:00
Zorua
368534fd1d
Automatically load Zlib again, the right way
2022-12-21 05:18:52 -05:00
Zorua
6007c45c8a
Add Graphics.display_width & Graphics.display_height
2022-09-24 03:09:53 -04:00
Snowdream
843e54de2e
deal with a couple warnings, make sure xcode project still builds
2022-07-22 13:12:29 -04:00
Snowdream
4e6e291624
Revert adding Bitmap#v_flip/h_flip
2022-07-20 02:56:04 -04:00
Snowdream
be88ebef2b
Don't try to load zlib by default anymore
...
This really only works in 3.0+ it seems.
2022-07-16 20:16:18 -04:00
Snowdream
dba559aafb
Make Graphics thread-safety optional
2022-07-16 20:16:09 -04:00
Snowdream
a2f9eb08ad
Actually bind Input::Controller.pressex?
2022-07-09 23:46:47 -04:00
Snowdream
bd075d62fe
Older versions of Ruby 2 don't have rb_utf8_str_*
2022-07-09 19:29:08 -04:00
Struma
8484945539
raw_key_states shouldn't return button states
2022-07-09 04:27:21 -04:00
Struma
d4dc31af9e
Add Graphics.resize_window
2022-07-05 08:42:26 -04:00
Struma
0f8a140dec
Correct bad GVL ifdefs
2022-07-05 04:21:03 -04:00
Struma
8f018fdb30
Change CONFIG
to CFG
...
last minute thought I had, in order to try and avoid
conflicts with any other global constants that happen
to be called "CONFIG". Also looks nice next to "ENV".
2022-07-05 03:25:13 -04:00
Struma
0131abd4dd
Add ability to change configuration from Ruby
...
- `System.config` has become `CONFIG.to_hash`
- `CONFIG[]` can be used to look up settings
- `CONFIG[]=` can be used to add/change settings
- When reading settings, user settings are preferred over defaults
- Changes are immediately stored in the user settings file
2022-07-05 03:16:44 -04:00
Struma
5100ae57e8
Add Bitmap.h_flip and v_flip
2022-07-04 07:35:38 -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
a0da0df6ef
SharedFontState: Add 'defaultFontFamily' property
...
5e3907c7f8
2022-07-03 03:23:28 -04:00
Struma
64dad2ad27
Good enough to release (?)
2022-01-23 18:29:08 -05:00
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