| 186 | } |
| 187 | |
| 188 | static void FlashScreen(TypeOrNil<ScriptColor> col, TypeOrNil<float> speed) |
| 189 | { |
| 190 | auto color = ValueOr<ScriptColor>(col, ScriptColor(255, 255, 255)); |
| 191 | Weather.Flash(color.GetR(), color.GetG(), color.GetB(), (ValueOr<float>(speed, 1.0)) / (float)FPS); |
| 192 | } |
| 193 | |
| 194 | static float GetAspectRatio() |
| 195 | { |
nothing calls this directly
no test coverage detected