Beispiel #1
0
/*
=====================
	NXC_Update
=====================
*/
BOOL NXC_Update( program_t *program ) {
	if( program ) {
		I_Update( program );
	}
	
	return TRUE;
}
Beispiel #2
0
void P_Drawer(void) 
{
   static boolean refreshdrawn;

   if(players[consoleplayer].automapflags & AF_OPTIONSACTIVE)
   {
      O_Drawer();
      refreshdrawn = false;
   }
   else if(players[consoleplayer].automapflags & AF_ACTIVE)
   {
      ST_Drawer();
      AM_Drawer();
      I_Update();
      refreshdrawn = true;
   }
   else
   {
      if(gamepaused && refreshdrawn)     // CALICO: do this here
         DrawPlaque(pausepic, "paused");
      ST_Drawer();
      R_RenderPlayerView();
      refreshdrawn = true;
      // assume part of the refresh is now running parallel with main code
   }
}