1
0
forked from metin2/client

Solution refactoring and restructuring, removed Boost dependency, removed unused tools

This commit is contained in:
2022-11-21 23:42:01 +02:00
parent 33f19f9ff6
commit 9ef9f39e88
817 changed files with 326 additions and 59698 deletions

View 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;
*/
};