mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Remove unused functions and undefined symbols from Game.cpp/h
This commit is contained in:
@@ -1594,36 +1594,6 @@ void game_autosave()
|
||||
scenario_save(path, saveFlags);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* rct2: 0x006E3838
|
||||
*/
|
||||
void rct2_exit_reason(rct_string_id title, rct_string_id body)
|
||||
{
|
||||
// Before this would set a quit message
|
||||
|
||||
char exit_title[255];
|
||||
format_string(exit_title, 256, title, 0);
|
||||
|
||||
char exit_body[255];
|
||||
format_string(exit_body, 256, body, 0);
|
||||
|
||||
log_error(exit_title);
|
||||
log_error(exit_body);
|
||||
|
||||
rct2_exit();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* rct2: 0x006E3879
|
||||
*/
|
||||
void rct2_exit()
|
||||
{
|
||||
openrct2_finish();
|
||||
}
|
||||
|
||||
static void game_load_or_quit_no_save_prompt_callback(sint32 result, const utf8 * path)
|
||||
{
|
||||
if (result == MODAL_RESULT_OK)
|
||||
@@ -1668,7 +1638,7 @@ void game_load_or_quit_no_save_prompt()
|
||||
title_load();
|
||||
break;
|
||||
default:
|
||||
rct2_exit();
|
||||
openrct2_finish();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -164,9 +164,7 @@ void game_reduce_game_speed();
|
||||
|
||||
void game_create_windows();
|
||||
void game_update();
|
||||
bool game_logic_begin();
|
||||
void game_logic_update();
|
||||
void game_logic_finish();
|
||||
void reset_all_sprite_quadrant_placements();
|
||||
void update_palette_effects();
|
||||
|
||||
@@ -187,8 +185,6 @@ void * create_save_game_as_intent();
|
||||
void save_game_as();
|
||||
void handle_park_load_failure_with_title_opt(const ParkLoadResult * result, const utf8 * path, bool loadTitleFirst);
|
||||
void handle_park_load_failure(const ParkLoadResult * result, const utf8 * path);
|
||||
void rct2_exit();
|
||||
void rct2_exit_reason(rct_string_id title, rct_string_id body);
|
||||
void game_autosave();
|
||||
void game_convert_strings_to_utf8();
|
||||
void game_convert_news_items_to_utf8();
|
||||
|
||||
Reference in New Issue
Block a user