home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
temacd
/
planearcade
/
planearcade.exe
/
Tank3.bmp
/
score.h
< prev
next >
Wrap
C/C++ Source or Header
|
2004-07-05
|
1KB
|
52 lines
//=============================================================
#ifndef _SCORE_H_
#define _SCORE_H_
//==============================================================
#define Score_Max_Captions 10
#define Score_Time 2000.0f
#define Score_Structure 100
#define Score_Truck 200
#define Score_MesserSchmitt 300
#define Score_Volker 400
#define Score_Bombarder 500
//---------
//struktura
//---------
struct CAPTION
{
VECTOR3D Pos;
float Time;
int Value;
bool Active;
};
//-------------------------------------------------------------
// Name: Score
// Desc: napisi skore ktore unikaju po zasahu nepriatela
//-------------------------------------------------------------
class SCORE
{
private:
CAPTION Caption[Score_Max_Captions];
PANEL2D Panel;
public:
void Refresh();
void DrawScore(int Value, VECTOR3D Pos);
void Initialize();
void Reset();
};
//==============================================================
#endif //_SCORE_H_