home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
temacd
/
planearcade
/
planearcade.exe
/
Tank3.bmp
/
fireball.h
< prev
next >
Wrap
C/C++ Source or Header
|
2004-06-19
|
1KB
|
52 lines
//==================================================================
#ifndef _FIREBAL_H_
#define _FIREBAL_H_
//==================================================================
#define FireBall_Max 40
//Struktura segmenu
//----------------------
struct FIREBALL_SEGMENT
{
bool Active;
VECTOR3D Pos;
VECTOR3D Rot;
float Time;
};
//-----------------------------------------------------------------
// Name: FIREBALL CLASS
// Desc: ohnive gule
//-----------------------------------------------------------------
class FIREBALL
{
private:
MODEL Model;
FIREBALL_SEGMENT Segment[FireBall_Max];
public:
//konstruktor
FIREBALL();
//funkcie
void Initialize(char *ModelFileName,char *TextureFileName,COLOR TColor);
void Refresh();
void Spawn(VECTOR3D Pos);
//vlastnosti systemu
COLOR SRCColor,DSTColor;
VECTOR3D SRCScale, DSTScale;
VECTOR3D SRCRot, DSTRot;
bool RandRotation;
float Time;
};
//==================================================================
#endif //_FIREBAL_H_