blob: c9d74a45686f31c1dd4861e92f0ec68dfe733b48 (
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
39
40
41
42
43
44
45
46
47
48
49
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#if !defined( TF_TECHNOLOGYTREEDOC_H )
#define TF_TECHNOLOGYTREEDOC_H
#ifdef _WIN32
#pragma once
#endif
// Forward declarations
class CTechnologyTree;
//-----------------------------------------------------------------------------
// Purpose: Container for views into technology tree
//-----------------------------------------------------------------------------
class CTechnologyTreeDoc
{
public:
// Construction
CTechnologyTreeDoc( void );
virtual ~CTechnologyTreeDoc( void );
virtual void Init( void );
virtual void ReloadTechTree( void );
virtual void LevelInit( void );
virtual void LevelShutdown( void );
inline CTechnologyTree *GetTechnologyTree() {return m_pTree;}
void AddTechnologyFile( char *sFilename );
// Network input
int MsgFunc_Technology( bf_read &msg );
int MsgFunc_Resource( bf_read &msg );
private:
// The underlying technology data tree
CTechnologyTree *m_pTree;
};
// Expose Document to rest of dll
extern CTechnologyTreeDoc& GetTechnologyTreeDoc();
#endif // TF_TECHNOLOGYTREEDOC_H
|