Crossfire Server, Branches 1.12  R18729
snake.c File Reference
#include <stdio.h>
#include <global.h>
#include <time.h>
+ Include dependency graph for snake.c:

Go to the source code of this file.

Functions

char ** make_snake_layout (int xsize, int ysize)
 

Detailed Description

Function Documentation

char** make_snake_layout ( int  xsize,
int  ysize 
)

Generate a snake-like layout.

Parameters
xsize
ysizelayout size.
Returns
generated layout.

Definition at line 20 of file snake.c.

Referenced by layoutgen().

+ Here is the caller graph for this function: