forked from metin2/client
Solution refactoring and restructuring, removed Boost dependency, removed unused tools
This commit is contained in:
42
src/GameLib/FlyTrace.h
Normal file
42
src/GameLib/FlyTrace.h
Normal file
@ -0,0 +1,42 @@
|
||||
#pragma once
|
||||
|
||||
class CFlyTrace : public CScreen
|
||||
{
|
||||
public:
|
||||
CFlyTrace();
|
||||
virtual ~CFlyTrace();
|
||||
|
||||
void Destroy();
|
||||
|
||||
void Create(const CFlyingData::TFlyingAttachData & rFlyingAttachData);
|
||||
|
||||
void UpdateNewPosition(const D3DXVECTOR3 & v3Position);
|
||||
|
||||
void Update();
|
||||
void Render();
|
||||
|
||||
protected:
|
||||
void __Initialize();
|
||||
|
||||
protected:
|
||||
typedef std::pair<float, D3DXVECTOR3> TTimePosition;
|
||||
typedef std::deque<TTimePosition> TTimePositionDeque;
|
||||
|
||||
//CGraphicImageInstance m_ImageInstance;
|
||||
//LPDIRECT3DTEXTURE8 m_lpTexture;
|
||||
|
||||
bool m_bRectShape;
|
||||
DWORD m_dwColor;
|
||||
float m_fSize;
|
||||
float m_fTailLength;
|
||||
|
||||
TTimePositionDeque m_TimePositionDeque;
|
||||
|
||||
public:
|
||||
static void DestroySystem();
|
||||
|
||||
static CFlyTrace* New();
|
||||
static void Delete(CFlyTrace* pkInst);
|
||||
|
||||
static CDynamicPool<CFlyTrace> ms_kPool;
|
||||
};
|
Reference in New Issue
Block a user