1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 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_