Expand description
Zero-Rust game project loading: manifest → DSL compile → script registry.
LoadedProject::load reads the .dotzuki-editor.json manifest, compiles
every DSL file under the manifest’s dsl_dirs (in memory), registers the
compiled scenes with a ScriptLoader, and keeps the storyline routing
table and a scene-name ↔ file-stem index for entry resolution.
All file access goes through the ProjectFiles VFS: load is the
on-disk convenience (DiskFiles); load_with_files
boots a project from any backend (e.g. an in-memory [MemoryFiles] on
WASM). DSL source_paths are project-relative POSIX paths in both cases
(data/maps/<id>/script.scene), which is what the runtime’s scene ↔ map
matching keys on.
Structs§
- Loaded
Project - A fully loaded zero-Rust game project.
Constants§
- DEFAULT_
MAPS_ DIR - Default maps directory under
dataRootwhen nomapactivity configuresmapsDir.