KYRA: (EOB) - fix 2 gcc (-Woverloaded-virtual) warnings

This commit is contained in:
athrxx 2011-12-27 13:52:19 +01:00
parent 536abf6d3d
commit 4fef4743fd
3 changed files with 3 additions and 3 deletions

View File

@ -313,7 +313,7 @@ uint16 KyraRpgEngine::processDialogue() {
return res;
}
void KyraRpgEngine::delayUntil(uint32 time, bool doUpdate, bool isMainLoop) {
void KyraRpgEngine::delayUntil(uint32 time, bool doUpdate, bool isMainLoop, bool) {
uint32 curTime = _system->getMillis();
if (time > curTime)
delay(time - curTime, doUpdate, isMainLoop);

View File

@ -304,7 +304,7 @@ protected:
// misc
virtual void delay(uint32 millis, bool doUpdate = false, bool isMainLoop = false) = 0;
void delayUntil(uint32 time, bool doUpdate = false, bool isMainLoop = false);
void delayUntil(uint32 time, bool doUpdate = false, bool isMainLoop = false, bool unused = false);
int rollDice(int times, int pips, int inc = 0);
virtual Common::Error loadGameState(int slot) = 0;

View File

@ -37,7 +37,7 @@ public:
TextDisplayer_rpg(KyraRpgEngine *engine, Screen *scr);
virtual ~TextDisplayer_rpg();
virtual void setupField(int dim, bool mode);
void setupField(int dim, bool mode);
void printDialogueText(int stringId, const char *pageBreakString);
void printDialogueText(const char *str, bool wait = false);