diff options
Diffstat (limited to 'editor/tile.h')
| -rw-r--r-- | editor/tile.h | 21 |
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_ |
