mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 20:19:38 +00:00
Remove port state, fix background not darkening in room editor
This commit is contained in:
@@ -63,7 +63,6 @@ void InitScoreboardMap(void)
|
||||
{
|
||||
Rect bounds;
|
||||
THandle<BitmapImage> thePicture;
|
||||
DrawSurface *wasCPort;
|
||||
PLError_t theErr;
|
||||
short hOffset;
|
||||
|
||||
@@ -265,11 +264,8 @@ void InitBlowers (void)
|
||||
|
||||
void InitFurniture (void)
|
||||
{
|
||||
DrawSurface *wasCPort;
|
||||
PLError_t theErr;
|
||||
|
||||
wasCPort = GetGraphicsPort();
|
||||
|
||||
QSetRect(&furnitureSrcRect, 0, 0, 64, 278); // 17856 pixels
|
||||
theErr = CreateOffScreenGWorld(&furnitureSrcMap, &furnitureSrcRect);
|
||||
LoadGraphic(furnitureSrcMap, kFurniturePictID);
|
||||
@@ -300,8 +296,6 @@ void InitFurniture (void)
|
||||
|
||||
QSetRect(&deckSrc, 0, 0, 64, 21);
|
||||
QOffsetRect(&deckSrc, 0, 162);
|
||||
|
||||
SetGraphicsPort(wasCPort);
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------- InitPrizes
|
||||
|
||||
Reference in New Issue
Block a user