0x0043D0FA
| 241 | |
| 242 | // 0x0043D0FA |
| 243 | void goToPreviousStep() |
| 244 | { |
| 245 | switch (getCurrentStep()) |
| 246 | { |
| 247 | case Step::null: |
| 248 | case Step::objectSelection: |
| 249 | break; |
| 250 | |
| 251 | case Step::landscapeEditor: |
| 252 | // 0x0043D119 |
| 253 | WindowManager::closeAllFloatingWindows(); |
| 254 | Scenario::getOptions().editorStep = Step::objectSelection; |
| 255 | break; |
| 256 | |
| 257 | case Step::scenarioOptions: |
| 258 | // 0x0043D12C |
| 259 | WindowManager::closeAllFloatingWindows(); |
| 260 | Windows::Terraform::resetLastSelections(); |
| 261 | Scenario::getOptions().editorStep = Step::landscapeEditor; |
| 262 | Windows::LandscapeGeneration::open(); |
| 263 | break; |
| 264 | |
| 265 | case Step::saveScenario: |
| 266 | break; |
| 267 | } |
| 268 | |
| 269 | Gfx::invalidateScreen(); |
| 270 | } |
| 271 | |
| 272 | // 0x004747D4 |
| 273 | static StringId validateHeadquarterBuilding() |
no test coverage detected