Crossfire Server, Branch 1.12  R12190
Defines
Random map layout options.

Move these defines out of room_gen_onion.c to here, as other files (like square_spiral) also uses them. More...

Defines

#define OPT_BOTTOM_C   4
 Bottom-centered.
#define OPT_BOTTOM_R   8
 Bottom-right centered.
#define OPT_CENTERED   1
 Centered.
#define OPT_IRR_SPACE   16
 Irregularly/randomly spaced layers (default: regular).
#define OPT_LINEAR   2
 Linear doors (default is nonlinear).
#define OPT_NO_DOORS   256
 Place walls insead of doors.
#define OPT_RANDOM   0
 Random option.
#define OPT_WALL_OFF   32
 No outer wall.
#define OPT_WALLS_ONLY   64
 Only walls.

Detailed Description

Move these defines out of room_gen_onion.c to here, as other files (like square_spiral) also uses them.


Define Documentation

#define OPT_BOTTOM_C   4

Bottom-centered.

Definition at line 109 of file random_map.h.

Referenced by make_doors(), and map_gen_onion().

#define OPT_BOTTOM_R   8

Bottom-right centered.

Definition at line 110 of file random_map.h.

Referenced by make_doors(), and map_gen_onion().

#define OPT_CENTERED   1

Centered.

Definition at line 107 of file random_map.h.

Referenced by make_square_spiral_layout(), and map_gen_onion().

#define OPT_IRR_SPACE   16

Irregularly/randomly spaced layers (default: regular).

Definition at line 111 of file random_map.h.

Referenced by bottom_centered_onion(), bottom_right_centered_onion(), centered_onion(), and map_gen_onion().

#define OPT_LINEAR   2

Linear doors (default is nonlinear).

Definition at line 108 of file random_map.h.

Referenced by make_doors(), and map_gen_onion().

#define OPT_NO_DOORS   256

Place walls insead of doors.

Produces broken map.

Definition at line 114 of file random_map.h.

Referenced by make_doors(), and make_square_spiral_layout().

#define OPT_RANDOM   0

Random option.

Definition at line 106 of file random_map.h.

#define OPT_WALL_OFF   32

No outer wall.

Definition at line 112 of file random_map.h.

Referenced by map_gen_onion().

#define OPT_WALLS_ONLY   64

Only walls.

Definition at line 113 of file random_map.h.

Referenced by layoutgen(), map_gen_onion(), and place_special_exit().