blob: 9fd02b01bf3c534c839eb8a86ecd97fcaa1785c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
// autostation.h
#ifndef _AUTOSTATION_H_
#define _AUTOSTATION_H_
class CInstanceManager;
class CD3DEngine;
class CParticule;
class CTerrain;
class CCamera;
class CObject;
class CAutoStation : public CAuto
{
public:
CAutoStation(CInstanceManager* iMan, CObject* object);
~CAutoStation();
void DeleteObject(BOOL bAll=FALSE);
void Init();
BOOL EventProcess(const Event &event);
Error RetError();
BOOL CreateInterface(BOOL bSelect);
protected:
void UpdateInterface(float rTime);
CObject* SearchVehicle();
protected:
float m_progress;
float m_speed;
float m_timeVirus;
float m_lastUpdateTime;
float m_lastParticule;
int m_soundChannel;
D3DVECTOR m_fretPos;
BOOL m_bLastVirus;
float m_energyVirus;
};
#endif //_AUTOSTATION_H_
|