Browse Subversion Repository
Contents of /trunk/CTrainSetCurve.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: 779 byte(s)
| 1 |
#ifndef CTRAINSETCURVE_H_INCLUDED |
| 2 |
#define CTRAINSETCURVE_H_INCLUDED |
| 3 |
|
| 4 |
#include "CRailTraceCurve.h" |
| 5 |
#include "CTrainSetBuffer.h" |
| 6 |
|
| 7 |
/* |
| 8 |
* 車輌配置カーブ |
| 9 |
*/ |
| 10 |
class CTrainSetCurve: public CRailTraceCurve{ |
| 11 |
private: |
| 12 |
bool m_Reverse; // 後退フラグ |
| 13 |
CGroupEndLocator m_Location; // 設置位置 |
| 14 |
CGroupEndLocator *m_Tail; // 終端格納先 |
| 15 |
ITrainSetBuffer *m_Current; // 現在位置 |
| 16 |
ITrainSetBuffer *m_End; // 終了位置 |
| 17 |
public: |
| 18 |
CTrainSetCurve(CRailPlugin *, CTiePlugin *, CGirderPlugin *, |
| 19 |
bool, CGroupEndLocator, CGroupEndLocator *, ITrainSetBuffer *, ITrainSetBuffer *); |
| 20 |
bool Confirm(VEC3 &, VEC3 &){ return *m_Current!=*m_End; } |
| 21 |
void FinishTrace( |
| 22 |
VEC3 &, VEC3 &, VEC3 &, VEC3 &, VEC3 &, VEC3 &, VEC3 &, VEC3 &, |
| 23 |
float, float, CRailSplitter &); |
| 24 |
}; |
| 25 |
|
| 26 |
#endif |
| |