mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Fix mirrors, poly draw (WIP), and game over screen. Temp disable high scores.
This commit is contained in:
@@ -66,14 +66,14 @@ void ColorOval (Rect *theRect, long color)
|
||||
// Given a region and color index, this function draws a solid<69>
|
||||
// region in that color. Current port, pen mode, etc. assumed.
|
||||
|
||||
void ColorRegion (RgnHandle theRgn, long color)
|
||||
void ColorRegion (PortabilityLayer::ScanlineMask *scanlineMask, long colorIndex)
|
||||
{
|
||||
RGBColor theRGBColor, wasColor;
|
||||
|
||||
GetForeColor(&wasColor);
|
||||
Index2Color(color, &theRGBColor);
|
||||
Index2Color(colorIndex, &theRGBColor);
|
||||
RGBForeColor(&theRGBColor);
|
||||
PaintRgn(theRgn);
|
||||
FillScanlineMask(scanlineMask);
|
||||
RGBForeColor(&wasColor);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user