Commit graph

1893 commits

Author SHA1 Message Date
Splendide Imaginarius
8e62dfe68d
Merge pull request #117 from white-axe/comments
Change formatting of arrays in mkxp.json comments
2024-03-17 04:10:59 +00:00
Splendide Imaginarius
47030733c8
Merge pull request #128 from Splendide-Imaginarius/mkxp-z-s32
Support S32 audio sample formats
2024-03-17 03:52:21 +00:00
Splendide Imaginarius
4658487bb7
Merge pull request #86 from Eblo/graphics-transition-fps-bugfix
Graphics.transition average FPS bugfix
2024-03-17 03:49:10 +00:00
Splendide Imaginarius
37f40ab887 Graphics: short-circuit shader interpolation
Boosts framerate from ~35fps to ~95fps in the Lanzcos short-circuit case.
2024-01-24 00:06:40 +00:00
white-axe
073c294e12
Merge branch 'dev' into comments 2024-01-22 15:21:29 -05:00
Wayward Heart
0a8b24a5ec Graphics::snapToBitmap needs to call p->screen.composite() 2024-01-22 09:32:57 -06:00
Wayward Heart
9e8132ba25 Don't hang if the user closes the game while it's still initializing 2024-01-22 08:16:32 -06:00
Splendide Imaginarius
8ccbc046ed
Merge pull request #155 from Splendide-Imaginarius/mkxp-z-cross-compile
Add cross-compile support for Linux/ARM and Linux/POWER targets
2024-01-22 09:45:29 +00:00
Splendide Imaginarius
999514d860
Merge pull request #82 from WaywardHeart/fix-missized-blits
Shrink missized blits
2024-01-22 09:35:55 +00:00
Splendide Imaginarius
1cb431bbbf Add simple test suite for stretchBlt missized rects 2024-01-22 08:40:31 +00:00
Splendide Imaginarius
b13c4fe136 Add cross-compile support for Linux/ARM and Linux/POWER targets 2024-01-19 12:21:49 +00:00
Splendide Imaginarius
8d139e2a08
Merge pull request #141 from Splendide-Imaginarius/mkxp-z-xbrz
Add xBRZ shader
2024-01-16 20:09:51 +00:00
white-axe
e728b473fa
Merge branch 'dev' into comments 2024-01-13 21:55:00 -05:00
Eblo
a11a581a01
Check for audioThreadTermReq in movie audio thread 2024-01-13 21:16:20 -05:00
Splendide Imaginarius
936d768e4f Add xBRZ shader 2024-01-13 05:53:09 +00:00
Wayward Heart
67926b17f5 Use signals to dispose of the children of Viewports in RGSS1
The weak references method was throwing errors if the object id had already been recycled
2024-01-11 10:57:00 -06:00
Wayward Heart
35d46e627d Guard against deleted bitmaps
Ruby is not guaranteed to delete bitmaps after any windows, sprites, etc that they are attached to. In the event that the attached object is not deleted before the next call to Graphics.update, this will most likely result in a segfault, as isDisposed() is not guaranteed to return true for a deleted bitmap.

Bitmap::invalid was added in an attempt to guard against this for sprites, but since the bitmap in question is deleted it's not guaranteed that the pointer actually points to null, which made the fix unreliable.
2024-01-10 09:41:00 -06:00
Wayward Heart
43ac2b35a1 Don't clamp Bitmap::blit
Bitmap::stretchBlt handles that now
2024-01-05 07:33:55 -06:00
Wayward Heart
2247f1d9b7 Shrink missized blits 2024-01-05 07:33:55 -06:00
Splendide Imaginarius
edb3f83777
Merge pull request #126 from Splendide-Imaginarius/mkxp-z-artifacts-license
Add license notice to GitHub Actions artifacts
2023-12-15 23:54:10 +00:00
Splendide Imaginarius
9c5f09d3b4 Support S32 audio sample formats
Fixes FLAC playback.
2023-12-15 05:46:08 +00:00
Splendide Imaginarius
2d832934ff
Merge pull request #62 from WaywardHeart/ruby_classic_wrap
Replace the ruby18_wrap.rb preload script with ruby_classic_wrap.rb
2023-12-15 05:32:30 +00:00
Splendide Imaginarius
781beb9adf ruby_classic_wrap: Clarify authorship 2023-12-15 03:20:04 +00:00
Splendide Imaginarius
a7f20372fc
Merge pull request #135 from Splendide-Imaginarius/mkxp-z-bicubic-sharpness
Allow tuning bicubic sharpness
2023-12-15 03:12:20 +00:00
Splendide Imaginarius
27e7da25f8 Add license notice to GitHub Actions artifacts 2023-12-15 03:02:43 +00:00
Splendide Imaginarius
0f67af1712
Merge pull request #60 from WaywardHeart/autohide-cursor
Autohide mouse cursor after half a second
2023-12-15 02:54:32 +00:00
Splendide Imaginarius
9bdb70bc04
Merge pull request #139 from Splendide-Imaginarius/mkxp-z-bitmap-constructors
Refactor Bitmap constructors
2023-11-29 10:10:58 +00:00
Splendide Imaginarius
7032dccbc7 Add Bitmap constructors that take a TEXFBO or an SDL_Surface
Refactor snapToBitmap to use it, and add ability to dump VX Atlas with it.
2023-11-27 22:47:24 +00:00
Splendide Imaginarius
6f20252e04 Movie: create Bitmap without Hires replacement
Fixes black screen when videos play when Hires mode is enabled.

