Cleanup, add scanline mask builder

This commit is contained in:
elasota
2019-12-26 12:58:58 -05:00
parent b10dda4a54
commit c4e93b0ccf
61 changed files with 823 additions and 494 deletions

View File

@@ -83,25 +83,21 @@ void GetExtraCursors (void)
handCursorH = GetCursor(kHandCursorID);
if (handCursorH == nil)
RedAlert(kErrFailedResourceLoad);
HLock((Handle)handCursorH);
handCursor = **handCursorH;
vertCursorH = GetCursor(kVertCursorID);
if (vertCursorH == nil)
RedAlert(kErrFailedResourceLoad);
HLock((Handle)vertCursorH);
vertCursor = **vertCursorH;
horiCursorH = GetCursor(kHoriCursorID);
if (horiCursorH == nil)
RedAlert(kErrFailedResourceLoad);
HLock((Handle)horiCursorH);
horiCursor = **horiCursorH;
diagCursorH = GetCursor(kDiagCursorID);
if (diagCursorH == nil)
RedAlert(kErrFailedResourceLoad);
HLock((Handle)diagCursorH);
diagCursor = **diagCursorH;
}