version 1.100 | | version 1.101 |
---|
| | |
/* | | /* |
* static char *rcsid_map_c = | | * static char *rcsid_map_c = |
* "$Id: map.c,v 1.100 2006/02/05 05:27:07 mwedel Exp $"; | | * "$Id: map.c,v 1.101 2006/02/09 00:48:36 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* necessary to make sure the information is in fact logged. | | * necessary to make sure the information is in fact logged. |
*/ | | */ |
| | |
void dump_map(mapstruct *m) { | | void dump_map(const mapstruct *m) { |
LOG(llevError,"Map %s status: %d.\n",m->path,m->in_memory); | | LOG(llevError,"Map %s status: %d.\n",m->path,m->in_memory); |
LOG(llevError,"Size: %dx%d Start: %d,%d\n", | | LOG(llevError,"Size: %dx%d Start: %d,%d\n", |
MAP_WIDTH(m), MAP_HEIGHT(m), | | MAP_WIDTH(m), MAP_HEIGHT(m), |
| | |
* against the move_block values. | | * against the move_block values. |
*/ | | */ |
| | |
int ob_blocked(object *ob,mapstruct *m,sint16 x,sint16 y) { | | int ob_blocked(const object *ob,mapstruct *m,sint16 x,sint16 y) { |
archetype *tmp; | | archetype *tmp; |
int flag; | | int flag; |
mapstruct *m1; | | mapstruct *m1; |