예제 #1
0
파일: nxc.c 프로젝트: dimovich/netrix
/*
=====================
	NXC_Update
=====================
*/
BOOL NXC_Update( program_t *program ) {
	if( program ) {
		I_Update( program );
	}
	
	return TRUE;
}
예제 #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
   }
}