KYRA: (EOB) - fix warning about overloaded virtual function being only partially overridden

This commit is contained in:
athrxx 2011-12-29 16:56:56 +01:00
parent b4baac065d
commit ef3b591b28
3 changed files with 4 additions and 2 deletions

View File

@ -111,6 +111,7 @@ private:
bool killMonsterExtra(EoBMonsterInPlay *m);
// Level
void loadDoorShapes(int doorType1, int shapeId1, int doorType2, int shapeId2) {}
const uint8 *loadDoorShapes(const char *filename, int doorIndex, const uint8 *shapeDefs);
void drawDoorIntern(int type, int, int x, int y, int w, int wall, int mDim, int16, int16);

View File

@ -112,6 +112,7 @@ private:
void updateScriptTimersExtra();
// Level
const uint8 *loadDoorShapes(const char *filename, int doorIndex, const uint8 *shapeDefs) { return 0; }
void loadDoorShapes(int doorType1, int shapeId1, int doorType2, int shapeId2);
void drawDoorIntern(int type, int index, int x, int y, int w, int wall, int mDim, int16 y1, int16 y2);

View File

@ -582,8 +582,8 @@ protected:
void releaseDecorations();
void releaseDoorShapes();
void toggleWallState(int wall, int flags);
virtual void loadDoorShapes(int doorType1, int shapeId1, int doorType2, int shapeId2) {}
virtual const uint8 *loadDoorShapes(const char *filename, int doorIndex, const uint8*shapeDefs) { return (const uint8*)filename; }
virtual void loadDoorShapes(int doorType1, int shapeId1, int doorType2, int shapeId2) = 0;
virtual const uint8 *loadDoorShapes(const char *filename, int doorIndex, const uint8 *shapeDefs) = 0;
void drawScene(int refresh);
void drawSceneShapes(int start = 0);