aboutsummaryrefslogtreecommitdiff
path: root/editor/editor.h
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-05-26 15:35:13 -0400
committeriamcheeseman <[email protected]>2026-05-26 15:35:13 -0400
commited7dfaad432b6e3fe838b9a2b5fe225abea5365d (patch)
tree0af2e01a688d963ec6d2977802dbeb9156335845 /editor/editor.h
parent8122098e3854bf68ca63cc25e082ba51a27b8615 (diff)
tbh i did a lot
Diffstat (limited to 'editor/editor.h')
-rw-r--r--editor/editor.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/editor/editor.h b/editor/editor.h
new file mode 100644
index 0000000..422a2fe
--- /dev/null
+++ b/editor/editor.h
@@ -0,0 +1,25 @@
+#ifndef EDTIOR_H_
+#define EDTIOR_H_
+
+#include "tile.h"
+
+#define SCREEN_WIDTH (320)
+#define SCREEN_HEIGHT (256)
+
+typedef uint8_t Editor_State;
+enum {
+ EDITOR_TILE,
+ // EDITOR_ENTITY,
+};
+
+typedef struct {
+ ty_Font font;
+ Editor_State state;
+ Tile_Editor tile;
+} Editor;
+
+extern Editor editor;
+
+int editor_main(void);
+
+#endif // EDTIOR_H_