upload "kind" alien swarm

This commit is contained in:
nillerusr
2023-10-03 17:23:56 +03:00
parent b7bd94c52e
commit 7d3c0d8b5a
4229 changed files with 462900 additions and 495155 deletions
+5 -16
View File
@@ -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)
//-----------------------------------------------------------------------------