Browse Subversion Repository
Contents of /trunk/CStationSelectMode.cpp
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-c++src
File size: 819 byte(s)
| 1 |
#include "stdafx.h" |
| 2 |
#include "CStation.h" |
| 3 |
#include "CSaveFile.h" |
| 4 |
#include "CStationPlugin.h" |
| 5 |
#include "CSkinPlugin.h" |
| 6 |
#include "CStationSelectMode.h" |
| 7 |
|
| 8 |
/* |
| 9 |
* コンストラクタ |
| 10 |
*/ |
| 11 |
CStationSelectMode::CStationSelectMode(): |
| 12 |
CStructSelectMode(lang(StationPlugin)) // 基本クラス |
| 13 |
{ |
| 14 |
} |
| 15 |
|
| 16 |
/* |
| 17 |
* 現在のモデルプラグインを取得 |
| 18 |
*/ |
| 19 |
CModelPlugin *CStationSelectMode::GetModelPlugin(){ |
| 20 |
return g_Station; |
| 21 |
} |
| 22 |
|
| 23 |
/* |
| 24 |
* プラグインリスト取得 |
| 25 |
*/ |
| 26 |
CPluginList *CStationSelectMode::GetPluginList(){ |
| 27 |
return g_StationPluginList; |
| 28 |
} |
| 29 |
|
| 30 |
/* |
| 31 |
* モードを有効化 |
| 32 |
*/ |
| 33 |
void CStationSelectMode::EnterModelPlugin(){ |
| 34 |
ms_ModeLabel = lang(SelectStation); |
| 35 |
m_PluginTree.SelectPlugin(g_Station); |
| 36 |
} |
| 37 |
|
| 38 |
/* |
| 39 |
* レンダリング |
| 40 |
*/ |
| 41 |
void CStationSelectMode::RenderModelPlugin(){ |
| 42 |
CStationPlugin::RenderPreview(V3ZERO, V3DIR, V3UP); |
| 43 |
} |
|