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/plugin-types.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugin-types.hpp') diff --git a/src/plugin-types.hpp b/src/plugin-types.hpp index f7a119b..63b097e 100644 --- a/src/plugin-types.hpp +++ b/src/plugin-types.hpp @@ -33,7 +33,7 @@ struct PkeCallback { // the 16 char signature(name) of a function CallbackSignature name = {'\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0'}; // the address of the function to call - populated on startup - void *func = nullptr; + void (*func)() = nullptr; }; #endif /* PKE_PLUGIN_TYPES_HPP */ -- cgit v1.2.3