mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-08 14:58:13 +03:00
RottenBlock's changes for Rance 2 Hint Disk
This commit is contained in:
@@ -431,6 +431,9 @@ void NACT_Sys1::cmd_g()
|
||||
map_page = page;
|
||||
}
|
||||
}
|
||||
|
||||
last_paint_x = -1;
|
||||
last_paint_y = -1;
|
||||
}
|
||||
|
||||
void NACT_Sys1::cmd_h()
|
||||
@@ -540,6 +543,9 @@ void NACT_Sys1::cmd_u()
|
||||
} else {
|
||||
ags->load_cg(page, transparent);
|
||||
}
|
||||
|
||||
last_paint_x = -1;
|
||||
last_paint_y = -1;
|
||||
}
|
||||
|
||||
void NACT_Sys1::cmd_v()
|
||||
@@ -701,6 +707,31 @@ void NACT_Sys1::cmd_y()
|
||||
ags->box_fill(0, 40, 8, 598, 270, 0);
|
||||
}
|
||||
}
|
||||
else if (game_id.is_rance2()) {
|
||||
if (param == 0) {
|
||||
// Unknown
|
||||
}
|
||||
else if (param == 6) {
|
||||
ags->box_fill(0, 0, 0, 424, 276, 0);
|
||||
}
|
||||
else if (param == 7) {
|
||||
ags->box_fill(0, 0, 0, 640, 276, 0);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 12: // Rance 2 / Rance 2 hint disk
|
||||
// Y 12, 0: is supposed to activate an automatic text
|
||||
// progression feature, but it doesn't seem to work on the
|
||||
// PC-98?
|
||||
case 13: // Rance 2
|
||||
// Sets the speed of the auto text progression feature (Y 12).
|
||||
// The options in Rance 2 are 1 (the fastest), 5, and 10 (the
|
||||
// slowest). Not available in the Hint Disk.
|
||||
case 20: // Rance 2 / Rance 2 hint disk
|
||||
ags->load_cg(param, -1);
|
||||
|
||||
last_paint_x = -1;
|
||||
last_paint_y = -1;
|
||||
break;
|
||||
case 130:
|
||||
if (game_id.is(GameId::TENGU)) {
|
||||
@@ -889,6 +920,14 @@ void NACT_Sys1::cmd_z()
|
||||
ags->copy(x + 2, 182, x + 38, 224, x, 210);
|
||||
ags->src_screen = 0;
|
||||
}
|
||||
break;
|
||||
case GameId::RANCE2:
|
||||
case GameId::RANCE2_HINT:
|
||||
ags->paint(last_paint_x, last_paint_y, 0);
|
||||
ags->paint(cmd, param, 3);
|
||||
last_paint_x = cmd;
|
||||
last_paint_y = param;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user