From 3fa74d5844e441f0cccf711791066efaab054b63 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 19 Jan 2025 20:42:57 +0500 Subject: feat: save/load .xd files (wip) --- src/editor.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/editor.h') 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 -#include "level.h" +#include "xd.h" typedef struct { + int currentLevel, currentLayer; } EditorState; typedef struct { - Level *level; + XdData *data; EditorState state; } Editor; -- cgit v1.2.3