aboutsummaryrefslogtreecommitdiff
path: root/scumm/base-costume.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/base-costume.cpp')
-rw-r--r--scumm/base-costume.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/scumm/base-costume.cpp b/scumm/base-costume.cpp
index 2cde36b58d..0216a4ff41 100644
--- a/scumm/base-costume.cpp
+++ b/scumm/base-costume.cpp
@@ -61,3 +61,23 @@ void BaseCostumeRenderer::codec1_ignorePakCols(int num) {
} while (1);
}
+// FIXME: Call this something sensible, make sure it works
+void BaseCostumeRenderer::V1_ignorePakCols(int num) {
+ int n = _height;
+ warning("Attempting V1 column skip. We don't even make it here, yet.");
+ if (num > 1)
+ n *= num;
+
+ do {
+ v1.repcolor = *_srcptr >> 4;
+ v1.replen = *_srcptr++ & 0x0F;
+
+ if (v1.replen == 0)
+ v1.replen = *_srcptr++;
+
+ do {
+ if (!--n) return;
+ } while (--v1.replen);
+ } while (1);
+}
+