… | |
… | |
586 | * |
586 | * |
587 | */ |
587 | */ |
588 | #define OB_TYPE_MOVE_BLOCK(ob1, type) \ |
588 | #define OB_TYPE_MOVE_BLOCK(ob1, type) \ |
589 | ((type) && (ob1->move_type & type) == ob1->move_type) |
589 | ((type) && (ob1->move_type & type) == ob1->move_type) |
590 | |
590 | |
591 | #define SET_GENERATE_TYPE(xyz,va) (xyz)->stats.sp=(va) |
|
|
592 | #define GENERATE_TYPE(xyz) ((xyz)->stats.sp) |
|
|
593 | #define GENERATE_SPEED(xyz) ((xyz)->stats.maxsp) /* if(!RANDOM()%<speed>) */ |
591 | #define GENERATE_SPEED(xyz) ((xyz)->stats.maxsp) /* if(!RANDOM()%<speed>) */ |
594 | |
592 | |
595 | #define EXIT_PATH(xyz) (xyz)->slaying |
593 | #define EXIT_PATH(xyz) (xyz)->slaying |
596 | #define EXIT_LEVEL(xyz) (xyz)->stats.food |
594 | #define EXIT_LEVEL(xyz) (xyz)->stats.food |
597 | #define EXIT_X(xyz) (xyz)->stats.hp |
595 | #define EXIT_X(xyz) (xyz)->stats.hp |