aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/vol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge/vol.cpp')
-rw-r--r--engines/cge/vol.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/engines/cge/vol.cpp b/engines/cge/vol.cpp
index 2988f9ab11..04a9189682 100644
--- a/engines/cge/vol.cpp
+++ b/engines/cge/vol.cpp
@@ -105,4 +105,18 @@ void VFile::readBuff() {
_ptr = 0;
}
+long VFile::mark() {
+ return (_bufMark + _ptr) - _begMark;
+}
+
+long VFile::size() {
+ return _endMark - _begMark;
+}
+
+long VFile::seek(long pos) {
+ _recent = NULL;
+ _lim = 0;
+ return (_bufMark = _begMark + pos);
+}
+
} // End of namespace CGE