summaryrefslogtreecommitdiff
path: root/src/editor.h
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-01-18 21:22:32 +0500
committerilotterytea <iltsu@alright.party>2025-01-18 21:22:32 +0500
commit6c4ecd35da17e07b743d4ef75e234383317d22ac (patch)
tree48e702ed1324f8526750d7dd90db464c2bb4742e /src/editor.h
parentf0284723a2e53b004777a71ad46cc4b75ed566ca (diff)
feat: new editor (wip) + using Camera2D
Diffstat (limited to 'src/editor.h')
-rw-r--r--src/editor.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/editor.h b/src/editor.h
new file mode 100644
index 0000000..0d7450e
--- /dev/null
+++ b/src/editor.h
@@ -0,0 +1,13 @@
+#include <raylib.h>
+
+#include "level.h"
+
+typedef struct {
+} EditorState;
+
+typedef struct {
+ Level *level;
+ EditorState state;
+} Editor;
+
+void SE_DrawEditor(Editor *editor, Camera2D *camera);