Crossfire Server, Branches 1.12  R18729
Random spiral map options

Macros

#define FINE_SPIRAL   2
 
#define FIT_SPIRAL   4
 
#define MAX_SPIRAL_OPT   8
 
#define RANDOM_OPTIONS   0
 
#define REGULAR_SPIRAL   1
 

Detailed Description

Macro Definition Documentation

#define FINE_SPIRAL   2

uses the min. separation: most coiling

Definition at line 40 of file room_gen_spiral.c.

Referenced by map_gen_spiral().

#define FIT_SPIRAL   4

scale to a rectangular region, not square

Definition at line 41 of file room_gen_spiral.c.

Referenced by map_gen_spiral().

#define MAX_SPIRAL_OPT   8

this should be 2x the last real option

Definition at line 42 of file room_gen_spiral.c.

Referenced by map_gen_spiral().

#define RANDOM_OPTIONS   0

Pick random options below

Definition at line 38 of file room_gen_spiral.c.

#define REGULAR_SPIRAL   1

Regular spiral–distance increases constantly

Definition at line 39 of file room_gen_spiral.c.

Referenced by map_gen_spiral().