Crossfire Server, Trunk  R20513
Macros
Random map layout

Macros

#define MAZE_LAYOUT   2
 
#define NROFLAYOUTS   6
 
#define ONION_LAYOUT   1
 
#define ROGUELIKE_LAYOUT   4
 
#define SNAKE_LAYOUT   5
 
#define SPIRAL_LAYOUT   3
 
#define SQUARE_SPIRAL_LAYOUT   6
 

Detailed Description

Macro Definition Documentation

#define MAZE_LAYOUT   2

Definition at line 106 of file random_map.h.

Referenced by layoutgen().

#define NROFLAYOUTS   6

Definition at line 111 of file random_map.h.

Referenced by layoutgen(), and main().

#define ONION_LAYOUT   1

Definition at line 105 of file random_map.h.

Referenced by layoutgen(), and place_treasure().

#define ROGUELIKE_LAYOUT   4

Definition at line 108 of file random_map.h.

Referenced by layoutgen(), and symmetrize_layout().

#define SNAKE_LAYOUT   5

Definition at line 109 of file random_map.h.

Referenced by layoutgen().

#define SPIRAL_LAYOUT   3

Definition at line 107 of file random_map.h.

Referenced by layoutgen(), place_treasure(), and symmetrize_layout().

#define SQUARE_SPIRAL_LAYOUT   6

Definition at line 110 of file random_map.h.

Referenced by layoutgen(), and place_treasure().