aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/input.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2007-09-19 08:40:12 +0000
committerNicola Mettifogo2007-09-19 08:40:12 +0000
commit258901bab96f0050385a9912c8ea0fe2a41b2d6f (patch)
treea3ae8675b679c9f3b58ac8d97c79369502ea23c1 /engines/agos/input.cpp
parenta89694c0d61a75a960f5bec6c498659c988401cc (diff)
downloadscummvm-rg350-258901bab96f0050385a9912c8ea0fe2a41b2d6f.tar.gz
scummvm-rg350-258901bab96f0050385a9912c8ea0fe2a41b2d6f.tar.bz2
scummvm-rg350-258901bab96f0050385a9912c8ea0fe2a41b2d6f.zip
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
Diffstat (limited to 'engines/agos/input.cpp')
-rw-r--r--engines/agos/input.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/agos/input.cpp b/engines/agos/input.cpp
index a86cad9b94..453e2c3562 100644
--- a/engines/agos/input.cpp
+++ b/engines/agos/input.cpp
@@ -23,7 +23,7 @@
*
*/
-#include "common/stdafx.h"
+
#include "common/config-manager.h"
#include "common/file.h"
@@ -225,15 +225,15 @@ void AGOSEngine::waitForInput() {
_dragEnd = 0;
continue;
}
-
+
_hitAreaSubjectItem = ha->item_ptr;
_verbHitArea = 500;
-
+
do {
processSpecialKeys();
hitarea_stuff_helper();
delay(100);
-
+
if (_dragFlag == 0) {
_dragFlag = 0;
_dragMode = 0;
@@ -241,19 +241,19 @@ void AGOSEngine::waitForInput() {
_dragEnd = 0;
}
} while (!_dragEnd);
-
+
_dragFlag = 0;
_dragMode = 0;
_dragCount = 0;
_dragEnd = 0;
-
+
boxController(_mouse.x, _mouse.y, 1);
-
+
if (_currentBox != NULL) {
_hitAreaObjectItem = _currentBox->item_ptr;
setVerbText(ha);
}
-
+
break;
}
@@ -369,7 +369,7 @@ void AGOSEngine::hitarea_stuff_helper() {
if (_variableArray[254] || _variableArray[249]) {
hitarea_stuff_helper_2();
}
- } else if (getGameType() == GType_ELVIRA2 || getGameType() == GType_WW ||
+ } else if (getGameType() == GType_ELVIRA2 || getGameType() == GType_WW ||
getGameType() == GType_SIMON1) {
uint subr_id = (uint16)_variableArray[254];
if (subr_id) {