… | |
… | |
229 | |
229 | |
230 | /* |
230 | /* |
231 | * Each map is in a given region of the game world and links to a region definiton, so |
231 | * Each map is in a given region of the game world and links to a region definiton, so |
232 | * they have to appear here in the headers, before the mapdef |
232 | * they have to appear here in the headers, before the mapdef |
233 | */ |
233 | */ |
234 | struct region |
234 | struct region : zero_initialised |
235 | { |
235 | { |
236 | struct region *next; /* pointer to next region, NULL for the last one */ |
236 | struct region *next; /* pointer to next region, NULL for the last one */ |
237 | const char *name; /* Shortend name of the region as maps refer to it */ |
237 | const char *name; /* Shortend name of the region as maps refer to it */ |
238 | const char *parent_name; /* |
238 | const char *parent_name; /* |
239 | * So that parent and child regions can be defined in |
239 | * So that parent and child regions can be defined in |
… | |
… | |
254 | sint8 fallback; /* whether, in the event of a region not existing, |
254 | sint8 fallback; /* whether, in the event of a region not existing, |
255 | * this should be the one we fall back on as the default */ |
255 | * this should be the one we fall back on as the default */ |
256 | char *jailmap; /*where a player that is arrested in this region should be imprisoned. */ |
256 | char *jailmap; /*where a player that is arrested in this region should be imprisoned. */ |
257 | sint16 jailx, jaily; /* The coodinates in jailmap to which the player should be sent. */ |
257 | sint16 jailx, jaily; /* The coodinates in jailmap to which the player should be sent. */ |
258 | }; |
258 | }; |
259 | |
|
|
260 | |
259 | |
261 | struct shopitems : zero_initialised |
260 | struct shopitems : zero_initialised |
262 | { |
261 | { |
263 | const char *name; /* name of the item in question, null if it is the default item */ |
262 | const char *name; /* name of the item in question, null if it is the default item */ |
264 | const char *name_pl; /* plural name */ |
263 | const char *name_pl; /* plural name */ |