format
This commit is contained in:
@ -53,8 +53,6 @@ const int CALC_ADD_LATER = 2;
|
||||
const int CALC_MUL_LATER = 3;
|
||||
const int CALC_ADD_FIXED = 4;
|
||||
|
||||
|
||||
|
||||
const int DIRECTION_CNT = 8;
|
||||
// IMPORTANT: east is positive for x and SOUTH is positive for y
|
||||
// initializes all directions to an int
|
||||
@ -63,8 +61,8 @@ enum direction { north = 0, south, east, west, northeast,
|
||||
};
|
||||
|
||||
const position MOVE[DIRECTION_CNT] = {
|
||||
{0, -1}, {0, 1}, {1, 0}, {-1, 0},
|
||||
{1, -1}, {-1, -1}, {1, 1}, {-1, 1}
|
||||
{0, -1}, {0, 1}, {1, 0}, {-1, 0},
|
||||
{1, -1}, {-1, -1}, {1, 1}, {-1, 1}
|
||||
};
|
||||
|
||||
const int MAP_HEIGHT = 25;
|
||||
|
Reference in New Issue
Block a user