aboutsummaryrefslogtreecommitdiff
path: root/source/EditorCoreAPI.hpp
blob: fa68822e4912468af458e4ea3ca73484648d845b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);