From 49eed5dd2439c93dcace3f2daf05a0d164e0792f Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Mon, 25 Jul 2016 11:07:42 -0500 Subject: SCI32: Use extern instead of #include frameout.h for splitRects --- engines/sci/graphics/plane32.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/sci/graphics/plane32.cpp') diff --git a/engines/sci/graphics/plane32.cpp b/engines/sci/graphics/plane32.cpp index aa629e4081..6b05b2d98a 100644 --- a/engines/sci/graphics/plane32.cpp +++ b/engines/sci/graphics/plane32.cpp @@ -247,6 +247,8 @@ void Plane::deleteAllPics() { #pragma mark - #pragma mark Plane - Rendering +extern int splitRects(Common::Rect r, const Common::Rect &other, Common::Rect(&outRects)[4]); + void Plane::breakDrawListByPlanes(DrawList &drawList, const PlaneList &planeList) const { const int nextPlaneIndex = planeList.findIndexByObject(_object) + 1; const PlaneList::size_type planeCount = planeList.size(); -- cgit v1.2.3