forked from alpet83/Xray-Research
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FDemoPlay.h
42 lines (29 loc) · 1.13 KB
/
FDemoPlay.h
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
// CDemoPlay.h: interface for the CDemoPlay class.
//
#if !defined(AFX_FDEMOPLAY_H__9B07E6E0_FC3C_11D3_B4E3_4854E82A090D__INCLUDED_)
#define AFX_FDEMOPLAY_H__9B07E6E0_FC3C_11D3_B4E3_4854E82A090D__INCLUDED_
#include "ftimer.h"
#include "effector.h"
#include "motion.h"
// refs
class COMotion;
class ENGINE_API CDemoPlay :
public CEffector
{
COMotion* m_pMotion;
SAnimParams m_MParam;
xr_vector <Fmatrix> seq;
int m_count;
float fStartTime;
float fSpeed;
BOOL bCycle;
u32 dwStartTime;
u32 dwStartFrame;
void stat_Start ();
void stat_Stop ();
public:
virtual BOOL Process (Fvector &p, Fvector &d, Fvector &n, float& fFov, float& fFar, float& fAspect);
CDemoPlay (const char *name, float ms, BOOL cycle=false, float life_time=60*60*1000);
virtual ~CDemoPlay ();
};
#endif // !defined(AFX_FDEMOPLAY_H__9B07E6E0_FC3C_11D3_B4E3_4854E82A090D__INCLUDED_)