added a few more pieces to the framework, overhauled main.cc
This commit is contained in:
@ -14,6 +14,8 @@ enum error {none};
|
||||
// TODO: update result to include subject
|
||||
enum result {fine, died, go_down, hit, moved};
|
||||
|
||||
enum game_status {terminated, main_menu, in_game, options};
|
||||
|
||||
enum stat_name {HP, ATK, DEF, hostile};
|
||||
|
||||
const int LAYER_CNT = 4; // TODO: update as you go
|
||||
@ -60,6 +62,8 @@ const feature FEATURE_ENEMIES_CHASE = 1 << 2;
|
||||
const feature FEATURE_INVENTORY = 1 << 3;
|
||||
const feature FEATURE_THROW = 1 << 4;
|
||||
const feature FEATURE_REVISIT = 1 << 5;
|
||||
const feature FEATURE_LOG = 1 << 6;
|
||||
const feature FEATURE_SAVE = 1 << 7;
|
||||
|
||||
typedef std::vector<position> position_list;
|
||||
typedef std::vector<direction> direction_list;
|
||||
|
Reference in New Issue
Block a user