mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-14 20:56:56 +00:00
add hl1,portal,dod source code
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user