Rename {initialize,release}_console to platform_{initialize,finalize}

So that other platform-specific setups (e.g. menus) can be done there.
This commit is contained in:
kichikuou
2020-10-10 15:26:01 +09:00
parent 47ac7a81aa
commit 7f94312c58
6 changed files with 13 additions and 15 deletions
+2 -4
View File
@@ -19,8 +19,7 @@ extern SDL_Window* g_window;
NACT::NACT(int sys_ver, uint32 crc32_a, uint32 crc32_b, const char* font_file, const char* playlist)
: sys_ver(sys_ver), crc32_a(crc32_a), crc32_b(crc32_b)
{
// デバッグコンソール起動
initialize_console();
platform_initialize();
// AG00.DAT読み込み
FILEIO* fio = new FILEIO();
@@ -114,8 +113,7 @@ NACT::~NACT()
free(scenario_data);
}
// デバッグコンソール開放
release_console();
platform_finalize();
}
void NACT::mainloop()