summaryrefslogtreecommitdiff
path: root/src/plugin-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/plugin-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/plugin-types.hpp')
-rw-r--r--src/plugin-types.hpp2
1 files changed, 1 insertions, 1 deletions
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 */