version 1.12 | | version 1.13 |
---|
| | |
/* | | /* |
* static char *rcsid_define_h = | | * static char *rcsid_define_h = |
* "$Id: map.h,v 1.12 2001/11/13 08:14:26 mwedel Exp $"; | | * "$Id: map.h,v 1.13 2001/12/03 07:51:40 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
*/ | | */ |
typedef struct mapdef { | | typedef struct mapdef { |
struct mapdef *next; /* Next map, linked list */ | | struct mapdef *next; /* Next map, linked list */ |
#if 0 | | |
object *where; /* What object were used to enter this map */ | | |
#endif | | |
char path[HUGE_BUF]; /* Filename of the map */ | | char path[HUGE_BUF]; /* Filename of the map */ |
char *tmpname; /* Name of temporary file */ | | char *tmpname; /* Name of temporary file */ |
char *name; /* Name of map as given by its creator */ | | char *name; /* Name of map as given by its creator */ |
| | |
uint16 width,height; /* Width and height of map. */ | | uint16 width,height; /* Width and height of map. */ |
uint16 enter_x; /* enter_x and enter_y are default entrance location */ | | uint16 enter_x; /* enter_x and enter_y are default entrance location */ |
uint16 enter_y; /* on the map if none are set in the exit */ | | uint16 enter_y; /* on the map if none are set in the exit */ |
| | uint32 outdoor:1; /* True if an outdoor map */ |
oblinkpt *buttons; /* Linked list of linked lists of buttons */ | | oblinkpt *buttons; /* Linked list of linked lists of buttons */ |
MapSpace *spaces; /* Array of spaces on this map */ | | MapSpace *spaces; /* Array of spaces on this map */ |
char *msg; /* Message map creator may have left */ | | char *msg; /* Message map creator may have left */ |