diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-09-09 16:05:14 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-09-09 16:05:14 -0400 |
| commit | 5daa12fed0449a7811fc25ec62236bc060a56fa7 (patch) | |
| tree | 5af5ff1c4de2ab49dd4d1db9934b3b4ee34a54c2 /editor/editor-io.hpp | |
| parent | c40277cd665e04d300ea839a1dd2ff675655f5fb (diff) | |
pke: first-pass promote pke_level over pke_scene
Major runtime ownership overhaul (scene -> level).
Major ecs 'marked for removal' overhaul, ensuring
that entities and their components are actually
being removed when levels are unloaded.
Diffstat (limited to 'editor/editor-io.hpp')
| -rw-r--r-- | editor/editor-io.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/editor-io.hpp b/editor/editor-io.hpp index 07e9354..171b67c 100644 --- a/editor/editor-io.hpp +++ b/editor/editor-io.hpp @@ -1,8 +1,10 @@ #ifndef PKE_EDITOR_EDITOR_IO_HPP #define PKE_EDITOR_EDITOR_IO_HPP +#include "level-types.hpp" + void pke_editor_scene_save(const char *file_path); -void pke_editor_scene_load(const char *file_path); +void pke_editor_scene_load(pke_level *level, const char *file_path); void pke_editor_project_save(const char *file_path); void pke_editor_project_load(const char *file_path); |
