aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core/game_object.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-19 18:19:45 -0400
committerPaul Gilbert2016-03-19 18:19:45 -0400
commit4704d72d6af60db97959c3d170a2ea524a0f0f1f (patch)
tree2b56e66d124be79d02743777f96914edf02bba75 /engines/titanic/core/game_object.cpp
parentd86941f8c6b497f2d3d8409c2628af88bc600dae (diff)
downloadscummvm-rg350-4704d72d6af60db97959c3d170a2ea524a0f0f1f.tar.gz
scummvm-rg350-4704d72d6af60db97959c3d170a2ea524a0f0f1f.tar.bz2
scummvm-rg350-4704d72d6af60db97959c3d170a2ea524a0f0f1f.zip
TITANIC: Implementing view item message handling
Diffstat (limited to 'engines/titanic/core/game_object.cpp')
-rw-r--r--engines/titanic/core/game_object.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp
index f5e9806365..884873ec0e 100644
--- a/engines/titanic/core/game_object.cpp
+++ b/engines/titanic/core/game_object.cpp
@@ -39,7 +39,7 @@ CGameObject::CGameObject(): CNamedItem() {
_field58 = 0;
_field5C = 1;
_field60 = 0;
- _field74 = 1;
+ _cursorId = 1;
_field78 = 0;
_field8C = -1;
_field90 = 0;
@@ -70,7 +70,7 @@ void CGameObject::load(SimpleFile *file) {
// Deliberate fall-through
case 6:
- val = _field74 = file->readNumber();
+ val = _cursorId = file->readNumber();
// Deliberate fall-through
case 5:
@@ -122,4 +122,9 @@ void CGameObject::fn2() {
error("TODO");
}
+bool CGameObject::checkPoint(const Common::Point &pt, int v0, int v1) {
+ warning("TODO: CGameObject::checkPoint");
+ return false;
+}
+
} // End of namespace Titanic