Features
- Find enhanced music inside a subfolder next to the quest
140385e6d7DiscordMusic packs are usually distributed as a zip of loose files, and most archive tools extract those into a new folder named after the zip. ZC only looked next to the quest file or in a folder named "music", so that common layout silently played no music. The quest folder's immediate subfolders are now searched as a last resort (existing locations still take priority, and hidden folders are skipped).
Also, when a music file cannot be found, the log now lists every folder that was searched.
ZScript
- Sprite-based special draw layers
f874360bf8SPLAYER_SPRITE_TARGET_UNDER,SPLAYER_SPRITE_TARGET_OVERallow drawing at a special draw timing under or over any specific sprite.Graphics->SpriteLayerTargetcontrols the sprite used by these special layers. It defaults to NULL,
Bug Fixes
- Prevent crash on Linux when opening the native file dialog
362608918fThe native file dialog (on by default) could crash the player and editor on some Linux distros - notably when creating a new save file, which immediately opens the quest select dialog. Two changes:
- File dialogs now go through xdg-desktop-portal instead of in-process GTK3, so the desktop environment provides the dialog out-of-process. This also behaves better on Wayland.
- Our shared libraries no longer re-export symbols from vendored static libraries (libpng, libjpeg, zlib, ogg/vorbis). System libraries loaded into the process later - like GTK and gdk-pixbuf - could bind their image/compression calls to our vendored copies instead of the system ones and crash.
Regressed in 3.0.0-prerelease.2+2024-07-24 (e418d71242).
Build
- Linux crash reports could not be matched to uploaded debug info
137d3d3c66
Chores
- Log why enhanced music fails to load
c7c09812b3Discord