… | |
… | |
442 | #define FLAG_UNAGGRESSIVE 38 /* Monster doesn't attack players */ |
442 | #define FLAG_UNAGGRESSIVE 38 /* Monster doesn't attack players */ |
443 | #define FLAG_REFL_MISSILE 39 /* Arrows will reflect from object */ |
443 | #define FLAG_REFL_MISSILE 39 /* Arrows will reflect from object */ |
444 | #define FLAG_REFL_SPELL 40 /* Spells (some) will reflect from object */ |
444 | #define FLAG_REFL_SPELL 40 /* Spells (some) will reflect from object */ |
445 | |
445 | |
446 | #define FLAG_NO_MAGIC 41 /* Spells (some) can't pass this object */ |
446 | #define FLAG_NO_MAGIC 41 /* Spells (some) can't pass this object */ |
447 | #define FLAG_NO_FIX_PLAYER 42 /* fix_player() won't be called */ |
447 | //#define FLAG_NO_FIX_PLAYER 42*/ /* fix_player() won't be called */ |
448 | #define FLAG_IS_LIGHTABLE 43 /* object can be lit */ |
448 | #define FLAG_IS_LIGHTABLE 43 /* object can be lit */ |
449 | #define FLAG_TEAR_DOWN 44 /* at->faces[hp*animations/maxhp] at hit */ |
449 | #define FLAG_TEAR_DOWN 44 /* at->faces[hp*animations/maxhp] at hit */ |
450 | #define FLAG_RUN_AWAY 45 /* Object runs away from nearest player \ |
450 | #define FLAG_RUN_AWAY 45 /* Object runs away from nearest player \ |
451 | but can still attack at a distance */ |
451 | but can still attack at a distance */ |
452 | |
452 | |
… | |
… | |
751 | // Cut off point of when an object is put on the active list or not |
751 | // Cut off point of when an object is put on the active list or not |
752 | // we use 2**-n because that can be represented exactly |
752 | // we use 2**-n because that can be represented exactly |
753 | // also make sure that this is a float, not double, constant |
753 | // also make sure that this is a float, not double, constant |
754 | #define MIN_ACTIVE_SPEED (1.f / 65536.f) |
754 | #define MIN_ACTIVE_SPEED (1.f / 65536.f) |
755 | |
755 | |
|
|
756 | /* have mercy on players and guarantee a somewhat higher speed */ |
|
|
757 | #define MIN_PLAYER_SPEED 0.04f |
|
|
758 | |
756 | /* |
759 | /* |
757 | * Warning! |
760 | * Warning! |
758 | * If you add message types here, don't forget |
761 | * If you add message types here, don't forget |
759 | * to keep the client up to date too! |
762 | * to keep the client up to date too! |
760 | */ |
763 | */ |