version 1.15 | | version 1.16 |
---|
| | |
/* | | /* |
* static char *rcsid_define_h = | | * static char *rcsid_define_h = |
* "$Id: map.h,v 1.15 2002/01/01 23:37:54 garbled Exp $"; | | * "$Id: map.h,v 1.16 2002/05/19 03:55:48 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
#ifndef MAP_H | | #ifndef MAP_H |
#define MAP_H | | #define MAP_H |
| | |
| | #define MAP_LAYERS 3 |
| | |
/* This is when the map will reset */ | | /* This is when the map will reset */ |
#define MAP_WHEN_RESET(m) ((m)->reset_time) | | #define MAP_WHEN_RESET(m) ((m)->reset_time) |
| | |
| | |
| | |
typedef struct MapSpace { | | typedef struct MapSpace { |
object *bottom; /* lowest object on this space */ | | object *bottom; /* lowest object on this space */ |
New_Face *faces[3]; /* faces for the 3 layers */ | | New_Face *faces[MAP_LAYERS]; /* faces for the 3 layers */ |
object *faces_obj[3]; /* face objects for the 3 layers */ | | object *faces_obj[MAP_LAYERS]; /* face objects for the 3 layers */ |
uint8 flags; /* flags about this space (see the P_ values above) */ | | uint8 flags; /* flags about this space (see the P_ values above) */ |
sint8 light; /* How much light this space provides */ | | sint8 light; /* How much light this space provides */ |
} MapSpace; | | } MapSpace; |