aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/game.h')
-rw-r--r--engines/gob/game.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/gob/game.h b/engines/gob/game.h
index 2a4aae1190..421f7c1de5 100644
--- a/engines/gob/game.h
+++ b/engines/gob/game.h
@@ -111,8 +111,9 @@ public:
int16 checkKeys(int16 *pMousex = 0, int16 *pMouseY = 0,
int16 *pButtons = 0, char handleMouse = 0);
void start(void);
- void totSub(int8 flags, const char *newTotFile);
- void switchTotSub(int16 index, int16 skipPlay);
+
+ virtual void totSub(int8 flags, const char *newTotFile);
+ virtual void switchTotSub(int16 index, int16 skipPlay);
void freeCollision(int16 id);
@@ -300,6 +301,8 @@ protected:
class Game_v6 : public Game_v2 {
public:
+ virtual void totSub(int8 flags, const char *newTotFile);
+
virtual int16 addNewCollision(int16 id, uint16 left, uint16 top,
uint16 right, uint16 bottom, int16 flags, int16 key,
uint16 funcEnter, uint16 funcLeave, uint16 funcSub = 0);