Merge branch 'paul' into AL/races-potions
This commit is contained in:
@ -31,17 +31,19 @@ enum game_command {game_command_terminate = 0,
|
||||
|
||||
enum stat_name {HP, ATK, DEF, hostile};
|
||||
|
||||
const int RACE_CNT = 4; // TODO: update as you go
|
||||
const int RACE_CNT = 5; // TODO: update as you go
|
||||
|
||||
enum race {rshade = 0, rvampire, rgoblin, rdrow /* TODO: fill out the other races (including enemies) */};
|
||||
enum race {rshade = 0, rvampire, rgoblin, rdrow, rdragon /* TODO: fill out the other races (including enemies) */};
|
||||
|
||||
// TODO: fill out the other races (including enemies)
|
||||
const int MAX_HP[RACE_CNT] = {125, INF, 110, 150};
|
||||
const int STARTING_HP[RACE_CNT] = {125, 50, 110, 150};
|
||||
const int STARTING_ATK[RACE_CNT] = {25, 25, 15, 25};
|
||||
const int STARTING_DEF[RACE_CNT] = {25, 25, 20, 15};
|
||||
const char CHARACTER_REP[RACE_CNT] = {'S', 'V', 'G', 'D'};
|
||||
const int MAX_HP[RACE_CNT] = {125, INF, 110, 150, 150};
|
||||
const int STARTING_HP[RACE_CNT] = {125, 50, 110, 150, 150};
|
||||
const int STARTING_ATK[RACE_CNT] = {25, 25, 15, 25, 20};
|
||||
const int STARTING_DEF[RACE_CNT] = {25, 25, 20, 15, 20};
|
||||
const char CHARACTER_REP[RACE_CNT] = {'S', 'V', 'G', 'd', 'D'};
|
||||
|
||||
const int POTION_TYPE_CNT = 6;
|
||||
const int DEFAULT_POTION_TYPE_CNT = 6;
|
||||
enum potion_type {restore_health = 0, boost_atk, boost_def,
|
||||
poison_health, wound_atk, wound_def
|
||||
};
|
||||
@ -90,6 +92,9 @@ const feature FEATURE_SEED = 1 << 7;
|
||||
const feature FEATURE_MENU = 1 << 8;
|
||||
const feature FEATURE_IN_FILE = 1 << 9;
|
||||
const feature FEATURE_OUT_FILE = 1 << 10;
|
||||
const feature FEATURE_EXTRA_STUFF = 1 << 11;
|
||||
const feature FEATURE_EXTRA_LEVELS = 1 << 12;
|
||||
const feature FEATURE_COLORFUL = 1 << 13;
|
||||
|
||||
const feature FEATURE_PANIC_SEED = 1 << 27;
|
||||
const feature FEATURE_PANIC_FILE = 1 << 28;
|
||||
@ -104,6 +109,10 @@ const int COLOR_BLACK_ON_WHITE = 8;
|
||||
|
||||
typedef std::vector<position> position_list;
|
||||
typedef std::vector<direction> direction_list;
|
||||
typedef std::vector<int> gold_list;
|
||||
|
||||
const int GOLD_SMALL = 1;
|
||||
const int GOLD_NORMAL = 2;
|
||||
const int GOLD_MERCHANT = 4;
|
||||
const int GOLD_DRAGON = 6;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user