Atrinik Server  4.0
Macros
Random map layout options.

Macros

#define OPT_RANDOM   0
 
#define OPT_CENTERED   1
 
#define OPT_LINEAR   2
 
#define OPT_BOTTOM_C   4
 
#define OPT_BOTTOM_R   8
 
#define OPT_IRR_SPACE   16
 
#define OPT_WALL_OFF   32
 
#define OPT_WALLS_ONLY   64
 
#define OPT_NO_DOORS   256
 

Detailed Description

Macro Definition Documentation

#define OPT_BOTTOM_C   4

Bottom-centered.

Definition at line 159 of file random_map.h.

#define OPT_BOTTOM_R   8

Bottom-right centered.

Definition at line 161 of file random_map.h.

#define OPT_CENTERED   1

Centered.

Definition at line 155 of file random_map.h.

#define OPT_IRR_SPACE   16

Irregularly/randomly spaced layers (default: regular).

Definition at line 163 of file random_map.h.

#define OPT_LINEAR   2

Linear doors (default is nonlinear).

Definition at line 157 of file random_map.h.

#define OPT_RANDOM   0

Random option.

Definition at line 153 of file random_map.h.

#define OPT_WALL_OFF   32

No outer wall.

Definition at line 165 of file random_map.h.

#define OPT_WALLS_ONLY   64

Only walls. Place walls instead of doors. Produces broken map.

Definition at line 167 of file random_map.h.