예제 #1
0
파일: cl_ui.c 프로젝트: Kaperstone/warsow
/*
* CL_UIModule_Refresh
*/
void CL_UIModule_Refresh( qboolean backGround, qboolean showCursor )
{
	if( uie )
		uie->Refresh( cls.realtime, Com_ClientState(), Com_ServerState(), cls.demo.paused, Q_rint(cls.demo.time/1000.0f), backGround, showCursor );
}
예제 #2
0
파일: cvar.c 프로젝트: codetwister/qfusion
static qboolean Cvar_CheatsAllowed()
{
	return ( Com_ClientState() < CA_CONNECTED ) ||          // not connected
		Com_DemoPlaying() ||                             // playing demo
		( Com_ServerState() && Cvar_Value( "sv_cheats" ) ); // local server, sv_cheats
}
예제 #3
0
파일: cl_ui.c 프로젝트: Racenet/racesow
/*
* CL_UIModule_Refresh
*/
void CL_UIModule_Refresh( qboolean backGround )
{
	if( uie )
		uie->Refresh( cls.realtime, Com_ClientState(), Com_ServerState(), cls.demo.playing, backGround );
}