| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
#if !defined( AFX_DMAP_H__ACAE597A_D26D_49AD_AA69_EDE743DB54FA__INCLUDED_ ) |
| 25 |
#define AFX_DMAP_H__ACAE597A_D26D_49AD_AA69_EDE743DB54FA__INCLUDED_ |
| 26 |
|
| 27 |
#if _MSC_VER > 1000 |
| 28 |
#pragma once |
| 29 |
#endif |
| 30 |
|
| 31 |
#include <list> |
| 32 |
|
| 33 |
class DEntity; |
| 34 |
|
| 35 |
class DMap |
| 36 |
{ |
| 37 |
public: |
| 38 |
static void RebuildEntity( DEntity* ent ); |
| 39 |
|
| 40 |
void ResetTextures( const char* textureName, float fScale[2], float fShift[2], int rotation, const char* newTextureName, int bResetTextureName, int bResetScale[2], int bResetShift[2], int bResetRotation ); |
| 41 |
void LoadAll( bool bLoadPatches = false ); |
| 42 |
void BuildInRadiant( bool bAllowDestruction ); |
| 43 |
int m_nNextEntity; |
| 44 |
DEntity* GetWorldSpawn(); |
| 45 |
void ClearEntities(); |
| 46 |
|
| 47 |
DEntity* GetEntityForID( int ID ); |
| 48 |
DEntity* AddEntity( const char* classname = "worldspawn", int ID = -1 ); |
| 49 |
|
| 50 |
std::list<DEntity*> entityList; |
| 51 |
|
| 52 |
DMap(); |
| 53 |
virtual ~DMap(); |
| 54 |
|
| 55 |
int FixBrushes(); |
| 56 |
}; |
| 57 |
|
| 58 |
#endif |