summaryrefslogtreecommitdiff
path: root/src/editor.h
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-01-19 20:42:57 +0500
committerilotterytea <iltsu@alright.party>2025-01-19 20:42:57 +0500
commit3fa74d5844e441f0cccf711791066efaab054b63 (patch)
tree2a3f95088e49deba37963c16928d830373899146 /src/editor.h
parent8bc01fccc138461f3bd58cd9d2707309fe745a43 (diff)
feat: save/load .xd files (wip)
Diffstat (limited to 'src/editor.h')
-rw-r--r--src/editor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/editor.h b/src/editor.h
index ddd030f..e1981cf 100644
--- a/src/editor.h
+++ b/src/editor.h
@@ -2,13 +2,14 @@
#define __EDITOR_H__
#include <raylib.h>
-#include "level.h"
+#include "xd.h"
typedef struct {
+ int currentLevel, currentLayer;
} EditorState;
typedef struct {
- Level *level;
+ XdData *data;
EditorState state;
} Editor;