28 #include <color_def.h>
53 const int NUM_STATS = 6;
55 extern std::string STAT_NAMES[NUM_STATS];
118 return this->tile_id == rhs.
tile_id;
121 bool operator!=(
const Tile& rhs)
const{
122 return this->tile_id != rhs.
tile_id;
127 static const int TILE_TYPE_COUNT = 32;
128 extern Tile TILE_INDEX[TILE_TYPE_COUNT];
129 extern Tile OVERWORLD_DIRT;
131 extern Tile DUNGEON_BORDER;
132 extern Tile ROOM_WALL;
137 extern Tile MAIN_CHAR;
138 extern Tile MAIN_CHAR2;
139 extern Tile MAIN_CHAR3;
140 extern Tile MAIN_CHAR4;
142 extern Tile BLOCK_WALL;
143 extern Tile DOWN_STAIR;
144 extern Tile UP_STAIR;
146 extern Tile KOBOLD_SPAWNER;
148 extern Tile LIGHT_WATER;
151 extern Tile BIG_TREE;
152 extern Tile GRASS_DIRT;
153 extern Tile KOBOLD_CORPSE;
156 extern Tile RABBIT_CORPSE;
160 extern Tile WOOD_WALL;
161 extern Tile WOOD_FLOOR;
199 return this->
id == rhs.
id;
206 return !(this->
id == rhs.
id);
211 extern MapTile MAP_TILE_INDEX[5];
314 return this->name==rhs.
name;
391 return this->name==rhs.
name;
465 return this->name==rhs.
name;
517 return this->name==rhs.
name;
535 static const int NUM_CONSUMABLES = 1;
616 std::vector<EquipType>
eq;
622 std::vector<WeaponType>
wep;
629 return this->
id==rhs.
id;
638 extern int NUM_ENEMIES;
bool operator!=(const MapTile &rhs) const
Definition: defs.h:205
std::vector< int > stats
Definition: defs.h:575
bool operator==(const EnemyType &rhs) const
Definition: defs.h:627
int char_count
Definition: defs.h:72
Tile sprite
Definition: defs.h:605
int rarity
Definition: defs.h:349
std::string description
Definition: defs.h:421
int moral
Definition: defs.h:570
bool use
Definition: defs.h:302
int value
Definition: defs.h:445
bool operator==(const MiscType &rhs) const
Definition: defs.h:515
int color
Definition: defs.h:182
Tile sprite
Definition: defs.h:485
int view
Definition: defs.h:590
bool operator==(const MapTile &rhs) const
Definition: defs.h:198
int rarity
Definition: defs.h:505
int size
Definition: defs.h:384
int rarity
Definition: defs.h:254
int size
Definition: defs.h:510
std::string description
Definition: defs.h:249
bool visible
Definition: defs.h:97
int damage
Definition: defs.h:354
bool use
Definition: defs.h:426
bool seen
Definition: defs.h:112
std::vector< EquipType > eq
Definition: defs.h:616
Tile sprite
Definition: defs.h:334
float dam[3]
Definition: defs.h:297
bool does_spawn
Definition: defs.h:193
bool use
Definition: defs.h:500
bool opaque
Definition: defs.h:104
std::string name
Definition: defs.h:244
int type
Definition: defs.h:366
std::string name
Definition: defs.h:490
bool operator==(const Tile &rhs) const
Definition: defs.h:117
int id
Definition: defs.h:580
int char_count
Definition: defs.h:174
std::string name
Definition: defs.h:416
int type
Definition: defs.h:280
int rarity
Definition: defs.h:431
bool operator==(const ConsumableType &rhs) const
Definition: defs.h:463
int id
Definition: defs.h:187
int tile_id
Definition: defs.h:77
bool can_be_moved_through
Definition: defs.h:90
std::string description
Definition: defs.h:495
int stat
Definition: defs.h:440
int body_part
Definition: defs.h:268
int speed
Definition: defs.h:595
int size
Definition: defs.h:458
Tile sprite
Definition: defs.h:239
int range
Definition: defs.h:374
float weight
Definition: defs.h:329
int size
Definition: defs.h:307
float weight
Definition: defs.h:480
std::string name
Definition: defs.h:600
Tile sprite
Definition: defs.h:411
int type
Definition: defs.h:453
float weight
Definition: defs.h:234
MiscType corpse
Definition: defs.h:610
bool operator==(const WeaponType &rhs) const
Definition: defs.h:389
int sight
Definition: defs.h:585
std::string name
Definition: defs.h:339
std::vector< WeaponType > wep
Definition: defs.h:622
bool use
Definition: defs.h:379
float weight
Definition: defs.h:406
int hit[3]
Definition: defs.h:290
std::string description
Definition: defs.h:344
bool operator==(const EquipType &rhs) const
Definition: defs.h:312
int color
Definition: defs.h:85