aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/game_v1.cpp
diff options
context:
space:
mode:
authorSven Hesse2007-02-05 14:08:50 +0000
committerSven Hesse2007-02-05 14:08:50 +0000
commit7f26069f6924b0d450b6592755ba6ab40d507a9c (patch)
tree856d6bfc6b2d7fdd71f74d215b21d814959a8276 /engines/gob/game_v1.cpp
parent710105d1c1ab5ec00477dc098ac9bb8f09c6b13c (diff)
downloadscummvm-rg350-7f26069f6924b0d450b6592755ba6ab40d507a9c.tar.gz
scummvm-rg350-7f26069f6924b0d450b6592755ba6ab40d507a9c.tar.bz2
scummvm-rg350-7f26069f6924b0d450b6592755ba6ab40d507a9c.zip
- Moved struct Mult_Data from Mult_v2 to Mult and merged Mult::_multData, Mult::_multData2 and some of the loose variables in Mult
- Added some missing MD5s/game versions (#1652352) svn-id: r25393
Diffstat (limited to 'engines/gob/game_v1.cpp')
-rw-r--r--engines/gob/game_v1.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/engines/gob/game_v1.cpp b/engines/gob/game_v1.cpp
index a25e02244f..2ae9406c26 100644
--- a/engines/gob/game_v1.cpp
+++ b/engines/gob/game_v1.cpp
@@ -335,36 +335,6 @@ void Game_v1::popCollisions(void) {
delete[] _collStack[_collStackSize];
}
-int16 Game_v1::checkKeys(int16 *pMouseX, int16 *pMouseY, int16 *pButtons, char handleMouse) {
- _vm->_util->processInput();
-
- if (VAR(58) != 0) {
- if (_vm->_mult->_frameStart != (int)VAR(58) - 1)
- _vm->_mult->_frameStart++;
- else
- _vm->_mult->_frameStart = 0;
-
- _vm->_mult->playMult(_vm->_mult->_frameStart + VAR(57), _vm->_mult->_frameStart + VAR(57), 1,
- handleMouse);
- }
-
- if (_vm->_inter->_soundEndTimeKey != 0
- && _vm->_util->getTimeKey() >= _vm->_inter->_soundEndTimeKey) {
- _vm->_snd->stopSound(_vm->_inter->_soundStopVal);
- _vm->_inter->_soundEndTimeKey = 0;
- }
-
- if (_vm->_global->_useMouse == 0)
- error("checkKeys: Can't work without mouse!");
-
- _vm->_util->getMouseState(pMouseX, pMouseY, pButtons);
-
- if (*pButtons == 3)
- *pButtons = 0;
-
- return _vm->_util->checkKey();
-}
-
int16 Game_v1::checkCollisions(char handleMouse, int16 deltaTime, int16 *pResId,
int16 *pResIndex) {
char *savedIP;