aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core/game_object.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-05-03 19:42:08 -0400
committerPaul Gilbert2016-07-10 16:38:17 -0400
commit9ca8e2a9285708d03cd64fbfe7f28c97edb145b2 (patch)
tree6d9983366d4891b38ed9e68b87e81fdf7d362eb3 /engines/titanic/core/game_object.cpp
parent77feb9d8c888444a89132113c282ee3c7766f7f1 (diff)
downloadscummvm-rg350-9ca8e2a9285708d03cd64fbfe7f28c97edb145b2.tar.gz
scummvm-rg350-9ca8e2a9285708d03cd64fbfe7f28c97edb145b2.tar.bz2
scummvm-rg350-9ca8e2a9285708d03cd64fbfe7f28c97edb145b2.zip
TITANIC: Implement CMovieClip methods
Diffstat (limited to 'engines/titanic/core/game_object.cpp')
-rw-r--r--engines/titanic/core/game_object.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp
index 6d9f60d306..5e601f97b3 100644
--- a/engines/titanic/core/game_object.cpp
+++ b/engines/titanic/core/game_object.cpp
@@ -730,4 +730,11 @@ void CGameObject::dragMove(const Point &pt) {
setPosition(Point(pt.x - _bounds.width() / 2, pt.y - _bounds.height() / 2));
}
+bool CGameObject::clipExistsByStart(const CString &name, int startFrame) const {
+ return _clipList1.existsByStart(name, startFrame);
+}
+
+bool CGameObject::clipExistsByEnd(const CString &name, int endFrame) const {
+ return _clipList1.existsByEnd(name, endFrame);
+}
} // End of namespace Titanic