[Scummvm-cvs-logs] scummvm master -> 62d846d7172d27c5f9e784f507cd546915f6d652
Strangerke
Strangerke at scummvm.org
Wed Feb 26 07:44:49 CET 2014
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
62d846d717 VOYEUR: Remove a useless function
Commit: 62d846d7172d27c5f9e784f507cd546915f6d652
https://github.com/scummvm/scummvm/commit/62d846d7172d27c5f9e784f507cd546915f6d652
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-02-25T22:43:11-08:00
Commit Message:
VOYEUR: Remove a useless function
Changed paths:
engines/voyeur/events.cpp
engines/voyeur/events.h
engines/voyeur/voyeur.cpp
diff --git a/engines/voyeur/events.cpp b/engines/voyeur/events.cpp
index 6869947..a141883 100644
--- a/engines/voyeur/events.cpp
+++ b/engines/voyeur/events.cpp
@@ -85,10 +85,6 @@ EventsManager::EventsManager(): _intPtr(_gameData),
_fadeCount = 1;
}
-void EventsManager::resetMouse() {
- // No implementation
-}
-
void EventsManager::startMainClockInt() {
_mainIntNode._intFunc = &EventsManager::mainVoyeurIntFunc;
_mainIntNode._flags = 0;
diff --git a/engines/voyeur/events.h b/engines/voyeur/events.h
index 03c2669..c032d35 100644
--- a/engines/voyeur/events.h
+++ b/engines/voyeur/events.h
@@ -115,7 +115,6 @@ public:
EventsManager();
void setVm(VoyeurEngine *vm) { _vm = vm; }
- void resetMouse();
void setMousePos(const Common::Point &p) { _mousePos = p; }
void startMainClockInt();
void sWaitFlip();
diff --git a/engines/voyeur/voyeur.cpp b/engines/voyeur/voyeur.cpp
index 7bfb4a7..6a9244b 100644
--- a/engines/voyeur/voyeur.cpp
+++ b/engines/voyeur/voyeur.cpp
@@ -77,15 +77,12 @@ Common::Error VoyeurEngine::run() {
if (_iForceDeath >= 1 && _iForceDeath <= 4)
_voy._eventFlags |= EVTFLAG_VICTIM_PRESET;
- _eventsManager.resetMouse();
if (doHeadTitle()) {
playStamp();
if (!shouldQuit())
doTailTitle();
}
- //doHeadTitle();
-
return Common::kNoError;
}
More information about the Scummvm-git-logs
mailing list