Commit graph

10 commits

Author SHA1 Message Date
刘皓
eedd7d4481
Make sure assets and shaders are embedded prior to building
These files were not guaranteed to be available before Ninja builds the
mkxp-z source files.
2025-07-12 21:28:55 -04:00
刘皓
f162e8a494
Replace xxd with a custom executable
This removes the need to have xxd installed and provides a portable way
to specify the name of the output array (xxd has an `-n` option for
this, but it isn't present in older versions of xxd), which helps reduce
the possibility of symbol conflicts in libretro builds and also prevents
portability issues since the name of xxd's output array depends on the
relative path to the input file, which can break if Meson changes the
structure of the build directory or if the user sets the build directory
to a different location.

Also, this custom executable declares the array as const so that it goes
into the read-only data section of the binary instead of the data
section.
2025-02-27 22:55:22 -05:00
刘皓
ceea260b82
Make the xxd command in shader/meson.build less fragile 2025-02-18 22:58:58 -05:00
Splendide Imaginarius
936d768e4f Add xBRZ shader 2024-01-13 05:53:09 +00:00
Splendide Imaginarius
a56e6e0987 Add bicubic scaling 2023-11-12 14:42:19 +00:00
Splendide Imaginarius
f26a9a8e1c
Add Lanczos3 scaling (#9)
"Lanczos filtering tends to yield much better quality (sharper image) than bilinear filtering."
2023-05-05 15:39:42 -04:00
Aeodyn
050da27ca0 Brought the tilemap class mostly in line with Essential's CustomTilemap wrt animations, though at the cost of backwards compatibility.
(This could be rescued by per-tile animation lentghs in tilemap.vert, but this should suffice for now.)
2020-07-14 19:34:38 +00:00
Inori
3ee8659dda Begin using Objective-C (ObjFW), remove cwalk 2019-12-14 13:31:48 -05:00
Inori
df4cf83e93 Only regenerate embedded files as needed 2019-08-15 09:08:09 -04:00
Inori
37e5943f34 Use meson as build system 2019-07-29 07:56:45 -04:00