home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
WarCraft 2000 - Nuclear Epidemic
/
W2000.nrg
/
SOURCE.War2000
/
Strange.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-08-24
|
1KB
|
49 lines
class StrangeWeapon;
typedef void SWHandle(StrangeWeapon* SW);
class StrangeWeapon{
public:
bool Enabled;
int x;
int y;
word OwnerID;
word OwnerSerial;
byte MagAmount;
byte MagSpeed;
byte MagConsume;
word MagMaxConsume;
byte Kind;
byte NNUM;
SWHandle* SWH;
union{
struct{
int r;
int r1;
}MExp;
struct{
int Radius1;
int Radius2;
int r1;
int r2;
int vr1;
int vr2;
int NR1;
int NR2;
word PID;
word PSerialID;
}HugeBomb;
};
StrangeWeapon();
//void CreateBlizzard
void CreateHugeBomb(int x,int y,int r1,int r2,int time,word MagID);
void CreateFireSea(int x,int y,word MagID);
void CreateBlizzard(int x,int y,word MagID);
void CreateMExplosion(int ex,int ey,word MagID);
void CreateMExplosion1(int ex,int ey,word MagID);
void CreateFireWall(int ex,int ey,word MagID);
void CreateSuperVision(int ex,int ey,word MagID);
void CreateFlyUP(int ex,int ey,int er1,int er2,int time,word MagID);
void CreateNucl(int x,int y,int r1,int r2,int time);
void CreateFog(int x,int y,int r1,int r2,int time);
void HandleExpl();
};
extern StrangeWeapon SWEAP[64];