From 2ecda48bd1cc16b2e5e3e1ebb05098e191121aad Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Fri, 18 Jul 2025 15:49:12 -0400 Subject: libpke-editor: shared lib + load as plugin working --- editor/editor-plugin.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 editor/editor-plugin.cpp (limited to 'editor/editor-plugin.cpp') diff --git a/editor/editor-plugin.cpp b/editor/editor-plugin.cpp new file mode 100644 index 0000000..4acdb6c --- /dev/null +++ b/editor/editor-plugin.cpp @@ -0,0 +1,10 @@ + +#include "editor-plugin.hpp" +#include "editor.hpp" + +struct PKEPluginInterface pkePluginInterface = { + .OnInit = PkeEditor_Init, + .OnTick = PkeEditor_Tick, + .OnTeardown = PkeEditor_Teardown, + .OnImGuiRender = PkeEditor_RecordImGui, +}; -- cgit v1.2.3