当前位置: 首页>>代码示例>>C++>>正文


C++ GetClientVoiceMgr函数代码示例

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


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

示例1: HUD_CreateEntities

/*
=========================
HUD_CreateEntities
	
Gives us a chance to add additional entities to the render this frame
=========================
*/
void EXPORT HUD_CreateEntities( void )
{
	// e.g., create a persistent cl_entity_t somewhere.
	// Load an appropriate model into it ( gEngfuncs.CL_LoadModel )
	// Call gEngfuncs.CL_CreateVisibleEntity to add it to the visedicts list
/*
#if defined( TEST_IT )
	MoveModel();
#endif

#if defined( TRACE_TEST )
	TraceModel();
#endif
*/
/*
	Particles();
*/
/*
	TempEnts();
*/
	// Add in any game specific objects
	Game_AddObjects();

	GetClientVoiceMgr()->CreateEntities();
}
开发者ID:6779660,项目名称:halflife,代码行数:32,代码来源:entity.cpp

示例2: HUD_Frame

void EXPORT HUD_Frame( double time )
{
    IN_Commands();

    ServersThink( time );

    GetClientVoiceMgr()->Frame(time);
}
开发者ID:ChunHungLiu,项目名称:halflife,代码行数:8,代码来源:cdll_int.cpp

示例3: HUD_Frame

void CL_DLLEXPORT HUD_Frame( double time )
{
	gEngfuncs.VGui_ViewportPaintBackground(HUD_GetRect());

	ServersThink( time );

	GetClientVoiceMgr()->Frame(time);
}
开发者ID:Hammermaps-DEV,项目名称:SOHL-V1.0-Refresh,代码行数:8,代码来源:cdll_int.cpp

示例4: HUD_Frame

void DLLEXPORT HUD_Frame( double time )
{
	ServersThink( time );

#ifndef NO_VGUI
	GetClientVoiceMgr()->Frame(time);
#endif
}
开发者ID:HoLyCoWzOrZ,项目名称:sing-engine,代码行数:8,代码来源:cdll_int.cpp

示例5: HUD_Frame

void CL_DLLEXPORT HUD_Frame( double time )
{
//	RecClHudFrame(time);

	ServersThink( time );

	GetClientVoiceMgr()->Frame(time);
}
开发者ID:Chuvi-w,项目名称:CSSDK,代码行数:8,代码来源:cdll_int.cpp

示例6: GetClientVoiceMgr

bool ScorePanel::SetSquelchMode(bool inMode)
{
	bool theSuccess = false;

	if(inMode && !GetClientVoiceMgr()->IsInSquelchMode())
	{
		GetClientVoiceMgr()->StartSquelchMode();
		m_HitTestPanel.setVisible(false);
		theSuccess = true;
	}
	else if(!inMode && GetClientVoiceMgr()->IsInSquelchMode())
	{
		GetClientVoiceMgr()->StopSquelchMode();
		theSuccess = true;
	}

	return theSuccess;
}
开发者ID:Arkshine,项目名称:NS,代码行数:18,代码来源:vgui_ScorePanel.cpp

示例7: IN_ScoreUp

void IN_ScoreUp(void)
{
    KeyUp(&in_score);
    if ( gViewPortInterface )
    {
        gViewPortInterface->ShowPanel( PANEL_SCOREBOARD, false );
        GetClientVoiceMgr()->StopSquelchMode();
    }
}
开发者ID:xsopher,项目名称:VinHax,代码行数:9,代码来源:in_main.cpp

示例8: IN_ScoreUp

void IN_ScoreUp( const CCommand &args )
{
	KeyUp( &in_score, args[1] );
	if ( gViewPortInterface )
	{
		gViewPortInterface->ShowPanel( PANEL_SCOREBOARD, false );
		GetClientVoiceMgr()->StopSquelchMode();
	}
}
开发者ID:jimbomcb,项目名称:BirdPoop-Src,代码行数:9,代码来源:in_main.cpp

示例9: HUD_CreateEntities

