Improving entity serialization

This commit is contained in:
2024-11-08 23:41:39 +01:00
parent 194ec7d257
commit 55bcb5032d
4 changed files with 9 additions and 1 deletions

View File

@@ -49,6 +49,11 @@ visitor :: (info : *File_Visit_Info, files: *[..] Entity_File_Info) {
load_scene :: (name: string) -> *Scene {
scene := create_scene(name, 1024);
if engine.procs.on_scene_loaded != null {
engine.procs.on_pre_scene_loaded(scene, engine.mode);
}
path := tprint("../assets/scenes/%", name);
files : [..] Entity_File_Info;