aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/ringworld2
diff options
context:
space:
mode:
authorPaul Gilbert2012-01-04 21:52:21 +1100
committerPaul Gilbert2012-01-04 21:52:21 +1100
commit0d3287671e3132d3d24ff2f87295a100b731c849 (patch)
tree0504bd80ba66a72af8d27ab0102b0229f47d9410 /engines/tsage/ringworld2
parent3344cf424a90d22ab44c8b64b7ad598a53147e26 (diff)
downloadscummvm-rg350-0d3287671e3132d3d24ff2f87295a100b731c849.tar.gz
scummvm-rg350-0d3287671e3132d3d24ff2f87295a100b731c849.tar.bz2
scummvm-rg350-0d3287671e3132d3d24ff2f87295a100b731c849.zip
TSAGE: Implemented the changes needed for R2R SceneActor::dispatch
Diffstat (limited to 'engines/tsage/ringworld2')
-rw-r--r--engines/tsage/ringworld2/ringworld2_logic.cpp10
-rw-r--r--engines/tsage/ringworld2/ringworld2_logic.h4
2 files changed, 2 insertions, 12 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_logic.cpp b/engines/tsage/ringworld2/ringworld2_logic.cpp
index 0d8e5fda88..6c15e987e6 100644
--- a/engines/tsage/ringworld2/ringworld2_logic.cpp
+++ b/engines/tsage/ringworld2/ringworld2_logic.cpp
@@ -897,19 +897,13 @@ bool NamedHotspot::startAction(CursorType action, Event &event) {
}
}
+/*--------------------------------------------------------------------------*/
+
void SceneActor::postInit(SceneObjectList *OwnerList) {
_lookLineNum = _talkLineNum = _useLineNum = -1;
SceneObject::postInit();
}
-void SceneActor::synchronize(Serializer &s) {
- SceneObject::synchronize(s);
- s.syncAsSint16LE(_resNum);
- s.syncAsSint16LE(_lookLineNum);
- s.syncAsSint16LE(_talkLineNum);
- s.syncAsSint16LE(_useLineNum);
-}
-
bool SceneActor::startAction(CursorType action, Event &event) {
bool handled = true;
diff --git a/engines/tsage/ringworld2/ringworld2_logic.h b/engines/tsage/ringworld2/ringworld2_logic.h
index 2d7a81cd2f..535072f0b5 100644
--- a/engines/tsage/ringworld2/ringworld2_logic.h
+++ b/engines/tsage/ringworld2/ringworld2_logic.h
@@ -253,11 +253,7 @@ public:
class SceneActor: public SceneObject {
public:
- int _resNum;
- int _lookLineNum, _talkLineNum, _useLineNum;
-
virtual Common::String getClassName() { return "SceneActor"; }
- virtual void synchronize(Serializer &s);
virtual void postInit(SceneObjectList *OwnerList = NULL);
virtual bool startAction(CursorType action, Event &event);
};