Move SYSTEM1 initialization code to NACT_Sys1 constructor

This commit is contained in:
kichikuou
2020-02-23 14:41:10 +09:00
parent 7ffa8bc306
commit 4ae7e9e7aa
3 changed files with 25 additions and 31 deletions
+17
View File
@@ -63,6 +63,23 @@
NACT_Sys1::NACT_Sys1(uint32 crc32, const char* font_file, const char* playlist)
: NACT(1, crc32, font_file, playlist)
{
menu_max = 6;
switch (crc32) {
case CRC32_DPS:
text_refresh = false;
strcpy_s(tvar[0], 22, "カスタム");
strcpy_s(tvar[1], 22, "リーナス");
strcpy_s(tvar[2], 22, "かつみ");
strcpy_s(tvar[3], 22, "由美子");
strcpy_s(tvar[4], 22, "いつみ");
strcpy_s(tvar[5], 22, "ひとみ");
strcpy_s(tvar[6], 22, "真理子");
break;
case CRC32_INTRUDER:
menu_max = 11;
paint_x = paint_y = map_page = 0;
break;
}
}
void NACT_Sys1::opening()