| 28 | } |
| 29 | |
| 30 | void LoadingScreen::begin() |
| 31 | { |
| 32 | // FIXME: This is now useless, as it doesn't actually load anything interesting here |
| 33 | if (showRotatingImage) |
| 34 | { |
| 35 | loadingimage = fw().data->loadImage("ui/loading.png"); |
| 36 | } |
| 37 | if (!backgroundimage) |
| 38 | { |
| 39 | backgroundimage = fw().data->loadImage("ui/logo.png"); |
| 40 | } |
| 41 | fw().displaySetIcon(std::dynamic_pointer_cast<RGBImage>(backgroundimage)); |
| 42 | loadingimageangle = 0; |
| 43 | if (Options::asyncLoading.get() == false) |
| 44 | { |
| 45 | loadingTask.wait(); |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | void LoadingScreen::pause() {} |
| 50 |
nothing calls this directly
no test coverage detected