From 649e275ca622b0e6b84181cb23dfc714270346d3 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Wed, 1 Sep 2010 13:28:12 +0000 Subject: MOHAWK: Implement xbookclick It is now possible to trap Gehn in the trap book. Side note: Riven is now completable from the beginning provided you know the D'ni number system already (and the marble puzzle is just hacked to always work). svn-id: r52482 --- engines/mohawk/video.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'engines/mohawk/video.cpp') diff --git a/engines/mohawk/video.cpp b/engines/mohawk/video.cpp index 17456b8ec3..a266ebf518 100644 --- a/engines/mohawk/video.cpp +++ b/engines/mohawk/video.cpp @@ -412,4 +412,14 @@ uint32 VideoManager::getFrameCount(const VideoHandle &handle) { return _videoStreams[handle]->getFrameCount(); } +uint32 VideoManager::getElapsedTime(const VideoHandle &handle) { + assert(handle != NULL_VID_HANDLE); + return _videoStreams[handle]->getElapsedTime(); +} + +bool VideoManager::endOfVideo(const VideoHandle &handle) { + assert(handle != NULL_VID_HANDLE); + return _videoStreams[handle]->endOfVideo(); +} + } // End of namespace Mohawk -- cgit v1.2.3