1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 08:45:00 +01:00

Refactor map size to allow for rectangle maps

This commit is contained in:
Ted John
2021-12-17 18:25:46 +00:00
parent b22ac0551c
commit 454bfb0a8f
46 changed files with 212 additions and 205 deletions

View File

@@ -129,7 +129,7 @@ void TitleScreen::Load()
GetContext()->GetNetwork().Close();
#endif
OpenRCT2::Audio::StopAll();
GetContext()->GetGameState()->InitAll(150);
GetContext()->GetGameState()->InitAll({ 150, 150 });
viewport_init_all();
context_open_window(WC_MAIN_WINDOW);
CreateWindows();
@@ -335,7 +335,7 @@ bool TitleScreen::TryLoadSequence(bool loadPreview)
_loadedTitleSequenceId = SIZE_MAX;
if (!loadPreview)
{
GetContext()->GetGameState()->InitAll(150);
GetContext()->GetGameState()->InitAll({ 150, 150 });
}
return false;
}