ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/map.h
(Generate patch)

Comparing deliantra/server/include/map.h (file contents):
Revision 1.72 by root, Mon Mar 12 01:13:10 2007 UTC vs.
Revision 1.73 by root, Sat Apr 14 07:23:00 2007 UTC

164 */ 164 */
165INTERFACE_CLASS (region) 165INTERFACE_CLASS (region)
166struct region : zero_initialised 166struct region : zero_initialised
167{ 167{
168 shstr ACC (RW, name); /* Shortend name of the region as maps refer to it */ 168 shstr ACC (RW, name); /* Shortend name of the region as maps refer to it */
169 shstr ACC (RW, match); // a perl regex that matches map paths
169 region *ACC (RW, parent); /* 170 region *ACC (RW, parent); /*
170 * Pointer to the region that is a parent of the current 171 * Pointer to the region that is a parent of the current
171 * region, if a value isn't defined in the current region 172 * region, if a value isn't defined in the current region
172 * we traverse this series of pointers until it is. 173 * we traverse this series of pointers until it is.
173 */ 174 */
174 shstr ACC (RW, longname); /* Official title of the region, this might be defined 175 shstr ACC (RW, longname); /* Official title of the region, this might be defined
175 * to be the same as name*/ 176 * to be the same as name*/
176 shstr ACC (RW, msg); /* the description of the region */ 177 shstr ACC (RW, msg); /* the description of the region */
177 shstr ACC (RW, jailmap); /*where a player that is arrested in this region should be imprisoned. */ 178 shstr ACC (RW, jailmap); /*where a player that is arrested in this region should be imprisoned. */
178 int ACC (RW, index); 179 int ACC (RW, index);
179 uint32 ACC (RW, counter); /* A generic counter for holding temporary data. */ 180 uint32 ACC (RW, counter); /* A generic counter for holding temporary data. */
180 sint16 ACC (RW, jailx), ACC (RW, jaily); /* The coodinates in jailmap to which the player should be sent. */ 181 sint16 ACC (RW, jailx), ACC (RW, jaily);/* The coodinates in jailmap to which the player should be sent. */
181 bool ACC (RW, fallback); /* whether, in the event of a region not existing, 182 bool ACC (RW, fallback); /* whether, in the event of a region not existing,
182 * this should be the one we fall back on as the default */ 183 * this should be the one we fall back on as the default */
183 184
184 static region *default_region (); 185 static region *default_region ();
185 static region *find (const char *name); 186 static region *find (const char *name);
186 static region *find_fuzzy (const char *name); 187 static region *find_fuzzy (const char *name);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines