version 1.6 | | version 1.7 |
---|
| | |
/* | | /* |
* static char *rcsid_define_h = | | * static char *rcsid_define_h = |
* "$Id: map.h,v 1.6 2001/02/23 06:06:35 mwedel Exp $"; | | * "$Id: map.h,v 1.7 2001/06/04 06:41:02 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
Copyright (C) 1994 Mark Wedel | | Copyright (C) 2001 Mark Wedel |
Copyright (C) 1992 Frank Tore Johansen | | Copyright (C) 1992 Frank Tore Johansen |
| | |
This program is free software; you can redistribute it and/or modify | | This program is free software; you can redistribute it and/or modify |
| | |
along with this program; if not, write to the Free Software | | along with this program; if not, write to the Free Software |
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| | |
The author can be reached via e-mail to mark@pyramid.com | | The author can be reached via e-mail to mwedel@scruz.net |
*/ | | */ |
| | |
/* | | /* |
| | |
#ifndef MAP_H | | #ifndef MAP_H |
#define MAP_H | | #define MAP_H |
| | |
| | #if 0 |
| | /* Doing this causes problems anyplace else we want to use these as |
| | * variable names or structure elements. |
| | */ |
#define mapx map_object->x | | #define mapx map_object->x |
#define mapy map_object->y | | #define mapy map_object->y |
| | #endif |
| | |
#define MAP_TIMEOUT(m) ((m)->map_object->value) | | #define MAP_TIMEOUT(m) ((m)->map_object->value) |
#define MAP_RESETTIME(m) ((m)->map_object->weight) | | #define MAP_RESETTIME(m) ((m)->map_object->weight) |