aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/input.cpp6
-rw-r--r--engines/fullpipe/input.h4
-rw-r--r--engines/fullpipe/sound.cpp2
3 files changed, 11 insertions, 1 deletions
diff --git a/engines/fullpipe/input.cpp b/engines/fullpipe/input.cpp
index 767a0d5c44..03a77efdcf 100644
--- a/engines/fullpipe/input.cpp
+++ b/engines/fullpipe/input.cpp
@@ -51,6 +51,12 @@ CInputController::CInputController() {
_cursorItemPicture = 0;
}
+CInputController::~CInputController() {
+ removeMessageHandler(126, -1);
+
+ g_fullpipe->_inputController = 0;
+}
+
void CInputController::setInputDisabled(bool state) {
_flag = state;
g_fullpipe->_inputDisabled = state;
diff --git a/engines/fullpipe/input.h b/engines/fullpipe/input.h
index 6a7ad11f67..4b32e510e3 100644
--- a/engines/fullpipe/input.h
+++ b/engines/fullpipe/input.h
@@ -60,12 +60,16 @@ class CInputController {
public:
CInputController();
+ ~CInputController();
+
void setInputDisabled(bool state);
void addCursor(CursorInfo *cursor);
void setCursorMode(bool mode);
void drawCursor(int x, int y);
void setCursor(int id);
+
+ void setCursorItemPicture(Picture *pic) { _cursorItemPicture = pic; }
};
} // End of namespace Fullpipe
diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp
index d0ff8dd8eb..442db7a642 100644
--- a/engines/fullpipe/sound.cpp
+++ b/engines/fullpipe/sound.cpp
@@ -116,7 +116,7 @@ void FullpipeEngine::setSceneMusicParameters(CGameVar *var) {
}
void FullpipeEngine::startSceneTrack() {
- warning("STUB: FullpipeEngine::startSceneTrack()");
+ debug(3, "STUB: FullpipeEngine::startSceneTrack()");
}
void FullpipeEngine::stopAllSounds() {