您当前的位置:首页 > IT编程 > C++
| C语言 | Java | VB | VC | python | Android | TensorFlow | C++ | oracle | 学术与代码 | cnn卷积神经网络 | gnn | 图像修复 | Keras | 数据集 | Neo4j | 自然语言处理 | 深度学习 | 医学CAD | 医学影像 | 超参数 | pointnet | pytorch | 异常检测 | Transformers | 情感分类 | 知识图谱 |

自学教程:C++ Con_ClearNotify函数代码示例

51自学网 2021-06-01 20:13:00
  C++
这篇教程C++ Con_ClearNotify函数代码示例写得很实用,希望能帮到您。

本文整理汇总了C++中Con_ClearNotify函数的典型用法代码示例。如果您正苦于以下问题:C++ Con_ClearNotify函数的具体用法?C++ Con_ClearNotify怎么用?C++ Con_ClearNotify使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。

在下文中一共展示了Con_ClearNotify函数的27个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: SCR_EndLoadingPlaque

/*===============SCR_EndLoadingPlaque================*/void SCR_EndLoadingPlaque (void){	scr_disabled_for_loading = qfalse;	scr_fullupdate = 0;	Con_ClearNotify ();	CDAudio_Resume();}
开发者ID:drmabuse1981,项目名称:DQuakePlus,代码行数:13,


示例2: SCR_BeginLoadingPlaque

