From 51a9ec80df468757902cd85a5ab2a32856148d29 Mon Sep 17 00:00:00 2001 From: Marisa-Chan Date: Wed, 12 Nov 2014 14:30:13 +0600 Subject: ZVISION: Implement ZeroPoint for panorama renderer --- engines/zvision/scripting/control.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines/zvision/scripting') 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(); -- cgit v1.2.3