… | |
… | |
731 | #define CAN_APPLY_UNAPPLY_MULT 0x20 |
731 | #define CAN_APPLY_UNAPPLY_MULT 0x20 |
732 | #define CAN_APPLY_UNAPPLY_CHOICE 0x40 |
732 | #define CAN_APPLY_UNAPPLY_CHOICE 0x40 |
733 | |
733 | |
734 | // Cut off point of when an object is put on the active list or not |
734 | // Cut off point of when an object is put on the active list or not |
735 | // we use 2**-n because that can be represented exactly |
735 | // we use 2**-n because that can be represented exactly |
736 | // also make sure that this is a float, not double, constant |
736 | // also make sure that this is a float, not double, constant. |
|
|
737 | // some areas in the server divide by this value, so |
|
|
738 | // to avoid integer overflows it should not be much lower. |
737 | #define MIN_ACTIVE_SPEED (1.f / 65536.f) |
739 | #define MIN_ACTIVE_SPEED (1.f / 65536.f) |
738 | |
740 | |
739 | /* have mercy on players and guarantee a somewhat higher speed */ |
741 | /* have mercy on players and guarantee a somewhat higher speed */ |
740 | #define MIN_PLAYER_SPEED 0.04f |
742 | #define MIN_PLAYER_SPEED 0.04f |
741 | |
743 | |