Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/CStruct.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (show annotations) (download) (as text)
Tue Nov 23 14:34:03 2010 UTC (13 years, 5 months ago) by okadu
File MIME type: text/x-chdr
File size: 1040 byte(s)
[okadu] Version 2.13
1 #ifndef CSTRUCT_H_INCLUDED
2 #define CSTRUCT_H_INCLUDED
3
4 class CListElement;
5 class CStructPlugin;
6 class CScene;
7
8 #include "CModelInst.h"
9
10 /*
11 * 施設インスタンス
12 */
13 class CStruct: public CModelInst{
14 friend class CStructGroup;
15 protected:
16 static CStruct **ms_Root; // 接続ルート
17 CScene *m_Scene; // シーン
18 CStructPlugin *m_StructPlugin; // 施設プラグイン
19 CStruct *m_Next; // 次
20 public:
21 static void SetRoot(CStruct **r){ ms_Root = r; }
22 CStruct();
23 CStruct(CStructPlugin *);
24 CStruct(CStructPlugin *, VEC3, VEC3, VEC3, bool);
25 virtual ~CStruct();
26 virtual bool IsSelectVisible();
27 virtual CPartsInst *FindParts(CNamedObject *);
28 void Remove();
29 void Delete();
30 void PrintInfo();
31 virtual CModelInst *Control();
32 void ScanInput(int, VEC3 &, VEC3 &);
33 void Render();
34 void SimulateModelInst();
35 virtual void SimulateStruct(){}
36 virtual void SetSwitchStruct(){}
37 virtual CScene *GetScene(){ return m_Scene; }
38 CMODELINST_CASTFUNC(CStruct);
39 char *Read(char *);
40 void Save(FILE *);
41 };
42
43 #endif

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26