#include <map.h>
| |
#define | WALL_COST 1000 |
Cost fo jumping a wall. | |
#define | MAP_WALL 0xFF |
Wall cell. | |
#define | MAP_PATH 0xFE |
Path cell. | |
#define | MAP_START 0xFD |
Start cell. | |
#define | MAP_GOAL 0xFC |
Goal cell. | |
#define | MAP_NEW_OBSTACLE 0xFB |
Fouded obstacle cell. | |
#define | MAP_FREE 0x00 |
Free cell. | |
#define | SHM_MAP_KEY 555 |
Key use to share the memory SHM. | |
#define | GETMAPPOS(i, j) (*(map+i+j*MAP_WIDTH)) |
Cost fo jumping a wall. | |
typedef unsigned char | map_t |
Cost fo jumping a wall. |
Map useful defines.