mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 13:33:02 +01:00
Add new .park save format
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com> Co-authored-by: duncanspumpkin <duncanspumpkin@users.noreply.github.com> Co-authored-by: ZehMatt <Zehmatt@users.noreply.github.com> Co-authored-by: Broxzier <Broxzier@users.noreply.github.com>
This commit is contained in:
@@ -501,7 +501,7 @@ void game_fix_save_vars()
|
||||
}
|
||||
}
|
||||
|
||||
research_fix();
|
||||
ResearchFix();
|
||||
|
||||
// Fix banner list pointing to NULL map elements
|
||||
banner_reset_broken_index();
|
||||
@@ -514,6 +514,8 @@ void game_fix_save_vars()
|
||||
|
||||
// Fix gParkEntrance locations for which the tile_element no longer exists
|
||||
fix_park_entrance_locations();
|
||||
|
||||
staff_update_greyed_patrol_areas();
|
||||
}
|
||||
|
||||
void game_load_init()
|
||||
@@ -824,7 +826,7 @@ void game_load_or_quit_no_save_prompt()
|
||||
void start_silent_record()
|
||||
{
|
||||
std::string name = Path::Combine(
|
||||
OpenRCT2::GetContext()->GetPlatformEnvironment()->GetDirectoryPath(OpenRCT2::DIRBASE::USER), "debug_replay.sv6r");
|
||||
OpenRCT2::GetContext()->GetPlatformEnvironment()->GetDirectoryPath(OpenRCT2::DIRBASE::USER), "debug_replay.parkrep");
|
||||
auto* replayManager = OpenRCT2::GetContext()->GetReplayManager();
|
||||
if (replayManager->StartRecording(name, OpenRCT2::k_MaxReplayTicks, OpenRCT2::IReplayManager::RecordType::SILENT))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user