SBSPSS/source/gfx/animtex.h

59 lines
1.0 KiB
C
Raw Normal View History

2000-08-29 21:54:56 +02:00
/**************************/
/*** Anim Texture Stuph ***/
/**************************/
#ifndef _ANIMTEX_HEADER_
#define _ANIMTEX_HEADER_
#include "gfx\tpage.h"
2001-01-30 18:38:31 +01:00
#include <DStructs.h>
2000-08-29 21:54:56 +02:00
/*****************************************************************************/
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:
2001-01-30 21:54:27 +01:00
CAnimTex *NextTex;
RECT Rect;
s16 Speed,Count;
s16 PixPerWord;
u32 *TexData;
FileEquate TexName;
u8 TPage;
2000-08-29 21:54:56 +02:00
};
2001-01-30 18:38:31 +01:00
/*****************************************************************************/
class CMoveTex
{
public:
2001-01-30 21:54:27 +01:00
enum
{
MOVETEX_MAX=16,
};
CMoveTex()
{
2001-04-01 22:22:49 +02:00
// Src=0;
2001-01-30 21:54:27 +01:00
}
2001-01-30 18:38:31 +01:00
2001-04-01 22:22:49 +02:00
//static void Add(sTexInfo &SrcFrame,sTexInfo &DstFrame);
2001-01-30 18:38:31 +01:00
static void MoveTex();
private:
2001-04-01 22:22:49 +02:00
// sTexInfo *Src,*Dst;
2001-01-30 21:54:27 +01:00
static CMoveTex MoveTexList[];
2001-01-30 18:38:31 +01:00
};
2000-08-29 21:54:56 +02:00
/*****************************************************************************/
#endif