summaryrefslogtreecommitdiff
path: root/src/scene-types.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-09-09 16:05:14 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-09-09 16:05:14 -0400
commit5daa12fed0449a7811fc25ec62236bc060a56fa7 (patch)
tree5af5ff1c4de2ab49dd4d1db9934b3b4ee34a54c2 /src/scene-types.hpp
parentc40277cd665e04d300ea839a1dd2ff675655f5fb (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 'src/scene-types.hpp')
-rw-r--r--src/scene-types.hpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/scene-types.hpp b/src/scene-types.hpp
index 9caea6e..8230506 100644
--- a/src/scene-types.hpp
+++ b/src/scene-types.hpp
@@ -1,10 +1,8 @@
#ifndef PKE_SCENE_TYPES_HPP
#define PKE_SCENE_TYPES_HPP
-#include "camera.hpp"
#include "components.hpp"
#include "pk.h"
-#include "player-input.hpp"
const uint8_t SCENE_NAME_MAX_LEN = 16;
#define pke_scene_name_printf_format "%16s"
@@ -13,8 +11,6 @@ struct pke_scene : public Entity_Base {
pk_str file_path = {};
char name[SCENE_NAME_MAX_LEN] = {'\0'};
SceneHandle scene_handle = SceneHandle_MAX;
- pk_arr_t<CameraHandle> cameras;
- pk_arr_t<pke_input_action_set_handle> input_handles;
};
#endif /* PKE_SCENE_TYPES_HPP */