SCI32: Use extern instead of #include frameout.h for splitRects

This commit is contained in:
Colin Snover 2016-07-25 11:07:42 -05:00
parent 20106fff7b
commit 49eed5dd24

View File

@ -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();