version 1.39 | | version 1.40 |
---|
| | |
/* | | /* |
* static char *rcsid_define_h = | | * static char *rcsid_define_h = |
* "$Id: define.h,v 1.39 2001/10/14 07:57:14 gros Exp $"; | | * "$Id: define.h,v 1.40 2001/10/14 10:29:31 gros Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
#define ARMOUR_SPELLS(xyz) (xyz)->last_heal | | #define ARMOUR_SPELLS(xyz) (xyz)->last_heal |
#define WEAPON_SPEED(xyz) (xyz)->last_sp | | #define WEAPON_SPEED(xyz) (xyz)->last_sp |
| | |
| | /* GET_?_FROM_DIR if used only for positional firing where dir is X and Y |
| | each of them signed char, concatenated in a int16 */ |
| | #define GET_X_FROM_DIR(dir) (signed char) ( dir & 0xFF ) |
| | #define GET_Y_FROM_DIR(dir) (signed char) ( (dir & 0xFF00) >> 8) |
| | #define SET_DIR_FROM_XY(X,Y) (signed char)X + ( ((signed char)Y)<<8) |
| | #define FIRE_DIRECTIONAL 0 |
| | #define FIRE_POSITIONAL 1 |
| | |
/******************************************************************************/ | | /******************************************************************************/ |
/* Monster Movements added by kholland@sunlab.cit.cornell.edu */ | | /* Monster Movements added by kholland@sunlab.cit.cornell.edu */ |