aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/dreamweb.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2012-04-22 16:05:41 +0300
committerFilippos Karapetis2012-04-22 16:06:25 +0300
commit6ecf27711c886b1422f26acc87cdfd893897eb64 (patch)
tree4e923cff17b87ffbd67c58ae5ea93e5d79884533 /engines/dreamweb/dreamweb.cpp
parenta5745434d30f0039db0f5ca7b5ff6781b777d819 (diff)
downloadscummvm-rg350-6ecf27711c886b1422f26acc87cdfd893897eb64.tar.gz
scummvm-rg350-6ecf27711c886b1422f26acc87cdfd893897eb64.tar.bz2
scummvm-rg350-6ecf27711c886b1422f26acc87cdfd893897eb64.zip
DREAMWEB: Move all of the mouse cursor related code into a separate file
Diffstat (limited to 'engines/dreamweb/dreamweb.cpp')
-rw-r--r--engines/dreamweb/dreamweb.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp
index 2e9c7bb2b8..0a35bcdecc 100644
--- a/engines/dreamweb/dreamweb.cpp
+++ b/engines/dreamweb/dreamweb.cpp
@@ -422,25 +422,6 @@ void DreamWebEngine::keyPressed(uint16 ascii) {
DreamWeb::g_keyBuffer[in] = ascii;
}
-void DreamWebEngine::mouseCall(uint16 *x, uint16 *y, uint16 *state) {
- processEvents();
- Common::Point pos = _eventMan->getMousePos();
- if (pos.x > 298)
- pos.x = 298;
- if (pos.x < 15)
- pos.x = 15;
- if (pos.y < 15)
- pos.y = 15;
- if (pos.y > 184)
- pos.y = 184;
- *x = pos.x;
- *y = pos.y;
-
- unsigned newState = _eventMan->getButtonState();
- *state = (newState == _oldMouseState? 0 : newState);
- _oldMouseState = newState;
-}
-
void DreamWebEngine::getPalette(uint8 *data, uint start, uint count) {
_system->getPaletteManager()->grabPalette(data, start, count);
while (count--)