Go to the documentation of this file.
32 return (
item ==
'\0' ||
item ==
'<' ||
item ==
'>') ? 1 : 0;
55 for (dx = -1; dx < 2; dx++) {
56 for (dy = -1; dy < 2; dy++) {
86 const char *styledirname =
"/styles/floorstyles";
87 style_map =
find_style(styledirname, floorstyle, -1);
88 if (style_map == NULL) {
#define GET_MAP_OB(M, X, Y)
mapstruct * make_map_floor(char **layout, char *floorstyle, RMParms *RP)
mapstruct * get_empty_map(int sizex, int sizey)
static int can_propagate(char item)
mapstruct * find_style(const char *dirname, const char *stylename, int difficulty)
object * object_insert_in_map_at(object *op, mapstruct *m, object *originator, int flag, int x, int y)
object * pick_random_object(mapstruct *style)
static void put_floor(mapstruct *map, char **layout, int x, int y, object *floor_arch)
object * arch_to_object(archetype *at)