version 1.22 | | version 1.23 |
---|
| | |
/* | | /* |
* static char *rcsid_define_h = | | * static char *rcsid_define_h = |
* "$Id: map.h,v 1.22 2003/01/17 06:23:54 mwedel Exp $"; | | * "$Id: map.h,v 1.23 2003/06/30 19:14:13 tchize Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
#define MAP_WINDSPEED(m) (m)->windspeed | | #define MAP_WINDSPEED(m) (m)->windspeed |
#define MAP_WINDDIRECTION(m) (m)->winddir | | #define MAP_WINDDIRECTION(m) (m)->winddir |
#define MAP_SKYCOND(m) (m)->sky | | #define MAP_SKYCOND(m) (m)->sky |
| | #define MAP_WORLDPARTX(m) (m)->wpartx |
| | #define MAP_WORLDPARTY(m) (m)->wparty |
| | |
/* options passed to ready_map_name and load_original_map */ | | /* options passed to ready_map_name and load_original_map */ |
#define MAP_FLUSH 0x1 | | #define MAP_FLUSH 0x1 |
| | |
uint32 rainfall; /* cumulative rainfall */ | | uint32 rainfall; /* cumulative rainfall */ |
uint8 darkness; /* indicates level of darkness of map */ | | uint8 darkness; /* indicates level of darkness of map */ |
uint8 water; /* 0-100 percentage of water tiles */ | | uint8 water; /* 0-100 percentage of water tiles */ |
| | /*Dynamic parts*/ |
| | sint16 realtemp; /* temperature at a given calculation step for this tile*/ |
} weathermap_t; | | } weathermap_t; |
| | |
/* In general, code should always use the macros | | /* In general, code should always use the macros |
| | |
sint8 windspeed; /* windspeed of this tile */ | | sint8 windspeed; /* windspeed of this tile */ |
sint8 winddir; /* direction of wind */ | | sint8 winddir; /* direction of wind */ |
sint8 sky; /* sky conditions */ | | sint8 sky; /* sky conditions */ |
| | int wpartx,wparty; /*Highly fasten conversion between worldmap and weathermap*/ |
char *msg; /* Message map creator may have left */ | | char *msg; /* Message map creator may have left */ |
char *tile_path[4]; /* path to adjoining maps */ | | char *tile_path[4]; /* path to adjoining maps */ |
struct mapdef *tile_map[4]; /* Next map, linked list */ | | struct mapdef *tile_map[4]; /* Next map, linked list */ |