| 146 | } |
| 147 | |
| 148 | void Game_Screen::ShakeBegin(int power, int speed) { |
| 149 | data.shake_strength = power; |
| 150 | data.shake_speed = speed; |
| 151 | data.shake_time_left = Shake::kShakeContinuousTimeStart; |
| 152 | data.shake_continuous = true; |
| 153 | // Shake position is not reset in RPG_RT, so that multiple shakes |
| 154 | // which interrupt each other flow smoothly. |
| 155 | } |
| 156 | |
| 157 | void Game_Screen::ShakeEnd() { |
| 158 | data.shake_position = 0; |