aboutsummaryrefslogtreecommitdiff
path: root/saga/actionmap.h
diff options
context:
space:
mode:
authorAndrew Kurushin2005-01-15 23:46:43 +0000
committerAndrew Kurushin2005-01-15 23:46:43 +0000
commitfe424ed5ae36b0ac99d0f17ad563b57bed69cec5 (patch)
tree559ba1dc29110b013bcc1f983bbfeac6a2c403bd /saga/actionmap.h
parentaa9debccec0c30f32f63957c9f6465afadb56f84 (diff)
downloadscummvm-rg350-fe424ed5ae36b0ac99d0f17ad563b57bed69cec5.tar.gz
scummvm-rg350-fe424ed5ae36b0ac99d0f17ad563b57bed69cec5.tar.bz2
scummvm-rg350-fe424ed5ae36b0ac99d0f17ad563b57bed69cec5.zip
- added partial scene change by actor's walking (todo:entrance should be supported)
svn-id: r16568
Diffstat (limited to 'saga/actionmap.h')
-rw-r--r--saga/actionmap.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/saga/actionmap.h b/saga/actionmap.h
index 9684a68975..3329d47b59 100644
--- a/saga/actionmap.h
+++ b/saga/actionmap.h
@@ -47,7 +47,12 @@ class ActionMap {
int getExitSceneNumber(int index) const;
int hitTest(const Point &testPoint);
int draw(SURFACE *ds, int color);
-
+ const HitZone * getHitZone(int index) const {
+ if ((index < 0) || (index >= _stepZoneListCount)) {
+ error("ActionMap::getHitZone wrong index 0x%X", index);
+ }
+ return _stepZoneList[index];
+ }
void cmdInfo();
private: