aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/core.h
diff options
context:
space:
mode:
authorstrangerke2011-04-08 22:09:11 +0200
committerstrangerke2011-04-08 22:09:11 +0200
commit2aba8a81bd4ab20038109f70036d0dbbdbcab9a8 (patch)
tree1f004198b278c19645b6086baf09170e49af6750 /engines/tsage/core.h
parentab0b31eb30dd1d2dd474dc9564c520b479e9b6ec (diff)
downloadscummvm-rg350-2aba8a81bd4ab20038109f70036d0dbbdbcab9a8.tar.gz
scummvm-rg350-2aba8a81bd4ab20038109f70036d0dbbdbcab9a8.tar.bz2
scummvm-rg350-2aba8a81bd4ab20038109f70036d0dbbdbcab9a8.zip
TSAGE: move NamedHotspot back into core. Replace HotspotBase4300 by NamedHotspot and suppress it.
Diffstat (limited to 'engines/tsage/core.h')
-rw-r--r--engines/tsage/core.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/tsage/core.h b/engines/tsage/core.h
index b37d576b4e..27079dd963 100644
--- a/engines/tsage/core.h
+++ b/engines/tsage/core.h
@@ -439,6 +439,16 @@ public:
virtual void doAction(int action);
};
+class NamedHotspot: public SceneHotspot {
+public:
+ int _resnum, _lookLineNum, _useLineNum;
+ NamedHotspot(): SceneHotspot() {}
+
+ void quickInit(const int ys, const int xe, const int ye, const int xs, const int resnum, const int lookLineNum, const int useLineNum);
+ virtual void doAction(int action);
+ virtual Common::String getClassName() { return "NamedHotspot"; }
+};
+
class SceneHotspot_2: public SceneHotspot {
public:
int _field26, _field28;