summaryrefslogtreecommitdiff
path: root/editor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor.hpp')
-rw-r--r--editor.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/editor.hpp b/editor.hpp
index bb6a6a3..9443a45 100644
--- a/editor.hpp
+++ b/editor.hpp
@@ -1,13 +1,15 @@
#ifndef editor_hpp
#define editor_hpp
+#include "world.hpp"
+
struct UI;
struct Model_Instance;
struct Line_Renderer;
void init_editor(UI* ui);
void deinit_editor();
-void editor_on_select(Model_Instance* instance, int mesh);
+void editor_on_select(World& w, Entity_Id e, int m);
void editor_draw(Line_Renderer& lr);
#endif