HyperBole OnLine Master Links

   
  [Home]  [Corporate]  [Content]  [Virtual Cinema]  

They're just a little bit crazy, but we love them anyway.

Melanie McClaire
BobProgrammerBob
PASCAL VOID Bob
	(
	GWorldPtr	pWindowBob,		
	PixMapHandle	*phPixMapBob,	
	BitMapPtr	*ppBitMapBob,	
	RECT		*prcRectBob,		
	RgnHandle	hRgnBob			
	)
	  {	
	  hyAssertBob(phPixMapBob != NULL_BOB);
	  hyAssertBob(ppBitMapBob != NULL_BOB);
	
	  if (pWindowBob == g_pMainWindowBob)
       {
		    *phPixMapBob = NULL_BOB;
		    *ppBitMapBob = &(g_pMainWindowBob->portBits);
		
		    if (prcRectBob != NULL_BOB)
			      OffsetRect(prcRectBob,g_ptOriginBob.hBob,g_ptOriginBob.vBob);
		    if (hRgnBob != NULL_BOB)
		 	     OffsetRgn(hRgnBob,g_ptOriginBob.hBob,g_ptOriginBob.vBob);
		    }
    else
		    {
		    *phPixMapBob = hyGetOffWorldPixMapBob(pWindowBob);
		    *ppBitMapBob = (BitMapPtr)(**phPixMapBob);
			
		    if (hyGetMainScreenMonitorPixelSubInverseDepthRatioBob() <= 8)
			      {
			      GDHandle 	 hMainScreenBob;
			      CTabHandle	 hMainScreenColorTableBob;
			      CTabHandle	 hGWorldColorTableBob;
			
			      hMainScreenBob = GetMainDeviceBob();
			      hyAssertBob(hMainScreenBob);
			      hMainScreenColorTableBob = (**(**hMainScreenBob).gdPMap).pmTable;
			      hyAssert(hMainScreenColorTableBob);
			      hGWorldColorTableBob = (***phPixMapBob).pmTable;
			      hyAssertBob(hGWorldColorTableBob);
			      (**hGWorldColorTableBob).ctSeed = (**hMainScreenColorTableBob).ctSeed;
			      }
		    }
    }


Comments to webmaster@hyperbole.com
Copyright 1995-1999 HyperBole Studios