refactor: unify cross-platform asset loading, avoid hard-coding with folder-based asset embedding for desktop

This commit is contained in:
Ryan Walters
2025-09-11 01:11:00 -05:00
parent 43532dac56
commit 00a65954e6
9 changed files with 193 additions and 71 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "pacman"
version = "0.79.2"
version = "0.79.3"
authors = ["Xevion"]
edition = "2021"
rust-version = "1.86.0"
@@ -50,6 +50,7 @@ windows-sys = { version = "0.61.0", features = ["Win32_System_Console"] }
# On desktop platforms, build SDL2 with cargo-vcpkg
sdl2 = { version = "0.38", default-features = false, features = ["image", "ttf", "gfx", "mixer", "unsafe_textures", "static-link", "use-vcpkg"] }
rand = { version = "0.9.2", default-features = false, features = ["thread_rng"] }
rust-embed = "8.7.2"
spin_sleep = "1.3.3"
# Browser-specific dependencies