diff options
author | Colin Snover | 2016-07-25 11:07:42 -0500 |
---|---|---|
committer | Colin Snover | 2016-07-27 08:49:44 -0500 |
commit | 49eed5dd2439c93dcace3f2daf05a0d164e0792f (patch) | |
tree | 8a3c413b7ca94c675c98560cb0e32549be207b62 | |
parent | 20106fff7b41d8f93270c8b5377a886fcfb854ec (diff) | |
download | scummvm-rg350-49eed5dd2439c93dcace3f2daf05a0d164e0792f.tar.gz scummvm-rg350-49eed5dd2439c93dcace3f2daf05a0d164e0792f.tar.bz2 scummvm-rg350-49eed5dd2439c93dcace3f2daf05a0d164e0792f.zip |
SCI32: Use extern instead of #include frameout.h for splitRects
-rw-r--r-- | engines/sci/graphics/plane32.cpp | 2 |
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(); |