work in progress
This commit is contained in:
@ -9,7 +9,7 @@ const int INF = 0x3F3F3F3F;
|
||||
enum error {none};
|
||||
|
||||
// TODO: update result to include subject
|
||||
enum result {fine, died, go_down, go_up, hit, moved, miss};
|
||||
enum result {fine, died, go_down, go_up, hit, moved, miss, terminate};
|
||||
|
||||
enum game_status {terminated, main_menu, in_game, options,
|
||||
dead, won, escaped, restart
|
||||
@ -63,7 +63,7 @@ const int DIRECTION_CNT = 8;
|
||||
// IMPORTANT: east is positive for x and SOUTH is positive for y
|
||||
// initializes all directions to an int
|
||||
enum direction { north = 0, south, east, west, northeast,
|
||||
northwest, southeast, southest
|
||||
northwest, southeast, southwest
|
||||
};
|
||||
|
||||
const position MOVE[DIRECTION_CNT] = {
|
||||
|
Reference in New Issue
Block a user