From 5daa12fed0449a7811fc25ec62236bc060a56fa7 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Tue, 9 Sep 2025 16:05:14 -0400 Subject: 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. --- src/scene-types.hpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/scene-types.hpp') 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 cameras; - pk_arr_t input_handles; }; #endif /* PKE_SCENE_TYPES_HPP */ -- cgit v1.2.3