1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 23:04:36 +01:00

Refactor game_init_all into GameState::InitAll.

This commit is contained in:
Aaron van Geffen
2018-05-27 17:11:54 +02:00
parent 67f4f9e617
commit dcff6895b5
11 changed files with 48 additions and 54 deletions

View File

@@ -449,9 +449,10 @@ namespace OpenRCT2
util_srand((uint32)time(nullptr));
input_reset_place_obj_modifier();
viewport_init_all();
game_init_all(150);
_gameState = std::make_unique<GameState>();
_gameState->InitAll(150);
_titleScreen = std::make_unique<TitleScreen>(_gameState.get());
return true;
}