aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorColin Snover2016-07-25 11:07:42 -0500
committerColin Snover2016-07-27 08:49:44 -0500
commit49eed5dd2439c93dcace3f2daf05a0d164e0792f (patch)
tree8a3c413b7ca94c675c98560cb0e32549be207b62 /engines/sci
parent20106fff7b41d8f93270c8b5377a886fcfb854ec (diff)
downloadscummvm-rg350-49eed5dd2439c93dcace3f2daf05a0d164e0792f.tar.gz
scummvm-rg350-49eed5dd2439c93dcace3f2daf05a0d164e0792f.tar.bz2
scummvm-rg350-49eed5dd2439c93dcace3f2daf05a0d164e0792f.zip
SCI32: Use extern instead of #include frameout.h for splitRects
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/plane32.cpp2
1 files changed, 2 insertions, 0 deletions
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();