/*
=========================
HUD_CreateEntities
	
Gives us a chance to add additional entities to the render this frame
=========================
*/
void DLLEXPORT HUD_CreateEntities( void )
{
	// e.g., create a persistent cl_entity_t somewhere.
	// Load an appropriate model into it ( gEngfuncs.CL_LoadModel )
	// Call gEngfuncs.CL_CreateVisibleEntity to add it to the visedicts list

	// Add in any game specific objects
	Game_AddObjects();

	GetClientVoiceMgr()->CreateEntities();
}
开发者ID:NoFreeWill,项目名称:MultiplayerSource,代码行数:18,代码来源:entity.cpp

示例10: GetClientModeNormal

void CTFModeManager::Init()
{
	g_pClientMode = GetClientModeNormal();
	
	PanelMetaClassMgr()->LoadMetaClassDefinitionFile( SCREEN_FILE );

	// Load the objects.txt file.
	LoadObjectInfos( ::filesystem );

	GetClientVoiceMgr()->SetHeadLabelOffset( 40 );
}
开发者ID:Axitonium,项目名称:SourceEngine2007,代码行数:11,代码来源:clientmode_tf.cpp

示例11: ACTIVE_SPLITSCREEN_PLAYER_GUARD

void CSDKModeManager::Init()
{
    for( int i = 0; i < MAX_SPLITSCREEN_PLAYERS; ++i )
    {
        ACTIVE_SPLITSCREEN_PLAYER_GUARD( i );
        g_pClientMode[ i ] = GetClientModeNormal();
    }

    PanelMetaClassMgr()->LoadMetaClassDefinitionFile( SCREEN_FILE );

    GetClientVoiceMgr()->SetHeadLabelOffset( 40 );
}
开发者ID:gamenew09,项目名称:SourceSDK2010,代码行数:12,代码来源:clientmode_sdk.cpp

示例12: ShouldDraw

bool CHudVoiceSelfStatus::ShouldDraw()
{
	C_BasePlayer *player = C_BasePlayer::GetLocalPlayer();

	if ( !player )
		return false;

	if ( GetClientVoiceMgr()->IsLocalPlayerSpeaking( player->GetSplitScreenPlayerSlot() ) == false )
		return false;

	return CHudElement::ShouldDraw();	
}
开发者ID:Au-heppa,项目名称:swarm-sdk,代码行数:12,代码来源:hud_voicestatus.cpp

示例13: HUD_CreateEntities

/*
=========================
HUD_CreateEntities
	
Gives us a chance to add additional entities to the render this frame
=========================
*/
void DLLEXPORT HUD_CreateEntities( void )
{
#if defined( BEAM_TEST )
	Beams();
#endif

	Bench_AddObjects();

	// Add in any game specific objects
	Game_AddObjects();

	GetClientVoiceMgr()->CreateEntities();
}
开发者ID:oskarlh,项目名称:HLEnhanced,代码行数:20,代码来源:entity.cpp

示例14: GetClientVoiceMgr

//-----------------------------------------------------------------------------
// Purpose: Called when shared data gets changed, allows dll to modify data
// Input  : bActive - 
//-----------------------------------------------------------------------------
void CHLClient::HudUpdate( bool bActive )
{
	float frametime = gpGlobals->frametime;

	GetClientVoiceMgr()->Frame( frametime );

	gHUD.UpdateHud( bActive );

	IGameSystem::UpdateAllSystems( frametime );

	// I don't think this is necessary any longer, but I will leave it until
	// I can check into this further.
	C_BaseTempEntity::CheckDynamicTempEnts();
}
开发者ID:RaisingTheDerp,项目名称:raisingthebar,代码行数:18,代码来源:cdll_client_int.cpp

示例15: cursorMoved

void ScorePanel::cursorMoved(int x, int y, Panel *panel)
{
	if (GetClientVoiceMgr()->IsInSquelchMode())
	{
		// look for which cell the mouse is currently over
		for (int i = 0; i < NUM_ROWS; i++)
		{
			int row, col;
			if (m_PlayerGrids[i].getCellAtPoint(x, y, row, col))
			{
				MouseOverCell(i, col);
				return;
			}
		}
	}
}
开发者ID:Arkshine,项目名称:NS,代码行数:16,代码来源:vgui_ScorePanel.cpp


注:本文中的GetClientVoiceMgr函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。