當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。