added: list of arguments

edit: future framework of main
This commit is contained in:
2024-07-05 12:11:09 -04:00
parent 0201425cf1
commit 74de68cf0d
8 changed files with 60 additions and 26 deletions

View File

@ -1,6 +1,3 @@
// TODO: Consider moving the contents of this header to their relevant
// headers
#ifndef __CONSTANTS_H__
#define __CONSTANTS_H__
#include <vector>
@ -27,6 +24,7 @@ enum game_command {game_command_terminate = 0,
attack_northeast, attack_northwest,
attack_southeast, attack_southwest,
up_stairs, down_stairs,
the_world, game_restart,
game_command_pass, game_command_panic
};
@ -78,6 +76,8 @@ const feature FEATURE_THROW = 1 << 4;
const feature FEATURE_REVISIT = 1 << 5;
const feature FEATURE_LOG = 1 << 6;
const feature FEATURE_SAVE = 1 << 7;
const feature FEATURE_MENU = 1 << 8;
const feature FEATURE_PANIC = 1 << 29;
typedef std::vector<position> position_list;
typedef std::vector<direction> direction_list;