(Doesn't actually enable Hires Movie replacement yet.)

Thanks Eblo for reporting the bug.
2023-11-27 20:53:42 +00:00
Splendide Imaginarius
a3e9316438 Allow tuning bicubic sharpness 2023-11-26 10:51:56 +00:00
Splendide Imaginarius
5ed8fd7986
Merge pull request #107 from WaywardHeart/patches
Add a "patches" option to the config.
2023-11-22 21:55:56 +00:00
Splendide Imaginarius
939b67f4fa
Merge pull request #134 from Splendide-Imaginarius/mkxp-z-bicubic-macos
Add bicubic shader to macOS Xcode project
2023-11-22 19:45:03 +00:00
Splendide Imaginarius
dc1c37edd4
Merge pull request #125 from Splendide-Imaginarius/mkxp-z-gplv3
README.md: Clarify OpenSSL license
2023-11-22 16:20:52 +00:00
Splendide Imaginarius
6f3785e391 Add bicubic shader to macOS Xcode project 2023-11-22 15:34:54 +00:00
Splendide Imaginarius
6c0fd8d4ad
Merge pull request #127 from Splendide-Imaginarius/mkxp-z-not-gles
Lanczos3/bicubic shaders: Only set default precision on GLES
2023-11-15 03:45:01 +00:00
Splendide Imaginarius
567ee60d01 Audio: use double for seeking
At moderately large positions (e.g. 6 minutes at 48 KHz), float32 is only
precise to 2 samples.
2023-11-15 03:33:24 +00:00
Splendide Imaginarius
8ef08ce5da Lanczos3/bicubic shaders: Only set default precision on GLES
Doing so is noncompliant with desktop GL.
2023-11-14 00:10:10 +00:00
Splendide Imaginarius
d5ec20f020 README.md: Clarify OpenSSL license 2023-11-12 21:40:14 +00:00
Splendide Imaginarius
1dfb7b4db0
Merge pull request #122 from Splendide-Imaginarius/mkxp-z-openssl-v3-macos
Bump OpenSSL on macOS to v3.0.12
2023-11-12 20:56:08 +00:00
Splendide Imaginarius
9de3320681
Merge pull request #115 from Splendide-Imaginarius/mkxp-z-bicubic
Add bicubic scaling
2023-11-12 20:52:22 +00:00
Splendide Imaginarius
816b6e6e3c Bump OpenSSL on macOS to v3.0.12
Refs https://github.com/mkxp-z/mkxp-z/issues/46
2023-11-12 16:58:29 +00:00
Splendide Imaginarius
b6268de365
Merge pull request #121 from Splendide-Imaginarius/mkxp-z-openssl-v3
Bump OpenSSL on Linux+Windows to v3.0.12
2023-11-12 16:51:31 +00:00
Splendide Imaginarius
3ae758ad50 Bump OpenSSL on Windows to v3.0.12
Refs https://github.com/mkxp-z/mkxp-z/issues/46
2023-11-12 15:53:03 +00:00
Splendide Imaginarius
269a04c829 Bump OpenSSL on Linux to v3.0.12
Refs https://github.com/mkxp-z/mkxp-z/issues/46
2023-11-12 15:21:26 +00:00
Splendide Imaginarius
6c471dafdb Lanczos3 shader: fix copyright notice 2023-11-12 14:45:37 +00:00
Splendide Imaginarius
d9465b28a0 Bicubic shader: always use highp float 2023-11-12 14:44:19 +00:00
Splendide Imaginarius
a56e6e0987 Add bicubic scaling 2023-11-12 14:42:19 +00:00
Splendide Imaginarius
c9047da9ba
Merge pull request #95 from Eblo/shader-precision-bugfix
Fix precision issues in vertex shaders
2023-11-12 14:33:24 +00:00
Eblo
79bcaf266f
Fix precision issues in vertex shaders
Restore conditional that makes mediump declaration only apply to fragment shaders
This was erroneously removed to make the Lanczos3 shader link properly, but it resulted in vertex shaders incorrectly defaulting to mediump
Add highp precision declaration to Lanczos3 fragment shader so that it can link
2023-11-12 09:27:12 -05:00
Splendide Imaginarius
d7e43f0087
Merge pull request #109 from Splendide-Imaginarius/mkxp-z-preload-auto
`win32_wrap.rb`: Fallback to native `Win32API`
2023-11-05 13:00:20 +00:00