blob: 150edd569a231d003cc8d7f31fdccabe25fa7e59 (
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
49
50
51
52
53
54
55
56
57
58
59
|
// autohuston.h
#ifndef _AUTOHUSTON_H_
#define _AUTOHUSTON_H_
class CInstanceManager;
class CD3DEngine;
class CParticule;
class CTerrain;
class CCamera;
class CObject;
enum ParticuleType;
typedef struct
{
int parti;
ParticuleType type;
D3DVECTOR pos;
float dim;
float total;
float off;
}
HustonLens;
#define HUSTONMAXLENS 20
class CAutoHuston : public CAuto
{
public:
CAutoHuston(CInstanceManager* iMan, CObject* object);
~CAutoHuston();
void DeleteObject(BOOL bAll=FALSE);
void Init();
void Start(int param);
BOOL EventProcess(const Event &event);
BOOL Abort();
Error RetError();
BOOL CreateInterface(BOOL bSelect);
protected:
protected:
float m_progress;
float m_speed;
HustonLens m_lens[HUSTONMAXLENS];
int m_lensTotal;
};
#endif //_AUTOHUSTON_H_
|