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-types.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-types.hpp')
| -rw-r--r-- | editor/editor-types.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor-types.hpp b/editor/editor-types.hpp index ff8239b..f84b7d3 100644 --- a/editor/editor-types.hpp +++ b/editor/editor-types.hpp @@ -6,8 +6,8 @@ // TODO editor state (scene vs level) struct editor_master { - pke_scene *active_scene; - pk_str target_scene_path; + pke_scene *active_scene = nullptr; + pk_str target_scene_path = {}; bool shouldLoadScene = false; bool shouldSaveScene = false; }; |
