Commit graph

1073 commits

Author SHA1 Message Date
Wayward Heart
2247f1d9b7 Shrink missized blits 2024-01-05 07:33:55 -06:00
Splendide Imaginarius
9c5f09d3b4 Support S32 audio sample formats
Fixes FLAC playback.
2023-12-15 05:46:08 +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
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
a56e6e0987 Add bicubic scaling 2023-11-12 14:42:19 +00:00
Eblo
7a12e6ddcf
Graphics.transition average FPS bugfix
Move average FPS update logic into new function updateAvgFPS()
Call this during Graphics.transition so that the FPS counter does not erroneously drop
2023-10-31 09:36:41 -04:00
Splendide Imaginarius
52c932b9a0
Merge pull request #105 from Splendide-Imaginarius/mkxp-z-lanczos-enum
Fold `lanczos3Scaling` config into `smoothScaling`
2023-10-31 12:20:47 +00:00
Splendide Imaginarius
bbe4064473
Merge pull request #48 from Splendide-Imaginarius/mkxp-z-httplib-0.14.1
Bump cpp-httplib to v0.14.1
2023-10-29 12:23:27 +00:00
Splendide Imaginarius
8b2363a5d0
Merge pull request #57 from WaywardHeart/macos-build-fixes
Macos build fixes
2023-10-29 12:22:36 +00:00
Splendide Imaginarius
982e1fdc31
Merge pull request #58 from WaywardHeart/useScriptNames
Fix default value for useScriptNames setting
2023-10-29 12:10:41 +00:00
Splendide Imaginarius
d51d440539 Bump cpp-httplib to v0.14.1 2023-10-29 11:59:55 +00:00
Splendide Imaginarius
77dedd06db
Merge pull request #18 from WaywardHeart/font-families
Make font families case insensitive
2023-10-29 11:05:50 +00:00
Splendide Imaginarius
a5b05cd1f0
Merge pull request #61 from Splendide-Imaginarius/mkxp-z-font-log
Log missing fonts
2023-10-29 06:34:49 +00:00
Wayward Heart
f8be9ffe4c Add a "patches" option to the config. 2023-10-26 21:44:42 -05:00
Splendide Imaginarius
3ecb09d050 Fold lanczos3Scaling config into smoothScaling
Thanks to Riley Pierce for the suggestion.

Fixes https://github.com/mkxp-z/mkxp-z/issues/73
2023-10-26 18:35:39 +00:00
Splendide Imaginarius
11a1fef1c3 Implement hi-res Bitmap replacement 2023-10-25 15:39:28 +00:00
Splendide Imaginarius
986875a144
Merge pull request #52 from Splendide-Imaginarius/mkxp-z-static-libgcc-windows
Build with static libgcc on Windows
2023-10-17 12:09:21 +00:00
Splendide Imaginarius
27b78eed5a Log missing fonts
Fixes https://github.com/mkxp-z/mkxp-z/issues/43
2023-10-17 10:18:53 +00:00
Wayward Heart
ac3c216978 Fix building on older MacOS SDKs 2023-10-17 04:38:55 -05:00
Wayward Heart
7151442515 Fix default value for useScriptNames setting 2023-10-17 04:38:29 -05:00
Wayward Heart
21fac5a946 Autohide mouse cursor after half a second 2023-10-17 04:38:05 -05:00
Splendide Imaginarius
925d70321f Clarify Meson comment, improve formatting 2023-10-17 06:14:20 +00:00
Splendide Imaginarius
d00b81fb50
Merge pull request #42 from ijuintekka/dev
Prevent building against incorrect sdl2_image.
2023-10-17 05:47:36 +00:00
Splendide Imaginarius
a2fce222f2 Build with static libgcc on Windows
Avoids needing to ship libgcc_s_seh-1.dll with the binaries.
2023-10-17 05:37:10 +00:00
ijuintekka
d26fa631ba Update meson.build 2023-10-15 22:10:59 +01:00
ijuintekka
f42f6c5dcf Update meson.build 2023-10-15 21:42:26 +01:00
ijuintekka
c01b2cbd92 Update meson.build 2023-10-15 21:22:31 +01:00
Splendide Imaginarius
ad3ddb7f8d
Merge pull request #34 from Splendide-Imaginarius/mkxp-z-eventthread-segfault
Fix segfault when opening settings menu
2023-10-15 12:16:12 +00:00
Splendide Imaginarius
8943c8e62c
Merge pull request #8 from Splendide-Imaginarius/mkxp-z-show-fps
Add "displayFPS" config option
2023-10-15 11:53:17 +00:00
ijuintekka
6e0611d287 Update meson.build 2023-10-13 08:57:57 +01:00
ijuintekka
1e70770b5e Update meson.build 2023-10-13 08:04:24 +01:00
Eblo
2894880550
Movie audio disposal bugfix
Put the audioThread check within the hasAudio conditional in the movie destructor
The order is significant, as trying to dispose of OpenAL objects before audioThread is complete can result in hanging
2023-10-10 21:27:15 -04:00
Splendide Imaginarius
4b4f7b524e Fix segfault when opening settings menu
Ported from:
3c031aa2a8
2023-10-09 23:23:06 +00:00
Splendide Imaginarius
4d7a4bff7f
Support opening JXL images (#24)
* Update SDL_image on linux+windows

Partially reverts "add -O3 to CFLAGS for dependencies"

This partially reverts commit 79bae839de.

* Enable JXL in SDL2_image
2023-10-08 23:04:50 -04:00
Eblo
3e4c2fb608
Do not call gl.UseProgram(0) in shader destructor (#26)
This can erroneously affect the GL state if destruction occurs after another GL program is set and before that operation finishes
2023-10-08 22:33:31 -04:00
Eblo
6341772866
Only dispose of movie audio if the movie has audio (#27)
This fixes a crash that occurs when trying to dispose of audio when the movie does not have any
2023-10-08 22:33:12 -04:00
Splendide Imaginarius
f46e132945
Fix division by zero segfault (#28)
Bug was introduced in c9378cfaba

Thanks to Eblog for reporting the bug.
2023-10-08 22:32:38 -04:00
Amaryllis Kulla
fae7fa9c4e
Update ancurio's copyright notice (#29) 2023-10-04 15:07:34 -04:00
Struma
c9378cfaba update Input.repeat timing on each Graphics.update
Instead of updating the `Input.repeat?` frame timing every time
`Graphics.frame_rate=` is called, automatically set it to the
current average framerate (or close to it)
2023-07-06 23:58:18 -04:00
Wayward Heart
2d9c06231d Make font families case insensitive 2023-07-04 21:14:32 -05: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
b5e49b7f19 spray two leftover audio bugs
+ BGM doesn't fading back in after playing an ME
+ `Audio#bgm_play` should stop() every track EXCEPT the first one when
	called with no track argument
2023-05-19 06:27:16 -04:00
Struma
34ef0c34a5 make fixedAspectRatio do what it's supposed to 2023-05-10 22:22:50 -04:00
Struma
46f505e560 short README edit 2023-05-08 22:47:52 -04:00
Struma
ab6c587b61 Clear up a couple warnings 2023-05-08 22:07:39 -04:00