--- deliantra/server/include/map.h 2007/01/20 23:39:09 1.57 +++ deliantra/server/include/map.h 2007/01/25 03:54:45 1.59 @@ -222,7 +222,7 @@ tstamp ACC (RW, last_access); /* last time this map was accessed somehow */ shstr ACC (RW, name); /* Name of map as given by its creator */ - struct region *ACC (RW, region); /* What jurisdiction in the game world this map is ruled by + struct region *ACC (RW, default_region); /* What jurisdiction in the game world this map is ruled by * points to the struct containing all the properties of * the region */ double ACC (RW, reset_time); @@ -244,6 +244,7 @@ bool ACC (RW, per_player); bool ACC (RW, per_party); bool ACC (RW, outdoor); /* True if an outdoor map */ + bool ACC (RW, nodrop); /* avoid dropping anything on this map */ uint8 ACC (RW, darkness); /* indicates level of darkness of map */ uint16 ACC (RW, enter_x); /* enter_x and enter_y are default entrance location */ @@ -292,6 +293,11 @@ MTH void clear_header (); MTH void clear_links_to (maptile *m); + struct region *region (int x, int y) const + { + return default_region; + } + // loas the header pseudo-object bool _load_header (object_thawer &thawer); MTH bool _load_header (const char *path);