| 53 | } |
| 54 | |
| 55 | static void testAnimLimit(Game_Event& ch) { |
| 56 | const auto limit = Game_Character::GetStationaryAnimFrames(ch.GetMoveSpeed()); |
| 57 | |
| 58 | // For events not moving, anim count ticks up to the limit and then freezes until |
| 59 | // the character moves. |
| 60 | for (int i = 0; i < 255; ++i) { |
| 61 | testChar(ch, std::min(i, limit - 1), 1); |
| 62 | ForceUpdate(ch); |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | static void testAnimContinuous(Game_Event& ch) { |
| 67 | const auto limit = Game_Character::GetContinuousAnimFrames(ch.GetMoveSpeed()); |
no test coverage detected