… | |
… | |
579 | #define FLAG_BERSERK 99 /* monster will attack closest living |
579 | #define FLAG_BERSERK 99 /* monster will attack closest living |
580 | object */ |
580 | object */ |
581 | #define FLAG_NEUTRAL 100 /* monster is from type neutral */ |
581 | #define FLAG_NEUTRAL 100 /* monster is from type neutral */ |
582 | #define FLAG_NO_ATTACK 101 /* monster don't attack */ |
582 | #define FLAG_NO_ATTACK 101 /* monster don't attack */ |
583 | #define FLAG_NO_DAMAGE 102 /* monster can't be damaged */ |
583 | #define FLAG_NO_DAMAGE 102 /* monster can't be damaged */ |
|
|
584 | |
|
|
585 | //TODO schmorp: removed in rewrite, not yet readded |
584 | #define FLAG_OBJ_ORIGINAL 103 /* NEVER SET THIS. Item was loaded by |
586 | #define FLAG_OBJ_ORIGINAL 103 /* NEVER SET THIS. Item was loaded by |
585 | * load_original_map() */ |
587 | * load_original_map() */ |
586 | #define FLAG_OBJ_SAVE_ON_OVL 104 /* this object should be saved on |
588 | #define FLAG_OBJ_SAVE_ON_OVL 104 /* this object should be saved on |
587 | * the overlay, and is not subject to |
589 | * the overlay, and is not subject to |
588 | * decay. */ |
590 | * decay. */ |
… | |
… | |
962 | #define CAN_APPLY_UNAPPLY 0x10 |
964 | #define CAN_APPLY_UNAPPLY 0x10 |
963 | #define CAN_APPLY_UNAPPLY_MULT 0x20 |
965 | #define CAN_APPLY_UNAPPLY_MULT 0x20 |
964 | #define CAN_APPLY_UNAPPLY_CHOICE 0x40 |
966 | #define CAN_APPLY_UNAPPLY_CHOICE 0x40 |
965 | |
967 | |
966 | /* Cut off point of when an object is put on the active list or not */ |
968 | /* Cut off point of when an object is put on the active list or not */ |
967 | #define MIN_ACTIVE_SPEED 0.00001 |
969 | #define MIN_ACTIVE_SPEED 1e-5 |
968 | |
970 | |
969 | /* |
971 | /* |
970 | * random() is much better than rand(). If you have random(), use it instead. |
972 | * random() is much better than rand(). If you have random(), use it instead. |
971 | * You shouldn't need to change any of this |
973 | * You shouldn't need to change any of this |
972 | * |
974 | * |