Crossfire Server, Branch 1.12  R12190
Functions
room_gen.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

char ** map_gen_onion (int xsize, int ysize, int option, int layers)
 Generates an onion layout.
char ** room_gen_cooridored (int xsize, int ysize, int option)

Function Documentation

char** map_gen_onion ( int  xsize,
int  ysize,
int  option,
int  layers 
)

Generates an onion layout.

Parameters:
xsize
ysizelayout size.
optioncombination of OPT_xxx values.
layersnumber of layers the onion should have.
Returns:
layout.

Definition at line 85 of file room_gen_onion.c.

Referenced by layoutgen(), and make_square_spiral_layout().

Here is the caller graph for this function:

char** room_gen_cooridored ( int  xsize,
int  ysize,
int  option 
)