timesynk/tile_editor/assets.h

51 lines
904 B
C

#ifndef ASSETS_H
#define ASSETS_H
/* globals */
int g_gfx; // 0 = not loaded, 1 = loaded
int g_set;
int g_id;
float g_scale_x;
float g_scale_y;
/* sets */
#define PLAYER 1
#define FLOOR 2
#define WALL 3
#define DOOR 4
#define ITEM 5
#define EQUIP 6
#define NPC 7
/* UI assets */
struct Element *first_element;
struct Element *last_element;
struct Element *focus_element;
struct Element *button_quit;
struct Element *text_console;
struct Element *text_graphics;
struct Element *input_graphics;
struct Element *button_graphics;
struct Element *text_data;
struct Element *input_data;
struct Element *button_data;
struct Element *button_data_save;
struct Element *text_set;
struct Element *input_set;
struct Element *button_set;
struct Element *text_id;
struct Element *input_id;
struct Element *button_id;
struct Element *text_name;
struct Element *text_value;
struct Element *image_tile;
#endif