version 1.25 | | version 1.26 |
---|
| | |
/* | | /* |
* static char *rcsid_global_h = | | * static char *rcsid_global_h = |
* "$Id: global.h,v 1.25 2002/01/02 00:26:28 garbled Exp $"; | | * "$Id: global.h,v 1.26 2002/03/26 07:18:57 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
Copyright (C) 2000 Mark Wedel | | Copyright (C) 2002 Mark Wedel & Crossfire Development Team |
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 mwedel@scruz.net | | The author can be reached via e-mail to crossfire-devel@real-time.com |
*/ | | */ |
| | |
#ifndef GLOBAL_H | | #ifndef GLOBAL_H |
| | |
EXTERN char *undead_name; /* Used in hit_player() in main.c */ | | EXTERN char *undead_name; /* Used in hit_player() in main.c */ |
| | |
EXTERN Animations *animations; | | EXTERN Animations *animations; |
EXTERN int num_animations,animations_allocated; | | EXTERN int num_animations,animations_allocated, bmaps_checksum; |
| | |
| | /* Rotate right from bsd sum. This is used in various places for checksumming */ |
| | #define ROTATE_RIGHT(c) if ((c) & 01) (c) = ((c) >>1) + 0x80000000; else (c) >>= 1; |
| | |
| | |
#define SET_ANIMATION(ob,newanim) ob->face=&new_faces[animations[ob->animation_id].faces[newanim]] | | #define SET_ANIMATION(ob,newanim) ob->face=&new_faces[animations[ob->animation_id].faces[newanim]] |