mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-31 22:49:19 +00:00
upload "kind" alien swarm
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
@@ -60,8 +60,10 @@ public:
|
||||
bool IgnorePredictionCull( void ) const;
|
||||
void SetIgnorePredictionCull( bool ignore );
|
||||
|
||||
void AddPlayersFromBitMask( CBitVec< ABSOLUTE_PLAYER_LIMIT >& playerbits );
|
||||
void RemovePlayersFromBitMask( CBitVec< ABSOLUTE_PLAYER_LIMIT >& playerbits );
|
||||
void AddPlayersFromBitMask( CPlayerBitVec& playerbits );
|
||||
void RemovePlayersFromBitMask( CPlayerBitVec& playerbits );
|
||||
|
||||
void RemoveSplitScreenPlayers();
|
||||
|
||||
private:
|
||||
|
||||
@@ -121,19 +123,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Simple class to create a filter for all players except for one ( unreliable )
|
||||
//-----------------------------------------------------------------------------
|
||||
class CBroadcastNonOwnerRecipientFilter : public CRecipientFilter
|
||||
{
|
||||
public:
|
||||
CBroadcastNonOwnerRecipientFilter( CBasePlayer *player )
|
||||
{
|
||||
AddAllPlayers();
|
||||
RemoveRecipient( player );
|
||||
}
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Add players in PAS to recipient list (unreliable)
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user