Crossfire Server, Trunk
|
Go to the source code of this file.
Functions | |
char ** | expand2x (char **layout, int xsize, int ysize) |
Expands a layout by 2x in each dimension.
Definition in file expand2x.h.
char** expand2x | ( | char ** | layout, |
int | xsize, | ||
int | ysize | ||
) |
Expands the layout be a factor 2. Doors and walls are taken care of.
layout | layout to expand. Memory is free()d at the end, so pointer becomes invalid. |
xsize | |
ysize | layout size. |
Definition at line 43 of file expand2x.cpp.
Referenced by layoutgen().