summaryrefslogtreecommitdiff
path: root/game/server/dod/dod_location.h
blob: 7795e90547496c14adc61c06302d28f218bacf36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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