forked from metin2/client
Solution refactoring and restructuring, removed Boost dependency, removed unused tools
This commit is contained in:
37
src/EffectLib/EffectElementBase.h
Normal file
37
src/EffectLib/EffectElementBase.h
Normal file
@ -0,0 +1,37 @@
|
||||
#pragma once
|
||||
|
||||
#include "Type.h"
|
||||
|
||||
class CEffectElementBase
|
||||
{
|
||||
public:
|
||||
CEffectElementBase();
|
||||
virtual ~CEffectElementBase();
|
||||
|
||||
void Clear();
|
||||
bool isData();
|
||||
|
||||
BOOL LoadScript(CTextFileLoader & rTextFileLoader);
|
||||
|
||||
void GetPosition(float fTime, D3DXVECTOR3 & rPosition);
|
||||
float GetStartTime();
|
||||
/*
|
||||
bool isVisible(float fTime);
|
||||
void GetAlpha(float fTime, float * pAlpha);
|
||||
void GetScale(float fTime, float * pScale);
|
||||
*/
|
||||
|
||||
protected:
|
||||
virtual void OnClear() = 0;
|
||||
virtual bool OnIsData() = 0;
|
||||
virtual BOOL OnLoadScript(CTextFileLoader & rTextFileLoader) = 0;
|
||||
|
||||
protected:
|
||||
float m_fStartTime;
|
||||
TTimeEventTablePosition m_TimeEventTablePosition;
|
||||
/*
|
||||
TTimeEventTable m_TimeEventTableVisible;
|
||||
TTimeEventTableFloat m_TimeEventAlpha;
|
||||
TTimeEventTableFloat m_TimeEventScale;
|
||||
*/
|
||||
};
|
Reference in New Issue
Block a user