Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/CStructBuildMode.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations) (download) (as text)
Sun Aug 15 01:53:13 2010 UTC (13 years, 9 months ago) by okadu
File MIME type: text/x-chdr
File size: 965 byte(s)


1 #ifndef CSTRUCTBUILDMODE_H_INCLUDED
2 #define CSTRUCTBUILDMODE_H_INCLUDED
3
4 #include "CSceneryMode.h"
5
6 /*
7 * 施設設置モード
8 */
9 class CStructBuildMode: public CArrowSceneryMode{
10 protected:
11 static CWindowCtrl ms_StructWindow; // 施設設定窓
12 static CStaticCtrl ms_DirLabel; // 方向ラベル
13 static CRadioButton ms_Dir[]; // 方向ラジオ
14 static CCheckBox ms_FitNormal; // 地形に合わせて傾斜
15 int m_BuildAngle; // 設置角度
16 bool m_HitFlag; // 判定フラグ
17 VEC3 m_Pos; // 座標
18 VEC3 m_HitPos; // 判定座標
19 VEC3 m_HitNorm; // 判定法線
20 public:
21 static void InitInterface();
22 static int GetAngleSplit();
23 CStructBuildMode();
24 ~CStructBuildMode();
25 void GetBuildDir(VEC3 *, VEC3 *);
26 void EnterArrowScenery();
27 virtual void EnterStructBuild();
28 void ScanInputArrowScenery();
29 virtual void Build();
30 void RenderArrowScenery();
31 virtual void RenderStructBuild();
32 };
33
34 // 外部グローバル
35 extern CStructBuildMode *g_StructBuildMode;
36
37 #endif

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