Commit graph

213 commits

Author SHA1 Message Date
Snowdream
7c066151ff Add a function to parse CSV files to multidimensional arrays. 2024-09-29 11:43:30 +00:00
Wayward Heart
2622a84c53 Add @autoreleasepool blocks to the macOS specific files.
Without these blocks the strings aren't released until the thread that created them is closed, which means file accesses especially leak memory.

Also refocus the game when closing the keybindings window on macOS.
2024-08-02 09:26:51 -05:00
Splendide Imaginarius
936d768e4f Add xBRZ shader 2024-01-13 05:53:09 +00:00
Splendide Imaginarius
6f3785e391 Add bicubic shader to macOS Xcode project 2023-11-22 15:34:54 +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
Wayward Heart
4039ad20f5 Fix openssl version on MacOS 2023-10-17 04:38:55 -05:00
Wayward Heart
a42d67622f Modify the built app's Info.plist on macos after it's copied to the app.
No more dirty edit from building.
2023-10-17 04:38:55 -05:00
Wayward Heart
363c622131 Make CoreHaptics.framework for MacOS optional
Makes the app runnable on High Sierra and Mojave. Anyone wishing to build it on High Sierra will still need to remove it.
2023-10-17 04:38:55 -05:00
Wayward Heart
ac3c216978 Fix building on older MacOS SDKs 2023-10-17 04:38:55 -05:00
Splendide Imaginarius
a4529ff3fb Fix libjxl linking on macOS 2023-10-15 08:40:21 +00:00
Splendide Imaginarius
56a92d55bd macOS: Use SDL_image's vendored libjxl 2023-10-09 08:45:07 +00:00
Splendide Imaginarius
9eed78fa2d Bump SDL to 2.28.1 2023-10-09 05:27:01 +00:00
Splendide Imaginarius
20c1f2fdf0 Revert "let's NOT update SDL yet"
This reverts commit 290ffe1135.
2023-10-09 05:27:01 +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
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
6be48a4942 Fix setting controller bindings not working only the first time 2023-05-10 14:50:54 -04:00
Struma
290ffe1135 let's NOT update SDL yet
Apparently it just breaks calls to SDL_SetWindowSize if it's called too
soon after boot and I'm too tired
2023-05-09 02:26:31 -04:00
Struma
15facd7380 stop running ruby's autoreconf on every makefile run 2023-05-09 00:02:36 -04:00
Struma
43488eb534 just zap all brew packages from the runner to avoid conflicts 2023-05-08 11:06:59 -04:00
Struma
bc4765a123 avoid conflicting with homebrew gmp because of macos-version-min mismatches 2023-05-08 08:29:11 -04:00
Struma
7940412314 github pls compile ruby, thanks 2023-05-08 07:28:26 -04:00
Struma
359ccd7a0c make the lanczos shader work on macOS 2023-05-08 04:47:24 -04:00
Struma
54a94beb8e macOS app needs to link with CoreHaptics now 2023-05-08 03:56:32 -04:00
Struma
3754b9bc84 Configure SDL with cmake instead of autotools 2023-05-08 03:54:42 -04:00
Struma
1cf921c463 update SDL and physfs 2023-05-08 02:44:45 -04:00
Struma
486e0b68d4 finally sort the stupid source list 2023-05-05 23:44:56 -04:00
Struma
2c0e166841 set -O3 for the app itself in Xcode 2023-05-05 23:26:45 -04:00
Struma
580da08dc3 Build Ruby with LTO enabled (#16) 2023-05-04 20:27:05 -04:00
Struma
10cdc672dd bump version to 2.4.2 2023-05-04 16:42:31 -04:00
Struma
b79881aada more workflow changes, put them in README 2023-05-04 14:30:42 -04:00
Struma
b573566d78 version bump to 2.4.1 2023-04-25 23:25:22 -04:00
Struma
82c7ea397f freedesktop/uchardet no longer exists for some reason 2023-04-22 15:05:46 -04:00
Zorua
a2075a5023 Update Ruby to 3.1.3 2022-12-13 04:42:21 -05:00
Zorua
cc1c19e150 Update ANGLE, set minimum macOS version to 10.13 2022-12-13 03:46:38 -05:00
Snowdream
c41967268c Update repos and readme 2022-08-22 15:45:10 -04:00
Snowdream
1424a19189 oopsie-poopsie I did a #$*&ky-wucky
Also, in other news, apparently SDL runs fast enough that it outpaced
the rest of the program and caused infinite loops if you called two
window-related functions too fast (like Graphics.scale + Graphics.center)
2022-07-24 03:05:04 -04:00
Snowdream
e492bd0cf5 Don't link with jpeg on macOS 2022-07-23 01:46:06 -04:00
Snowdream
843e54de2e deal with a couple warnings, make sure xcode project still builds 2022-07-22 13:12:29 -04:00
Snowdream
f81dda36fd Add preprocessor checks and warnings for building on older Xcode SDKs 2022-07-20 12:09:22 -04:00
Snowdream
88c5cfbbae Re-enable optimized builds on macOS
I disabled them because Release mode seemed to break ANGLE.
It seems that's fixed itself, somehow.
2022-07-20 12:09:22 -04:00
Snowdream
689911510a Revert using libnyquist 2022-07-19 06:05:05 -04:00
Snowdream
88ba39197d Load SEs with libnyquist
Apparently, the newer SDL_Sound releases decode a little
slower than the previous ones. It can cause some noticeable lag
when loading SEs. nyquist still uses the same decoders that SDL_Sound
used to use though, so maybe it helps?
2022-07-18 22:42:54 -04:00
Snowdream
79bae839de add -O3 to CFLAGS for dependencies 2022-07-18 22:40:31 -04:00
Snowdream
ff74f08fc0 updated SDL_image 2022-07-18 00:06:39 -04:00
Snowdream
dba559aafb Make Graphics thread-safety optional 2022-07-16 20:16:09 -04:00
Struma
97e4314a87 adjust touchbar layout when both reset and f1 menu are disabled 2022-07-05 05:48:34 -04:00
Struma
0ec885e640 version bump 2022-07-05 04:30:22 -04:00
Struma
d568423774 Allow disabling the F1 menu through mkxp.json 2022-07-04 13:06:35 -04:00
Struma
22138c855a Only show TouchBar reset button when enableReset is true 2022-07-04 11:33:46 -04:00