mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-22 22:45:39 +00:00
Fix house data corruption, progress to first screen
This commit is contained in:
@@ -72,13 +72,13 @@ void DrawBanner (Point *topLeft)
|
||||
theErr = CreateOffScreenGWorld(&tempMask, &mapBounds, 1);
|
||||
SetGWorld(tempMask, nil);
|
||||
LoadGraphic(kBannerPageBottomMask);
|
||||
|
||||
|
||||
CopyMask((BitMap *)*GetGWorldPixMap(tempMap),
|
||||
(BitMap *)*GetGWorldPixMap(tempMask),
|
||||
(BitMap *)*GetGWorldPixMap(workSrcMap),
|
||||
&mapBounds, &mapBounds, &partPage);
|
||||
SetPort((GrafPtr)workSrcMap);
|
||||
|
||||
|
||||
SetGWorld(wasCPort, wasWorld);
|
||||
DisposeGWorld(tempMap);
|
||||
DisposeGWorld(tempMask);
|
||||
@@ -176,6 +176,9 @@ void BringUpBanner (void)
|
||||
|
||||
DrawBanner(&topLeft);
|
||||
DrawBannerMessage(topLeft);
|
||||
|
||||
DumpScreenOn(&justRoomsRect);
|
||||
|
||||
// if (quickerTransitions)
|
||||
// DissBitsChunky(&justRoomsRect); // was workSrcRect
|
||||
// else
|
||||
@@ -186,6 +189,7 @@ void BringUpBanner (void)
|
||||
CopyBits((BitMap *)*GetGWorldPixMap(backSrcMap),
|
||||
(BitMap *)*GetGWorldPixMap(workSrcMap),
|
||||
&wholePage, &wholePage, srcCopy, nil);
|
||||
|
||||
|
||||
if (demoGoing)
|
||||
WaitForInputEvent(4);
|
||||
|
Reference in New Issue
Block a user