while (z--) if swin (z) SetAPen (zreep (z), (long) thisCol);
if izCtrl (mrQ) SchRep ((int) thatCol);
} /* end of new_color */
void
clozeWB ()
{
if (CloseWorkBench ()) Mess ("WorkBench Blown Away!");
else Mess ("No Effect!!!");
}
void
quit ( why ) char *why; /* give up - toss in the towel, on top of all the chips we've grabbed, scribbled upon, and now are casting aside like the chaff of our labors, back into the pool from whence the screens of the tasks of the Amiga lie. It just makes one want to stare at that space-amoeba the Enterprise once encountered for a few billenia. */ /* lagunas mentalis, no? */
{
ifn (strcmp (why, "bye!")) { int hot;
loop (hot = 15; hot >= 0; --hot) fade (hot); }
ScreenToBack (scr); /* polished to the last */
OurTask->pr_WindowPtr = old_pr_WindowPtr;
/* if ( gargc ) puts ( why );
*/ if ( myBitOfChip ) FreeMem ( myBitOfChip, PICKSIZE );
if ( ni_htofChip ) FreeMem ( ni_htofChip, ni_htofSIZE );
if ( ni_unhtofChip ) FreeMem ( ni_unhtofChip, ni_unhtofSIZE );
if ( ni_htonChip ) FreeMem ( ni_htonChip, ni_htonSIZE );
if ( ni_unhtonChip ) FreeMem ( ni_unhtonChip, ni_unhtonSIZE );
if ( new____Chip ) FreeMem ( new____Chip, new____SIZE );
if ( ni_pickChip ) FreeMem ( ni_pickChip, ni_pickSIZE );
if ( ni_saveChip ) FreeMem ( ni_saveChip, ni_saveSIZE );
if ( ni_loadChip ) FreeMem ( ni_loadChip, ni_loadSIZE );
if ( ni_allQChip ) FreeMem ( ni_allQChip, ni_allQSIZE );
if ( ni_oneQChip ) FreeMem ( ni_oneQChip, ni_oneQSIZE );
if (ni_clon1Chip ) FreeMem (ni_clon1Chip,ni_clon1SIZE );
if ( ni_incChip) FreeMem ( ni_incChip, ni_incSIZE);
if ( ni_fillChip) FreeMem ( ni_fillChip, ni_fillSIZE);
if ( fillerChip) FreeMem ( fillerChip, FILLSIZE);
if ( ni_nocmChip) FreeMem ( ni_nocmChip, ni_nocmSIZE);
if ( ni_cmChip) FreeMem ( ni_cmChip, ni_cmSIZE);
if ( ni_hexChip) FreeMem ( ni_hexChip, ni_decSIZE);
if ( ni_decChip) FreeMem ( ni_decChip, ni_decSIZE);
zapAllWindows ();
closeSeqWin ();
clozeClipWin ();
if ( win ) CloseWindow ( win );
OpenWorkBench ();
if ( scr ) CloseScreen ( scr );
if ( GfxBase ) CloseLibrary ( GfxBase );
if (IntuitionBase) CloseLibrary ( IntuitionBase );
exit ( strcmp (why, "bye!") != 0 );
} /* "It's like," Radar peered into Henry's ear, "A little nativity scene" */