add hl1,portal,dod source code

This commit is contained in:
nillerusr
2022-04-16 12:05:19 +03:00
parent bc6873014e
commit 23a370d9bb
524 changed files with 174173 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: DOD's custom CPlayerResource
//
// $NoKeywords: $
//=============================================================================//
#ifndef DOD_PLAYER_RESOURCE_H
#define DOD_PLAYER_RESOURCE_H
#ifdef _WIN32
#pragma once
#endif
class CDODPlayerResource : public CPlayerResource
{
DECLARE_CLASS( CDODPlayerResource, CPlayerResource );
public:
DECLARE_SERVERCLASS();
DECLARE_DATADESC();
CDODPlayerResource();
virtual void UpdatePlayerData( void );
virtual void Spawn( void );
protected:
CNetworkArray( int, m_iObjScore, MAX_PLAYERS+1 );
CNetworkArray( int, m_iPlayerClass, MAX_PLAYERS+1 );
};
#endif // DOD_PLAYER_RESOURCE_H