version 1.101 | | version 1.102 |
---|
| | |
/* | | /* |
* static char *rcsid_define_h = | | * static char *rcsid_define_h = |
* "$Id: define.h,v 1.101 2005/11/16 08:16:00 mwedel Exp $"; | | * "$Id: define.h,v 1.102 2005/11/30 07:58:47 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
/* Basic macro to see if if ob1 can not move onto a space based | | /* Basic macro to see if if ob1 can not move onto a space based |
* on the 'type' move_block parameter | | * on the 'type' move_block parameter |
| | * Add check - if type is 0, don't stop anything from moving |
| | * onto it. |
| | * |
*/ | | */ |
#define OB_TYPE_MOVE_BLOCK(ob1, type) \ | | #define OB_TYPE_MOVE_BLOCK(ob1, type) \ |
((ob1->move_type & type) == ob1->move_type) | | ( (type != 0) && (ob1->move_type & type) == ob1->move_type) |
| | |
| | |
#define SET_GENERATE_TYPE(xyz,va) (xyz)->stats.sp=(va) | | #define SET_GENERATE_TYPE(xyz,va) (xyz)->stats.sp=(va) |