0x004C57C0
| 156 | |
| 157 | // 0x004C57C0 |
| 158 | void resetSubsystems() |
| 159 | { |
| 160 | Ui::Windows::MapToolTip::reset(); |
| 161 | |
| 162 | Colours::initColourMap(); |
| 163 | Ui::WindowManager::init(); |
| 164 | Ui::ViewportManager::init(); |
| 165 | |
| 166 | Input::init(); |
| 167 | Input::initMouse(); |
| 168 | |
| 169 | // tooltip-related |
| 170 | Ui::ToolTip::set_52336E(false); |
| 171 | |
| 172 | Ui::Windows::TextInput::cancel(); |
| 173 | |
| 174 | // TODO Move this to a more generic, initialise game state function when |
| 175 | // we have one hooked / implemented. |
| 176 | autosaveReset(); |
| 177 | } |
| 178 | |
| 179 | static void initialise() |
| 180 | { |
no test coverage detected