aboutsummaryrefslogtreecommitdiff
path: root/editor/tile.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/tile.h
parent8122098e3854bf68ca63cc25e082ba51a27b8615 (diff)
tbh i did a lot
Diffstat (limited to 'editor/tile.h')
-rw-r--r--editor/tile.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/editor/tile.h b/editor/tile.h
new file mode 100644
index 0000000..9ede5bd
--- /dev/null
+++ b/editor/tile.h
@@ -0,0 +1,21 @@
+#ifndef TILE_H_
+#define TILE_H_
+
+#include <teensy.h>
+#include <teensy_ui.h>
+
+typedef struct {
+ int width;
+ int height;
+ int *tiles;
+} Map;
+
+typedef struct {
+ Map *open_map;
+ tyui_Id tile_editor_win;
+} Tile_Editor;
+
+void tile_proc(void);
+void tile_draw(void);
+
+#endif // TILE_H_