the Alien going right!
This commit is contained in:
48
basestruct.h
48
basestruct.h
@@ -1,15 +1,17 @@
|
||||
#ifndef BASESTRUCT_H
|
||||
#define BASESTRUCT_H
|
||||
|
||||
#include <vector>
|
||||
#include <deque>
|
||||
#include <QVector>
|
||||
//#include <deque>
|
||||
#include <QPoint>
|
||||
#include <QString>
|
||||
#include <QPixmap>
|
||||
#include <QPointF>
|
||||
#include <QRect>
|
||||
#include <QDebug>
|
||||
|
||||
using std::vector;
|
||||
using std::deque;
|
||||
//using std::vector;
|
||||
//using std::deque;
|
||||
|
||||
|
||||
struct FPVector
|
||||
@@ -18,8 +20,8 @@ struct FPVector
|
||||
float angle;
|
||||
};
|
||||
|
||||
/*
|
||||
struct Effect
|
||||
|
||||
/*struct Effect
|
||||
{
|
||||
float Health;
|
||||
float Speed;
|
||||
@@ -27,27 +29,35 @@ struct Effect
|
||||
int CntHealth;
|
||||
int CntSpeed;
|
||||
int CntArmor;
|
||||
};
|
||||
*/
|
||||
};*/
|
||||
|
||||
|
||||
/*struct AlienImages
|
||||
{
|
||||
vector<QPixmap> pix;
|
||||
};*/
|
||||
|
||||
|
||||
struct Alien
|
||||
{
|
||||
// unsigned char AName[64];
|
||||
FPVector Position;
|
||||
/* int FlX;
|
||||
int FlY;
|
||||
int Armor;
|
||||
int Level;
|
||||
int Money;
|
||||
int PicType;
|
||||
//int FlX;
|
||||
//int FlY;
|
||||
//int Armor;
|
||||
//int Level;
|
||||
//int Money;
|
||||
int PathIndex;
|
||||
int PicIndl;
|
||||
int MaxFrame;
|
||||
float Health;
|
||||
int PicIndex;
|
||||
//int PicIndl;
|
||||
//int MaxFrame;
|
||||
//float Health;
|
||||
float Speed;
|
||||
float PicFrame;
|
||||
float PicInc;
|
||||
float Regeneration;*/
|
||||
deque<QPointF> path;//path() As Point
|
||||
//float PicI;
|
||||
//float Regeneration;
|
||||
QVector<QPointF> path;//path() As Point
|
||||
QPoint DestPnt;
|
||||
// Effect Effects;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user