Minor fixes to make initializing the terminal more consistent and to remove a magic number for wall limits.
This commit is contained in:
parent
2d5490131d
commit
ae43dad499
12 changed files with 47 additions and 42 deletions
9
map.hpp
9
map.hpp
|
@ -11,10 +11,11 @@
|
|||
#include "pathing.hpp"
|
||||
#include "matrix.hpp"
|
||||
|
||||
#define INV_WALL 0
|
||||
#define INV_SPACE 1
|
||||
#define WALL_VALUE 1
|
||||
#define SPACE_VALUE 0
|
||||
const int INV_WALL = 0;
|
||||
const int INV_SPACE = 1;
|
||||
const int WALL_VALUE = 1;
|
||||
const int SPACE_VALUE = 0;
|
||||
const int WALL_PATH_LIMIT = 1000;
|
||||
|
||||
using lighting::LightSource;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue