--- deliantra/server/include/map.h 2007/01/27 23:59:29 1.60 +++ deliantra/server/include/map.h 2007/01/29 14:46:01 1.61 @@ -165,8 +165,8 @@ struct region : zero_initialised { region *ACC (RW, next); /* pointer to next region, NULL for the last one */ - char *ACC (RW, name); /* Shortend name of the region as maps refer to it */ - char *ACC (RW, parent_name); /* + shstr ACC (RW, name); /* Shortend name of the region as maps refer to it */ + shstr ACC (RW, parent_name); /* * So that parent and child regions can be defined in * any order, we keep hold of the parent_name during * initialisation, and the children get assigned to their @@ -184,11 +184,12 @@ uint32 ACC (RW, counter); /* A generic counter for holding temporary data. */ sint8 ACC (RW, fallback); /* whether, in the event of a region not existing, * this should be the one we fall back on as the default */ - char *ACC (RW, jailmap); /*where a player that is arrested in this region should be imprisoned. */ + shstr ACC (RW, jailmap); /*where a player that is arrested in this region should be imprisoned. */ sint16 ACC (RW, jailx), ACC (RW, jaily); /* The coodinates in jailmap to which the player should be sent. */ static region *default_region (); static region *find (const char *name); + static region *find_fuzzy (const char *name); }; struct shopitems : zero_initialised