DungeonCrawl
|
Exposes common types and constants for the games map. More...
#include "../common.h"
Go to the source code of this file.
Macros | |
#define | WIDTH 39 |
#define | HEIGHT 19 |
#define | ENEMY_COUNT 8 |
#define | ENEMY_MIN_DISTANCE 3 |
#define | TOP 0 |
#define | BOTTOM 1 |
#define | LEFT 2 |
#define | RIGHT 3 |
Enumerations | |
enum | map_tile_t { WALL = 0 , FLOOR = 1 , START_DOOR = 2 , EXIT_DOOR = 3 , KEY = 4 , LIFE_FOUNTAIN = 5 , MANA_FOUNTAIN = 6 , GOBLIN = 20 , HIDDEN = 99 } |
Variables | |
vector2d_t | directions [4] |
map_tile_t | map [WIDTH][HEIGHT] |
map_tile_t | revealed_map [WIDTH][HEIGHT] |
Exposes common types and constants for the games map.
Definition in file map.h.
enum map_tile_t |
|
extern |