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,38 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
//=============================================================================
|
||||
|
||||
#ifndef DOD_LOCATION_H
|
||||
#define DOD_LOCATION_H
|
||||
#ifdef _WIN32
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include "baseentity.h"
|
||||
|
||||
//a location on the map that players can refernce in their say messages
|
||||
//with the %l escape sequence
|
||||
class CDODLocation : public CBaseEntity
|
||||
{
|
||||
public:
|
||||
DECLARE_CLASS( CDODLocation, CBaseEntity );
|
||||
CDODLocation()
|
||||
{
|
||||
m_szLocationName[0] = '\0';
|
||||
}
|
||||
|
||||
virtual void Spawn( void );
|
||||
virtual bool KeyValue( const char *szKeyName, const char *szValue );
|
||||
|
||||
inline const char *GetName( void ) { return m_szLocationName; }
|
||||
|
||||
private:
|
||||
char m_szLocationName[64];
|
||||
|
||||
private:
|
||||
CDODLocation( const CDODLocation & );
|
||||
};
|
||||
|
||||
#endif //DOD_LOCATION_H
|
||||
Reference in New Issue
Block a user