Major draw code refactor

This commit is contained in:
elasota
2019-12-30 20:53:11 -05:00
parent 918578469e
commit 04a955213c
83 changed files with 2451 additions and 2517 deletions

View File

@@ -80,14 +80,15 @@ void DoCommandKey (void)
void DoPause (void)
{
Rect bounds;
SetPort((GrafPtr)mainWindow);
DrawSurface *surface = mainWindow->GetDrawSurface();
QSetRect(&bounds, 0, 0, 214, 54);
CenterRectInRect(&bounds, &houseRect);
if (isEscPauseKey)
LoadScaledGraphic(kEscPausePictID, &bounds);
LoadScaledGraphic(surface, kEscPausePictID, &bounds);
else
LoadScaledGraphic(kTabPausePictID, &bounds);
LoadScaledGraphic(surface, kTabPausePictID, &bounds);
do
{