AGOS: Avoid hiding overloaded virtual methods

This commit is contained in:
Ori Avtalion 2011-02-26 19:38:21 +02:00
parent d17a889400
commit ee3e08bbc2
3 changed files with 5 additions and 6 deletions

View File

@ -2018,7 +2018,7 @@ protected:
void scrollOracleUp();
void scrollOracleDown();
void listSaveGames(int n);
void listSaveGamesFeeble();
void saveUserGame(int slot);
void windowBackSpace(WindowBlock *window);

View File

@ -369,7 +369,7 @@ void AGOSEngine_Feeble::swapCharacterLogo() {
}
}
void AGOSEngine_Feeble::listSaveGames(int n) {
void AGOSEngine_Feeble::listSaveGamesFeeble() {
char b[108];
Common::InSaveFile *in;
uint16 j, k, z, maxFiles;
@ -377,8 +377,8 @@ void AGOSEngine_Feeble::listSaveGames(int n) {
memset(b, 0, 108);
maxFiles = countSaveGames() - 1;
j = maxFiles - n + 1;
k = maxFiles - j + 1;
j = maxFiles;
k = 1;
z = maxFiles;
if (getBitFlag(95)) {
j++;

View File

@ -430,8 +430,7 @@ void AGOSEngine_Feeble::off_loadUserGame() {
}
void AGOSEngine_Feeble::off_listSaveGames() {
// 134: dummy opcode?
listSaveGames(1);
listSaveGamesFeeble();
}
void AGOSEngine_Feeble::off_checkCD() {