Browse Subversion Repository
Contents of /trunk/CNeutralMode.h
Parent Directory
| Revision Log
Revision 11 -
( show annotations)
( download)
( as text)
Sun Sep 9 04:21:31 2012 UTC
(11 years, 8 months ago)
by okadu
File MIME type: text/x-chdr
File size: 1139 byte(s)
[okadu] Version 2.14a バグ修正いろいろ
| 1 |
#ifndef CNEUTRALMODE_H_INCLUDED |
| 2 |
#define CNEUTRALMODE_H_INCLUDED |
| 3 |
|
| 4 |
#include "CSceneryMode.h" |
| 5 |
#include "CWindowCtrl.h" |
| 6 |
#include "CListView.h" |
| 7 |
|
| 8 |
/* |
| 9 |
* ニュートラルモード |
| 10 |
*/ |
| 11 |
class CNeutralMode: public CCursorSceneryMode, public CMenuCommander, public CWindowResizer{ |
| 12 |
private: |
| 13 |
bool m_PointMode; // ポイント制御モード |
| 14 |
CDetectInfo m_FocusInfo; // フォーカス情報 |
| 15 |
CWindowCtrl m_SwitchWindow; // スイッチ窓 |
| 16 |
CListView m_SwitchListView; // スイッチリスト |
| 17 |
CListView m_OptionListView; // オプションリスト |
| 18 |
public: |
| 19 |
CNeutralMode(); |
| 20 |
~CNeutralMode(){} |
| 21 |
void WindowResized(int, int, CWindowCtrl *); |
| 22 |
CPopMenu *Dispatch(CMDTYPE, DWORD){ return NULL; } |
| 23 |
void DoubleClick(CMDTYPE, DWORD){} |
| 24 |
CModelInst *GetFocusInst(){ return m_FocusInfo.GetModelInst(); } |
| 25 |
bool CameraCtrlExp(){ return true; } |
| 26 |
void DeleteModelInst(CModelInst *); |
| 27 |
void SetFocusInfo(CDetectInfo &d){ m_FocusInfo = d; } |
| 28 |
void EnterCursorScenery(); |
| 29 |
void ScanInputCursorScenery(); |
| 30 |
void RenderCursorScenery(); |
| 31 |
void RenderCursorSceneryFull(); |
| 32 |
bool IsWindowDivisible(){ return true; } |
| 33 |
}; |
| 34 |
|
| 35 |
// 外部グローバル |
| 36 |
extern CNeutralMode *g_NeutralMode; |
| 37 |
|
| 38 |
#endif |
|