mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 03:59:36 +00:00
Adjusted Mac Plus graphic censor, just cover up the brand line for now.
This commit is contained in:
@@ -400,23 +400,10 @@ void HandleMacPlus (short who)
|
|||||||
if (!IsMacPlusSoundBanned())
|
if (!IsMacPlusSoundBanned())
|
||||||
PlayPrioritySound(kMacBeepSound, kMacBeepPriority);
|
PlayPrioritySound(kMacBeepSound, kMacBeepPriority);
|
||||||
|
|
||||||
if (IsMacPlusGraphicBanned())
|
|
||||||
{
|
|
||||||
CGraf *oldPort = GetGraphicsPort();
|
|
||||||
SetGraphicsPort(backSrcMap);
|
|
||||||
|
|
||||||
ForeColor(whiteColor);
|
|
||||||
PaintRect(&dinahs[who].dest);
|
|
||||||
|
|
||||||
SetGraphicsPort(oldPort);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
CopyBits((BitMap *)*GetGWorldPixMap(applianceSrcMap),
|
CopyBits((BitMap *)*GetGWorldPixMap(applianceSrcMap),
|
||||||
(BitMap *)*GetGWorldPixMap(backSrcMap),
|
(BitMap *)*GetGWorldPixMap(backSrcMap),
|
||||||
&plusScreen2, &dinahs[who].dest,
|
&plusScreen2, &dinahs[who].dest,
|
||||||
srcCopy, nil);
|
srcCopy, nil);
|
||||||
}
|
|
||||||
|
|
||||||
AddRectToBackRects(&dinahs[who].dest);
|
AddRectToBackRects(&dinahs[who].dest);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -602,18 +602,6 @@ void DrawMacPlus (Rect *theRect, Boolean isOn, Boolean isLit)
|
|||||||
{
|
{
|
||||||
Rect screen;
|
Rect screen;
|
||||||
|
|
||||||
if (IsMacPlusGraphicBanned())
|
|
||||||
{
|
|
||||||
CGraf *wasGraph = GetGraphicsPort();
|
|
||||||
SetGraphicsPort(backSrcMap);
|
|
||||||
|
|
||||||
ForeColor(blackColor);
|
|
||||||
PaintRect(theRect);
|
|
||||||
|
|
||||||
SetGraphicsPort(wasGraph);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isLit)
|
if (isLit)
|
||||||
{
|
{
|
||||||
CopyMask((BitMap *)*GetGWorldPixMap(applianceSrcMap),
|
CopyMask((BitMap *)*GetGWorldPixMap(applianceSrcMap),
|
||||||
@@ -637,6 +625,30 @@ void DrawMacPlus (Rect *theRect, Boolean isOn, Boolean isLit)
|
|||||||
(BitMap *)*GetGWorldPixMap(backSrcMap),
|
(BitMap *)*GetGWorldPixMap(backSrcMap),
|
||||||
&plusScreen1, &screen, srcCopy, nil);
|
&plusScreen1, &screen, srcCopy, nil);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (IsMacPlusGraphicBanned())
|
||||||
|
{
|
||||||
|
CGraf *oldPort = GetGraphicsPort();
|
||||||
|
SetGraphicsPort(backSrcMap);
|
||||||
|
|
||||||
|
RGBColor beigeColor;
|
||||||
|
beigeColor.red = 255 * 0x0101;
|
||||||
|
beigeColor.green = 255 * 0x0101;
|
||||||
|
beigeColor.blue = 204 * 0x0101;
|
||||||
|
|
||||||
|
RGBForeColor(&beigeColor);
|
||||||
|
|
||||||
|
Rect paintOverRect = *theRect;
|
||||||
|
paintOverRect.left += 8;
|
||||||
|
paintOverRect.top += 35;
|
||||||
|
paintOverRect.right = paintOverRect.left + 17;
|
||||||
|
paintOverRect.bottom = paintOverRect.top + 6;
|
||||||
|
|
||||||
|
PaintRect(&paintOverRect);
|
||||||
|
|
||||||
|
SetGraphicsPort(oldPort);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//-------------------------------------------------------------- DrawTV
|
//-------------------------------------------------------------- DrawTV
|
||||||
|
|||||||
Reference in New Issue
Block a user