diff options
author | Eugene Sandulenko | 2013-08-25 00:18:07 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-09-06 14:51:19 +0300 |
commit | 86aaaecc97a2bca872b8f4e7719d932419eca952 (patch) | |
tree | 1e3223fea06b8a307d40c4559450e58a9f9e3593 /engines | |
parent | 44081e6b1e625f5c52acf26a0336935cf99449d9 (diff) | |
download | scummvm-rg350-86aaaecc97a2bca872b8f4e7719d932419eca952.tar.gz scummvm-rg350-86aaaecc97a2bca872b8f4e7719d932419eca952.tar.bz2 scummvm-rg350-86aaaecc97a2bca872b8f4e7719d932419eca952.zip |
FULLPIPE: Unstubbed couple small functions
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/input.cpp | 6 | ||||
-rw-r--r-- | engines/fullpipe/input.h | 4 | ||||
-rw-r--r-- | engines/fullpipe/sound.cpp | 2 |
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() { |