/*===============SCR_BeginLoadingPlaque================*/void SCR_BeginLoadingPlaque (void){	CDAudio_Pause();	S_StopAllSounds (qtrue);	if (cls.state != ca_connected)		return;	if (cls.signon != SIGNONS)		return;	// redraw with no console and the loading plaque	Con_ClearNotify ();	scr_centertime_off = 0;	scr_con_current = 0;	scr_drawloading = qtrue;	scr_fullupdate = 0;	Sbar_Changed ();	SCR_UpdateScreen ();	scr_drawloading = qfalse;	scr_disabled_for_loading = qtrue;	scr_disabled_time = realtime;	scr_fullupdate = 0;}
开发者ID:drmabuse1981,项目名称:DQuakePlus,代码行数:31,


示例3: CL_InitCGame

/*====================CL_InitCGameShould only be called by CL_StartHunkUsers====================*/void CL_InitCGame(void){	const char *info;	const char *mapname;	int        t1, t2;	t1 = Sys_Milliseconds();	// put away the console	Con_Close();	// find the current mapname	info    = cl.gameState.stringData + cl.gameState.stringOffsets[CS_SERVERINFO];	mapname = Info_ValueForKey(info, "mapname");	Com_sprintf(cl.mapname, sizeof(cl.mapname), "maps/%s.bsp", mapname);	// load the dll	cgvm = VM_Create("cgame", CL_CgameSystemCalls, VMI_NATIVE);	if (!cgvm)	{		Com_Error(ERR_DROP, "VM_Create on cgame failed");	}	cls.state = CA_LOADING;	// init for this gamestate	// use the lastExecutedServerCommand instead of the serverCommandSequence	// otherwise server commands sent just before a gamestate are dropped	// bani - added clc.demoplaying, since some mods need this at init time, and drawactiveframe is too late for them	VM_Call(cgvm, CG_INIT, clc.serverMessageSequence, clc.lastExecutedServerCommand, clc.clientNum, clc.demoplaying, qtrue);	// reset any CVAR_CHEAT cvars registered by cgame	if (!clc.demoplaying && !cl_connectedToCheatServer)	{		Cvar_SetCheatState();	}	// we will send a usercmd this frame, which	// will cause the server to send us the first snapshot	cls.state = CA_PRIMED;	t2 = Sys_Milliseconds();	Com_Printf("CL_InitCGame: %5.2f seconds/n", (t2 - t1) / 1000.0);	// have the renderer touch all its images, so they are present	// on the card even if the driver does deferred loading	re.EndRegistration();	// make sure everything is paged in	if (!Sys_LowPhysicalMemory())	{		Com_TouchMemory();	}	// clear anything that got printed	Con_ClearNotify();	// update the memory usage file	CL_UpdateLevelHunkUsage();}
开发者ID:Mailaender,项目名称:etlegacy,代码行数:67,


示例4: CL_InitCGame

/*====================CL_InitCGameShould only be called by CL_StartHunkUsers====================*/void CL_InitCGame( void ) {	const char			*info;	const char			*mapname;	int					t1, t2;	vmInterpret_t		interpret;	t1 = Sys_Milliseconds();	// put away the console	Con_Close();	// find the current mapname	info = cl.gameState.stringData + cl.gameState.stringOffsets[ CS_SERVERINFO ];	mapname = Info_ValueForKey( info, "mapname" );	Com_sprintf( cl.mapname, sizeof( cl.mapname ), "maps/%s.bsp", mapname );	// load the dll or bytecode	if ( cl_connectedToPureServer != 0 ) {		// if sv_pure is set we only allow qvms to be loaded		interpret = VMI_COMPILED;	}	else {		interpret = Cvar_VariableValue( "vm_cgame" );	}	cgvm = VM_Create( "cgame", CL_CgameSystemCalls, interpret );	if ( !cgvm ) {		Com_Error( ERR_DROP, "VM_Create on cgame failed" );	}	cls.state = CA_LOADING;	// init for this gamestate	// use the lastExecutedServerCommand instead of the serverCommandSequence	// otherwise server commands sent just before a gamestate are dropped	VM_Call( cgvm, CG_INIT, clc.serverMessageSequence, clc.lastExecutedServerCommand, clc.clientNum );	// reset any CVAR_CHEAT cvars registered by cgame	if ( !clc.demoplaying && !cl_connectedToCheatServer )		Cvar_SetCheatState();	// we will send a usercmd this frame, which	// will cause the server to send us the first snapshot	cls.state = CA_PRIMED;	t2 = Sys_Milliseconds();	Com_DPrintf( "CL_InitCGame: %5.2f seconds/n", (t2-t1)/1000.0 );	// have the renderer touch all its images, so they are present	// on the card even if the driver does deferred loading	re.EndRegistration();	// make sure everything is paged in	if (!Sys_LowPhysicalMemory()) {		Com_TouchMemory();	}	// clear anything that got printed	Con_ClearNotify ();	CL_WriteClientLog( va("`~=-----------------=~`/n MAP: %s /n`~=-----------------=~`/n", mapname ) );}
开发者ID:ksritharan,项目名称:fsm-trem,代码行数:67,


示例5: SCR_BeginLoadingPlaque

/*===============SCR_BeginLoadingPlaque================*/void SCR_BeginLoadingPlaque (void){	S_StopAllSounds (true);	CDAudio_Stop (); // Stop the CD music	if (cls.state != ca_connected)		return;	if (cls.signon != SIGNONS)		return;	// redraw with no console and the loading plaque	Con_ClearNotify ();	// remove all center prints	con_lastcenterstring[0] = 0;	scr_centerstring[0] = 0;	scr_centertime_off = 0;	scr_con_current = 0;	scr_drawloading = true;	Sbar_Changed ();	SCR_UpdateScreen ();	scr_drawloading = false;	scr_disabled_for_loading = true;	scr_disabled_time = realtime;	SCR_SetTimeout (SCR_DEFTIMEOUT);}
开发者ID:twinaphex,项目名称:fxquake,代码行数:34,


示例6: SCR_EndLoadingPlaque

/*===============SCR_EndLoadingPlaque================*/void SCR_EndLoadingPlaque (void){	scr_disabled_for_loading = false;	scr_fullupdate = 0;	scr_topupdate = 0;	Con_ClearNotify ();}
开发者ID:elhobbs,项目名称:hexen2,代码行数:13,


示例7: SCR_EndLoadingPlaque

/*================SCR_EndLoadingPlaque================*/void SCR_EndLoadingPlaque (qboolean clear){	cls.disable_screen = 0;	// mattx86: a work-around for notify lines + console + not breaking this function	if (clear)		Con_ClearNotify ();}
开发者ID:mattx86,项目名称:myq2,代码行数:13,


示例8: Con_Close

/** Con_Close*/void Con_Close( void ){    scr_con_current = 0;    Con_ClearTyping();    Con_ClearNotify();    Key_ClearStates();}
开发者ID:Turupawn,项目名称:DogeWarsow,代码行数:11,


示例9: Client_PrepRefresh

/*----------------------------------------------------------------------------- Function:   Parameters:  Returns:  Notes: -----------------------------------------------------------------------------*/PUBLIC void Client_PrepRefresh( const char *r_mapname ){	char mapname[ 32 ];	if( ! r_mapname || ! *r_mapname )	{		return;	}	if( g_version->value == SPEAROFDESTINY )	{		spritelocation = SODSPRITESDIRNAME;	}	else	{		spritelocation = WL6SPRITESDIRNAME;	}	my_strlcpy( mapname, r_mapname, sizeof( mapname ) );	// skip "maps/"	// [email
C++ Con_Close函数代码示例
C++ ComputeCut函数代码示例
万事OK自学网:51自学网_软件自学网_CAD自学网自学excel、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。