diff options
author | rtk0c <[email protected]> | 2022-04-08 22:30:12 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-04-08 22:30:12 -0700 |
commit | e7ef3f208c109357538b1f68af10bcd78db95c95 (patch) | |
tree | 066d614ae0f079e53602d7c0fd972998c546c8c1 /source/EditorCoreAPI.hpp | |
parent | f163e8f37123e651ea80b690793845b31ddb8639 (diff) |
Changeset: 3 More work
Diffstat (limited to 'source/EditorCoreAPI.hpp')
-rw-r--r-- | source/EditorCoreAPI.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/source/EditorCoreAPI.hpp b/source/EditorCoreAPI.hpp new file mode 100644 index 0000000..fa68822 --- /dev/null +++ b/source/EditorCoreAPI.hpp @@ -0,0 +1,18 @@ +// This file contains minimal definitions for other game components to integrate with editor +// Doing this instead of directly includign EditorCore.hpp and drastically remove the amount of code that needs to be dragged into every header + +#pragma once + +// Forward declarations +class App; +class GameWorld; + +class EditorGameObjectAttachment; +struct EditorGameObjectAttachmentDeleter { + void operator()(EditorGameObjectAttachment* obj); +}; + +class EditorInstance; +EditorInstance* EditorInstance_Alloc(App* app, GameWorld* world); +void EditorInstance_Free(EditorInstance* editor); +void EditorInstance_Show(EditorInstance* editor); |