More work. Audio driver works enough to play music now.

This commit is contained in:
elasota
2019-12-11 00:51:42 -05:00
parent b1e8e11a56
commit e368cf7235
141 changed files with 8996 additions and 1117 deletions

View File

@@ -23,9 +23,9 @@ extern RgnHandle mirrorRgn;
extern WindowPtr mapWindow, toolsWindow, linkWindow;
extern WindowPtr menuWindow;
extern Rect shieldRect, boardSrcRect, localRoomsDest[];
extern CursHandle handCursorH, beamCursorH, vertCursorH, horiCursorH;
extern CursHandle handCursorH, vertCursorH, horiCursorH;
extern CursHandle diagCursorH;
extern Cursor handCursor, beamCursor, vertCursor, horiCursor;
extern Cursor handCursor, vertCursor, horiCursor;
extern Cursor diagCursor;
extern MenuHandle appleMenu, gameMenu, optionsMenu, houseMenu;
extern Point shieldPt;
@@ -85,12 +85,6 @@ void GetExtraCursors (void)
HLock((Handle)handCursorH);
handCursor = **handCursorH;
beamCursorH = GetCursor(iBeamCursor);
if (beamCursorH == nil)
RedAlert(kErrFailedResourceLoad);
HLock((Handle)beamCursorH);
beamCursor = **beamCursorH;
vertCursorH = GetCursor(kVertCursorID);
if (vertCursorH == nil)
RedAlert(kErrFailedResourceLoad);