|
Atrinik Server 2.5
|
#include <global.h>Go to the source code of this file.
Functions | |
| int | surround_flag (char **layout, int i, int j, RMParms *RP) |
| int | surround_flag2 (char **layout, int i, int j, RMParms *RP) |
| int | surround_flag3 (mapstruct *map, int i, int j, RMParms *RP) |
| int | surround_flag4 (mapstruct *map, int i, int j, RMParms *RP) |
| void | make_map_walls (mapstruct *map, char **layout, char *w_style, RMParms *RP) |
| object * | pick_joined_wall (object *the_wall, char **layout, int i, int j, RMParms *RP) |
| object * | retrofit_joined_wall (mapstruct *the_map, int i, int j, int insert_flag, RMParms *RP) |
Deals with wall management in random maps.
Definition in file wall.c.
This takes a map, and changes an existing wall to match what's blocked around it, counting only doors and walls as blocked.
| insert_flag | If 1, insert the correct wall into the map, otherwise don't insert. |
| RP | Random map parameters. |
| int surround_flag | ( | char ** | layout, |
| int | i, | ||
| int | j, | ||
| RMParms * | RP | ||
| ) |
| int surround_flag2 | ( | char ** | layout, |
| int | i, | ||
| int | j, | ||
| RMParms * | RP | ||
| ) |
Check a map for blocked spots.
Since this is part of the random map code, presumption is that this is not a tiled map.
What is considered blocking and not is somewhat hard coded.
| RP | Random map parameters. |
Check a map for spots with walls.
Since this is part of the random map code, presumption is that this is not a tiled map.
What is considered blocking and not is somewhat hard coded.
| RP | Random map parameters. |
1.7.4