Commit graph

1898 commits

Author SHA1 Message Date
Splendide Imaginarius
711f9a4553
Merge pull request #158 from Nathan-MV/plugin-script
Some checks failed
Automatic Build / Ubuntu 22.04 x86_64 (push) Failing after 5s
Automatic Build / Ubuntu 22.04 arm64 (push) Failing after 3s
Automatic Build / Ubuntu 22.04 armv6 (push) Failing after 3s
Automatic Build / Ubuntu 22.04 armv7 (push) Failing after 2s
Automatic Build / Ubuntu 22.04 power8le (push) Failing after 2s
Automatic Build / Ubuntu 22.04 armv7-neon (push) Failing after 2s
Automatic Build / Ubuntu 22.04 power9le (push) Failing after 2s
Automatic Build / Ubuntu 22.04 riscv64 (push) Failing after 2s
Automatic Build / Ubuntu 22.04 s390x (push) Failing after 2s
Automatic Build / Windows (push) Has been cancelled
Automatic Build / macOS (push) Has been cancelled
Postload Scripts
2024-10-26 19:41:41 +00:00
Nathan-MV
17f9ec9c19 postload scripts 2024-10-26 14:24:32 +00:00
Splendide Imaginarius
cd8f1c28d3
Merge pull request #169 from Splendide-Imaginarius/mkxp-z-lanczos-short-circuit-part2
Bitmap: short-circuit shader interpolation
2024-10-23 23:59:05 +00:00
Splendide Imaginarius
7e9937b80f Bitmap: short-circuit shader/bilinear interpolation
Benchmark shows a speedup from 10.4s to 4.1s.
2024-10-23 22:36:00 +00:00
Splendide Imaginarius
1114671567
Merge pull request #88 from Nathan-MV/pr-symphony
Parse CSV - rapidcsv
2024-10-23 03:33:31 +00:00
Nathan-MV
48955ab120 update rapidcsv header 2024-10-05 12:50:03 +00:00
Nathan-MV
f27018912c fix conflicts with #207 2024-09-29 11:51:23 +00:00
Snowdream
d4bf2123a9 T++ CSVs do not have headers, don't try to read 'em 2024-09-29 11:43:30 +00:00
Snowdream
ab2f477031 Correctly parse CSVs with newlines within quoted strings 2024-09-29 11:43:30 +00:00
Snowdream
7c066151ff Add a function to parse CSV files to multidimensional arrays. 2024-09-29 11:43:30 +00:00
Splendide Imaginarius
ef90a2f30b
Merge pull request #223 from Splendide-Imaginarius/mkxp-z-seek-round
Audio: convert seconds to samples by rounding rather than flooring
2024-09-29 01:53:41 +00:00
Splendide Imaginarius
1a6e5c90b6
Merge pull request #210 from WaywardHeart/mkxp-z-preload-oem-keys
win32_wrap: add OEM keys
2024-09-29 01:52:29 +00:00
Splendide Imaginarius
6a3a0ddc86 Audio: convert seconds to samples by rounding rather than flooring 2024-09-27 17:59:47 +00:00
Splendide Imaginarius
c58d708faa
Merge pull request #130 from Splendide-Imaginarius/seek-double
Audio: use double for seeking
2024-09-27 17:34:12 +00:00
Splendide Imaginarius
a5d574984c
Merge pull request #192 from WaywardHeart/audio-segfault
Fix a segfault in audio streams
2024-09-03 09:33:55 +00:00
Wayward Heart
a3d028335c Re-encode S32 audio sample formats without re-enumerating the files 2024-09-03 03:11:27 -05:00
Splendide Imaginarius
ad84f2a743
Merge pull request #216 from Splendide-Imaginarius/mkxp-z-s390x
Add s390x as cross-compile target
2024-09-03 06:45:42 +00:00
Splendide Imaginarius
304132979d Fix default ARCH_OPENSSL in Linux Makefile
It was broken when introducing s390x support.
2024-09-03 06:15:35 +00:00
Splendide Imaginarius
a6d1c22c81 armv6 and armv7 are no longer experimental 2024-09-03 06:04:30 +00:00
Splendide Imaginarius
5bf39ffdf0 Add s390x as cross-compile target
Includes an OpenSSL build fix that should also help for riscv64. Doesn't
fully build yet because src/util/serial-util.h errors on big-endian
targets.
2024-09-03 06:02:59 +00:00
Splendide Imaginarius
88948f05db
Merge pull request #208 from white-axe/volume-scale
Use a -35 dB scale for sound volume
2024-09-03 04:07:58 +00:00
Splendide Imaginarius
ae04a71b9f
Merge pull request #215 from Splendide-Imaginarius/mkxp-z-armv6
Fix armv6 cross-compile target
2024-09-03 04:03:07 +00:00
Splendide Imaginarius
a1d438b5dd Fix armv6 cross-compile target
Similar changes as c09ee66e69.

