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 / data.c < prev    next >
C/C++ Source or Header  |  1998-04-30  |  1KB  |  75 lines

  1. /* Copyright (c) 1998 Joe Rumsey (mrogre@mediaone.net) */
  2. #include "copyright.h"
  3.  
  4. #include <config.h>
  5. #include "Wlib.h"
  6. #include "images.h"
  7. #include "defs.h"
  8. #include "data.h"
  9. #include "struct.h"
  10.  
  11. int buttonDown = 0;
  12.  
  13. W_Window baseWin;
  14.  
  15. W_Image *playerShip, *playerTorp, *enemyTorp, *shieldImage;
  16.  
  17. int score;
  18. int paused;
  19.  
  20. int ships;
  21.  
  22. int level, metaLevel;
  23.  
  24. int nextBonus;
  25.  
  26. int gameOver=1;
  27. int getting_name = 0;
  28.  
  29. int counter;
  30.  
  31. int mouseControl = 0;
  32.  
  33. int alien_shape[ALIENSHAPES] = {
  34.     I_ALIEN1,
  35.     I_ALIEN2,
  36.     I_ALIEN3,
  37.     I_ALIEN4,
  38.     I_ALIEN5,
  39.     I_ALIEN6,
  40.     I_ALIEN7,
  41.     I_ALIEN8,
  42.     I_ALIEN9,
  43.     I_ALIEN10,
  44.     I_ALIEN11,
  45.     I_ALIEN12,
  46.     I_ALIEN13,
  47.     I_ALIEN14,
  48.     I_ALIEN15,
  49.     I_ALIEN16,
  50.     I_ALIEN17,
  51. };
  52.  
  53. int weapon = 0;
  54. int maxtorps = 4, numtorps = 0;
  55.  
  56. int plx = 200;
  57.  
  58. int movespeed = MINSPEED;
  59.  
  60. #ifdef SOUND
  61. char *unixSoundPath=SOUNDDIR;
  62. #ifndef NAS_SOUND
  63. char *unixSoundDev=SOUNDDEV;
  64. #endif
  65. int playSounds=1;
  66. #endif
  67.  
  68. int plshield = 0;
  69.  
  70. int title_page=0, pagetimer=300;
  71.  
  72. int gotlemon = 0;
  73.  
  74. struct alien aliens[MAXALIENS];
  75.