aboutsummaryrefslogtreecommitdiff
path: root/editor/tile.h
blob: 0886d4c59acc333154e9deaca6ef2edf87898219 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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;
    tyui_Id test_win;
} Tile_Editor;

void tile_proc(void);
void tile_draw(void);

#endif // TILE_H_