Also had to use -march instead of -mcpu (also inconsistent with GCC docs),
and disable Thumb.
2024-09-03 03:29:11 +00:00
刘皓
96c234fe4c
Correct the comment explaining the -35 dB scale 2024-09-02 22:12:16 -04:00
刘皓
9a3cfb7e96
Add a comment explaining how the -35 dB volume scale was determined 2024-09-02 21:56:18 -04:00
Splendide Imaginarius
fa80e5b24a
Merge pull request #207 from WaywardHeart/memory-leaks
Fix some more memory leaks and improve behavior of disposed objects
2024-09-03 01:36:48 +00:00
刘皓
2b944a0b58
Re-add GLOBAL_VOLUME but set it to 1 instead of 0.8 2024-09-02 21:35:36 -04:00
Splendide Imaginarius
1f1b5105e0
Merge pull request #214 from Splendide-Imaginarius/mkxp-z-armv7-no-neon
Fix armv7 cross-compile target
2024-09-03 01:20:22 +00:00
Splendide Imaginarius
755136d58c
Merge pull request #167 from white-axe/retina-test
Remove forced enabling of `enableBlitting` on macOS
2024-09-03 01:17:26 +00:00
Wayward Heart
f17c5c3a05 Don't raise if the game attempts to retrieve the autotiles/bitmaps from a disposed Tilemap. 2024-09-02 15:22:41 -05:00
刘皓
d3a0b4c9fb
Remove the config option that changes the volume scale 2024-09-02 15:58:15 -04:00
white-axe
c5f444c622
Update the comment for enableBlitting in mkxp.json 2024-09-02 15:44:59 -04:00
white-axe
64f61c0665
Remove forced enabling of enableBlitting on macOS 2024-09-02 15:44:25 -04:00
Splendide Imaginarius
c09ee66e69 Fix armv7 cross-compile target
I don't know why this change matters; my reading of the GCC documentation
is that they should be equivalent, but clearly either I misread the docs
or there's a GCC bug. Either way, this fix should be fine.
2024-09-02 03:44:59 +00:00
Splendide Imaginarius
84fcd28ebb
Merge pull request #213 from Splendide-Imaginarius/mkxp-z-meson-setup
Avoid deprecated meson usage
2024-09-02 02:17:28 +00:00
Splendide Imaginarius
5c987cd068 Add trailing newline to GitHub Actions workflow 2024-09-02 02:09:24 +00:00
Splendide Imaginarius
4cf7384e16 Avoid deprecated meson usage 2024-09-02 02:08:54 +00:00
Splendide Imaginarius
f33e2662b5
Merge pull request #212 from enumag/controller-bindings
Fix controller bindings
2024-09-02 01:39:15 +00:00
Jáchym Toušek
e68e4663ec Fix controller bindings 2024-08-31 10:30:53 +02:00
Splendide Imaginarius
f06bbb92a5
Merge pull request #137 from Splendide-Imaginarius/mkxp-z-actions-windows-zip
GitHub Actions: zip Windows artifact before uploading
2024-08-30 23:02:48 +00:00
Splendide Imaginarius
6ca7d063ae GitHub Actions: zip Windows artifact before uploading 2024-08-30 13:30:08 +00:00
Splendide Imaginarius
d2d46b282e
Merge pull request #152 from Eblo/movie-audio-termination-bugfix
Check for audioThreadTermReq in movie audio thread
2024-08-30 13:08:29 +00:00
Wayward Heart
cf43cf005b Don't store Exception objects' messages on the stack. 2024-08-27 22:20:36 -05:00
Wayward Heart
181192cb04 Close the SDL_RWops when we're done with it when loading midi audio. 2024-08-19 01:16:03 -05:00
Wayward Heart
891b1fd9f7 Don't close audio streams until we're sure we've found a file, and always attempt to load the requested file if the stream is closed.
This matches RGSS's behavior should an Audio method be called for a non-existent file, and prevents a segfault if an attempt raises an error and then play is called again for the previously playing file.

As part of this fix, we're now storing the SDL_RWops for audio streams directly in the source structs.
2024-08-19 01:16:03 -05:00
刘皓
f6b67ec99e
Remove the global volume multiplication by 0.8
This commit removes the multiplication of all OpenAL output by 0.8 added
by 4560589e25 because I feel like the 0.8
factor served no purpose other than to fix perceived problems with the
volume scale, which the commit that this pull request is part of is
supposed to address. Feel free to revert this commit if it turns out the
0.8 factor served some other purpose.
2024-08-07 01:06:45 -04:00
刘皓
f0294b0390
Change "35 dB" to "-35 dB" to be more accurate 2024-08-06 22:01:36 -04:00
刘皓
34d22dd809
Remove useless #include "al-util.h" from config.h 2024-08-06 16:28:20 -04:00
刘皓
684f3ac522
Use std::pow instead of std::powf 2024-08-06 16:26:23 -04:00
刘皓
6082a88511
Make the dB scale option 0 instead of the linear scale 2024-08-06 16:05:11 -04:00