map.h

phantasmal_dgd_v1/mud/include/phantasmal/map.h · 705 B

From the archive phantasmal_dgd_v1.tar.gz

Download the archive   « Back to the archive contents

/* Compass-direction constants */
#define DIR_ERR                  -20
/* direction to use if getting or putting */
#define DIR_PUT              -2
#define DIR_GET              -1
/* direction to use if the object is being teleported */
#define DIR_TELEPORT              0
#define DIR_NORTH                 1
#define DIR_SOUTH                 2
#define DIR_EAST                  3
#define DIR_WEST                  4
#define DIR_NORTHEAST             5
#define DIR_SOUTHWEST             6
#define DIR_NORTHWEST             7
#define DIR_SOUTHEAST             8
#define DIR_UP                   17
#define DIR_DOWN                 18
#define DIR_IN                   19
#define DIR_OUT                  20

Site Stats

Snippets: 1791
Codebases: 571