aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/scripting
diff options
context:
space:
mode:
authorMarisa-Chan2014-11-12 14:30:13 +0600
committerMarisa-Chan2014-11-12 14:30:13 +0600
commit51a9ec80df468757902cd85a5ab2a32856148d29 (patch)
tree079daf318ca3fd77efe4385e27043e3d84f4ee6b /engines/zvision/scripting
parentd0f2e20b62392dc040a61036237cef37e13e6d19 (diff)
downloadscummvm-rg350-51a9ec80df468757902cd85a5ab2a32856148d29.tar.gz
scummvm-rg350-51a9ec80df468757902cd85a5ab2a32856148d29.tar.bz2
scummvm-rg350-51a9ec80df468757902cd85a5ab2a32856148d29.zip
ZVISION: Implement ZeroPoint for panorama renderer
Diffstat (limited to 'engines/zvision/scripting')
-rw-r--r--engines/zvision/scripting/control.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/zvision/scripting/control.cpp b/engines/zvision/scripting/control.cpp
index ae717d6f8d..4567495725 100644
--- a/engines/zvision/scripting/control.cpp
+++ b/engines/zvision/scripting/control.cpp
@@ -61,7 +61,9 @@ void Control::parsePanoramaControl(ZVision *engine, Common::SeekableReadStream &
renderTable->setPanoramaReverse(true);
}
} else if (line.matchString("zeropoint*", true)) {
- // TODO: Implement
+ uint point;
+ sscanf(line.c_str(), "zeropoint(%u)", &point);
+ renderTable->setPanoramaZeroPoint(point);
}
line = stream.readLine();