added option to read level data from file

This commit is contained in:
2024-07-21 00:42:10 -04:00
parent 25477c2cf8
commit 401b5b00b5
14 changed files with 366 additions and 58 deletions

View File

@ -145,6 +145,7 @@ static const feature FEATURE_OUT_FILE = 1 << 9;
static const feature FEATURE_EXTRA_STUFF = 1 << 10;
static const feature FEATURE_EXTRA_LEVELS = 1 << 11;
static const feature FEATURE_DOORS = 1 << 12;
static const feature FEATURE_READ_MAP = 1 << 13;
static const feature FEATURE_LIST_COMMANDS = 1 << 23;
static const feature FEATURE_LIST_RACES = 1 << 24;
@ -170,4 +171,6 @@ static const size_t WHAT_ENEMY = 1 << 29;
static const size_t WHAT_WALL = 1 << 30;
static const size_t WHAT_SPACE = 1 << 31;
static const position POS_NIL = {0, 0};
#endif