| 851 | } |
| 852 | |
| 853 | void Game_Player::ResetPan(int speed) { |
| 854 | data()->pan_finish_x = GetDefaultPanX(); |
| 855 | data()->pan_finish_y = GetDefaultPanY(); |
| 856 | data()->pan_speed = 2 << speed; |
| 857 | |
| 858 | if (Player::IsPatchManiac()) { |
| 859 | // Maniac uses separate horizontal/vertical pan for everything |
| 860 | data()->maniac_horizontal_pan_speed = data()->pan_speed; |
| 861 | data()->maniac_vertical_pan_speed = data()->pan_speed; |
| 862 | } |
| 863 | } |
| 864 | |
| 865 | int Game_Player::GetPanWait() { |
| 866 | bool is_maniac = Player::IsPatchManiac(); |
no outgoing calls
no test coverage detected