From ed7dfaad432b6e3fe838b9a2b5fe225abea5365d Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Tue, 26 May 2026 15:35:13 -0400 Subject: tbh i did a lot --- editor/editor.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 editor/editor.h (limited to 'editor/editor.h') 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_ -- cgit v1.3-2-g0d8e