home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Divers / xgalaga-2_0_tar.gz / xgalaga-2_0_tar / xgalaga-2.0 / struct.h < prev    next >
C/C++ Source or Header  |  1998-04-12  |  596b  |  41 lines

  1. #include "Wlib.h"
  2.  
  3. struct torp {
  4.     struct torp *next, *prev;
  5.     int alive, frame;
  6.     int x, y;
  7.     int xspeed, yspeed;
  8. };
  9.  
  10. struct star {
  11.     int x, y;
  12.     int speed;
  13.     W_Color color;
  14. };
  15.  
  16. struct alien {
  17.     int x, y;
  18.     int dir;
  19.     int steer;
  20.     int alive;
  21.     int dying;
  22.     int path, path_pos;
  23.     int escorting;
  24.     int entering, enterdelay;
  25.     W_Image *shape;
  26. };
  27.  
  28. struct explosion {
  29.     struct explosion *next, *prev;
  30.     int x, y;
  31.     int frame;
  32.     W_Image *shape;
  33. };
  34.  
  35. struct score_bubble {
  36.     struct score_bubble *next, *prev;
  37.     int x, y;
  38.     int count;
  39.     W_Image *shape;
  40. };
  41.