0x00438A6C
| 15 | { |
| 16 | // 0x00438A6C |
| 17 | void init() |
| 18 | { |
| 19 | Windows::Main::open(); |
| 20 | |
| 21 | Windows::Terraform::setAdjustLandToolSize(1); |
| 22 | Windows::Terraform::setAdjustWaterToolSize(1); |
| 23 | Windows::Terraform::setClearAreaToolSize(2); |
| 24 | |
| 25 | if (SceneManager::isTitleMode()) |
| 26 | { |
| 27 | Ui::Windows::TitleMenu::open(); |
| 28 | Ui::Windows::TitleExit::open(); |
| 29 | Ui::Windows::TitleLogo::open(); |
| 30 | Ui::Windows::TitleVersion::open(); |
| 31 | Ui::Windows::TitleOptions::open(); |
| 32 | } |
| 33 | else if (SceneManager::isPlayMode()) |
| 34 | { |
| 35 | Windows::ToolbarTop::Game::open(); |
| 36 | |
| 37 | Windows::PlayerInfoPanel::open(); |
| 38 | Windows::TimePanel::open(); |
| 39 | |
| 40 | if (OpenLoco::Tutorial::state() != Tutorial::State::none) |
| 41 | { |
| 42 | Windows::Tutorial::open(); |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | resize(); |
| 47 | } |
| 48 | |
| 49 | // 0x004392BD |
| 50 | void resize() |
no test coverage detected