aboutsummaryrefslogtreecommitdiff
path: root/saga/interface.cpp
diff options
context:
space:
mode:
authorAndrew Kurushin2004-12-24 20:44:39 +0000
committerAndrew Kurushin2004-12-24 20:44:39 +0000
commit2289ea371b46a0696ae54923f32c1027b73afe34 (patch)
treee29bff22df0926a7a482fb82bcbb64d9daa33149 /saga/interface.cpp
parentf0bc27f11c5fb638623108df3700b182433df947 (diff)
downloadscummvm-rg350-2289ea371b46a0696ae54923f32c1027b73afe34.tar.gz
scummvm-rg350-2289ea371b46a0696ae54923f32c1027b73afe34.tar.bz2
scummvm-rg350-2289ea371b46a0696ae54923f32c1027b73afe34.zip
- remove old stuff
- work on "walking" in progress svn-id: r16298
Diffstat (limited to 'saga/interface.cpp')
-rw-r--r--saga/interface.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/saga/interface.cpp b/saga/interface.cpp
index a2f42d2318..b951d4203b 100644
--- a/saga/interface.cpp
+++ b/saga/interface.cpp
@@ -555,6 +555,8 @@ int Interface::handleCommandUpdate(SURFACE *ds, const Point& imousePt) {
}
int Interface::handlePlayfieldClick(SURFACE *ds, const Point& imousePt) {
+ return FALSE;
+/*
int objectNum;
uint16 object_flags = 0;
@@ -566,6 +568,8 @@ int Interface::handlePlayfieldClick(SURFACE *ds, const Point& imousePt) {
if (objectNum == -1) {
// Player clicked on empty spot - walk here regardless of verb
_vm->_actor->StoA(iactor_pt, imousePt);
+ error("!");
+
_vm->_actor->walkTo(1, &iactor_pt, 0, NULL);
return SUCCESS;
}
@@ -585,13 +589,17 @@ int Interface::handlePlayfieldClick(SURFACE *ds, const Point& imousePt) {
} else {
// Not a normal scene object - walk to it as if it weren't there
_vm->_actor->StoA(iactor_pt, imousePt);
- _vm->_actor->walkTo(1, &iactor_pt, 0, NULL);
+// _vm->_actor->walkTo(1, &iactor_pt, 0, NULL);
+ error("!");
+
}
- return SUCCESS;
+ return SUCCESS;*/
}
int Interface::handlePlayfieldUpdate(SURFACE *ds, const Point& imousePt) {
+ return FALSE;
+ /*
const char *object_name;
int objectNum;
uint16 object_flags = 0;
@@ -623,6 +631,7 @@ int Interface::handlePlayfieldUpdate(SURFACE *ds, const Point& imousePt) {
setStatusText(new_status);
return SUCCESS;
+ */
}
int Interface::hitTest(const Point& imousePt, int *ibutton) {