Browse Subversion Repository
Contents of /trunk/CStructEditMode.h
Parent Directory
| 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: 641 byte(s)
| 1 |
#ifndef CSTRUCTEDITMODE_H_INCLUDED |
| 2 |
#define CSTRUCTEDITMODE_H_INCLUDED |
| 3 |
|
| 4 |
#include "CSceneryMode.h" |
| 5 |
|
| 6 |
/* |
| 7 |
* 施設編集モード |
| 8 |
*/ |
| 9 |
class CStructEditMode: public CCursorSceneryMode{ |
| 10 |
private: |
| 11 |
int m_DragState; // 範囲選択状態 |
| 12 |
VEC3 m_DragBegin; // 範囲選択開始座標 |
| 13 |
VEC3 m_DragEnd; // 範囲選択終了座標 |
| 14 |
public: |
| 15 |
CStructEditMode(); |
| 16 |
~CStructEditMode(); |
| 17 |
void EnterCursorScenery(); |
| 18 |
virtual void EnterStructEdit(){} |
| 19 |
void ScanInputCursorScenery(); |
| 20 |
virtual void ScanInputStructEdit(int, VEC3, VEC3); |
| 21 |
virtual void Delete(); |
| 22 |
void RenderCursorScenery(); |
| 23 |
}; |
| 24 |
|
| 25 |
// 外部グローバル |
| 26 |
extern CStructEditMode *g_StructEditMode; |
| 27 |
|
| 28 |
#endif |
|