2000-08-29 21:54:56 +02:00
|
|
|
/**************************/
|
|
|
|
/*** Anim Texture Stuph ***/
|
|
|
|
/**************************/
|
|
|
|
|
|
|
|
#ifndef _ANIMTEX_HEADER_
|
|
|
|
#define _ANIMTEX_HEADER_
|
|
|
|
|
|
|
|
#include "gfx\tpage.h"
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
class CAnimTex
|
|
|
|
{
|
|
|
|
public:
|
2000-09-11 17:34:59 +02:00
|
|
|
CAnimTex();
|
|
|
|
~CAnimTex();
|
|
|
|
|
2000-08-29 21:54:56 +02:00
|
|
|
static void AddAnimTex(sFrameHdr *Frame,FileEquate Filename);
|
|
|
|
static void AnimateTex();
|
|
|
|
static void GetTexData();
|
|
|
|
static void DumpThisTPage(FileEquate TexName);
|
|
|
|
|
|
|
|
private:
|
|
|
|
CAnimTex *NextTex;
|
|
|
|
RECT Rect;
|
|
|
|
s16 Speed,Count;
|
|
|
|
s16 PixPerWord;
|
|
|
|
u32 *TexData;
|
|
|
|
FileEquate TexName;
|
|
|
|
u8 TPage;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
#endif
|