Commit graph

10 commits

Author SHA1 Message Date
Wayward Heart
a73f9ccc1f Prevent memory leaks from rb_raise
rb_raise calls longjmp, which bypasses C++ destructors, and also keeps the error for catch blocks from being unallocated if passed by reference, which we do for exceptions.

Some of the calls I left can still jump out of try blocks, which you're not supposed to do, but there shouldn't be any objects with destructors initialized at those points so it's probably fine.
2024-08-02 09:26:51 -05:00
Amaryllis Kulla
fae7fa9c4e
Update ancurio's copyright notice (#29) 2023-10-04 15:07:34 -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
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
Inori
3b714579a8 Add Bitmap.raw_data property 2019-09-06 15:09:03 -04:00
Inori
cd3626c16f Set macOS deployment target to 10.10 2019-08-31 19:12:54 -04:00
Inori
7f3a548755 Remove mruby and null bindings 2019-07-31 08:47:44 -04:00
Renamed from binding-mri/audio-binding.cpp (Browse further)