|
Atrinik Server 2.5
|
#include <global.h>Go to the source code of this file.
Functions | |
| void | find_in_layout (int mode, char target, int *fx, int *fy, char **layout, RMParms *RP) |
| void | place_exits (mapstruct *map, char **maze, char *exitstyle, int orientation, RMParms *RP) |
| void | unblock_exits (mapstruct *map, char **maze, RMParms *RP) |
Handle exit placement in map.
Definition in file exit.c.
| void find_in_layout | ( | int | mode, |
| char | target, | ||
| int * | fx, | ||
| int * | fy, | ||
| char ** | layout, | ||
| RMParms * | RP | ||
| ) |
Find a character in the layout.
| mode | How to look:
|
| target | Character to search. |
| layout | Maze layout. |
| RP | Random map parameters. |
Place exits in the map.
| map | Map to put exits into. |
| maze | Map layout. |
| exitstyle | What style to use. If NULL uses a random one. |
| orientation | How exits should be oriented:
|
| RP | Random map parameters. |
1.7.4