version 1.28 | | version 1.29 |
---|
| | |
/* | | /* |
* static char *rcsid_define_h = | | * static char *rcsid_define_h = |
* "$Id: map.h,v 1.28 2005/04/16 13:19:30 cavesomething Exp $"; | | * "$Id: map.h,v 1.29 2005/08/12 13:46:34 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
*/ | | */ |
typedef struct regiondef { | | typedef struct regiondef { |
struct regiondef *next; /* pointer to next region, NULL for the last one */ | | struct regiondef *next; /* pointer to next region, NULL for the last one */ |
char *name; /* Shortend name of the region as maps refer to it */ | | const char *name; /* Shortend name of the region as maps refer to it */ |
char *parent_name; /* | | const char *parent_name; /* |
* So that parent and child regions can be defined in | | * So that parent and child regions can be defined in |
* any order, we keep hold of the parent_name during | | * any order, we keep hold of the parent_name during |
* initialisation, and the children get assigned to their | | * initialisation, and the children get assigned to their |
| | |
* region, if a value isn't defined in the current region | | * region, if a value isn't defined in the current region |
* we traverse this series of pointers until it is. | | * we traverse this series of pointers until it is. |
*/ | | */ |
char *longname; /* Official title of the region, this might be defined | | const char *longname; /* Official title of the region, this might be defined |
* to be the same as name*/ | | * to be the same as name*/ |
char *msg; /* the description of the region */ | | const char *msg; /* the description of the region */ |
uint32 counter; /* A generic counter for holding temporary data. */ | | uint32 counter; /* A generic counter for holding temporary data. */ |
sint8 fallback; /* whether, in the event of a region not existing, | | sint8 fallback; /* whether, in the event of a region not existing, |
* this should be the one we fall back on as the default */ | | * this should be the one we fall back on as the default */ |