home *** CD-ROM | disk | FTP | other *** search
/ WarCraft 2000 - Nuclear Epidemic / W2000.nrg / SOURCE.War2000 / Strange.h < prev    next >
C/C++ Source or Header  |  1998-08-24  |  1KB  |  49 lines

  1. class StrangeWeapon;
  2. typedef void SWHandle(StrangeWeapon* SW);
  3. class StrangeWeapon{
  4. public:
  5.     bool Enabled;
  6.     int x;
  7.     int y;
  8.     word OwnerID;
  9.     word OwnerSerial;
  10.     byte MagAmount;
  11.     byte MagSpeed;
  12.     byte MagConsume;
  13.     word MagMaxConsume;
  14.     byte Kind;
  15.     byte NNUM;
  16.     SWHandle* SWH;
  17.     union{
  18.         struct{
  19.             int r;
  20.             int r1;
  21.         }MExp;
  22.         struct{
  23.             int Radius1;
  24.             int Radius2;
  25.             int r1;
  26.             int r2;
  27.             int vr1;
  28.             int vr2;
  29.             int NR1;
  30.             int NR2;
  31.             word PID;
  32.             word PSerialID;
  33.         }HugeBomb;
  34.     };
  35.     StrangeWeapon();
  36.     //void CreateBlizzard
  37.     void CreateHugeBomb(int x,int y,int r1,int r2,int time,word MagID);
  38.     void CreateFireSea(int x,int y,word MagID);
  39.     void CreateBlizzard(int x,int y,word MagID);
  40.     void CreateMExplosion(int ex,int ey,word MagID);
  41.     void CreateMExplosion1(int ex,int ey,word MagID);
  42.     void CreateFireWall(int ex,int ey,word MagID);
  43.     void CreateSuperVision(int ex,int ey,word MagID);
  44.     void CreateFlyUP(int ex,int ey,int er1,int er2,int time,word MagID);
  45.     void CreateNucl(int x,int y,int r1,int r2,int time);
  46.     void CreateFog(int x,int y,int r1,int r2,int time);
  47.     void HandleExpl();
  48. };
  49. extern StrangeWeapon SWEAP[64];