File system refactoring

This commit is contained in:
elasota
2019-12-29 06:38:18 -05:00
parent b24505164d
commit 430842d17b
74 changed files with 874 additions and 1240 deletions

View File

@@ -74,14 +74,14 @@ Boolean isToolsOpen;
void CreateToolsOffscreen (void)
{
CGrafPtr wasCPort;
OSErr theErr;
PLError_t theErr;
if (toolSrcMap == nil)
{
wasCPort = GetGraphicsPort();
QSetRect(&toolSrcRect, 0, 0, 360, 216);
theErr = CreateOffScreenGWorld(&toolSrcMap, &toolSrcRect, kPreferredDepth);
theErr = CreateOffScreenGWorld(&toolSrcMap, &toolSrcRect, kPreferredPixelFormat);
SetGraphicsPort(toolSrcMap);
LoadGraphic(kToolsPictID);