Still more enums

This commit is contained in:
Pasi Kallinen
2018-03-31 11:43:38 +03:00
parent 9b7e146807
commit ebde14a6f9
7 changed files with 73 additions and 60 deletions

View File

@@ -25,10 +25,12 @@ struct container {
genericptr_t list;
};
#define CONS_OBJ 0
#define CONS_MON 1
#define CONS_HERO 2
#define CONS_TRAP 3
enum bubble_contains_types {
CONS_OBJ = 0,
CONS_MON,
CONS_HERO,
CONS_TRAP
};
struct bubble {
xchar x, y; /* coordinates of the upper left corner */