1 /* 2 * XGalaga-SDL - a SDL port of XGalaga, clone of the game Galaga 3 * Copyright (c) 1995-1998 Joe Rumsey (mrogre@mediaone.net) 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License as 7 * published by the Free Software Foundation; either version 2 of the 8 * License, or (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, but 11 * WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 18 * 02110-1301, USA. 19 */ 20 21 extern SDL_Surface *screen; 22 23 extern char *imagedir; 24 extern int verbose_image_loading; 25 extern int forceMono; 26 27 extern int buttonDown; 28 extern char *imagedirend; 29 30 extern int score; 31 32 extern int ships; 33 extern int shieldsleft; 34 extern int shieldon; 35 36 extern int level, metaLevel; 37 extern int startLevel; 38 39 extern int nextBonus; 40 41 extern int counter; 42 43 extern int mouseControl; 44 extern int wantStars; 45 46 extern int winwidth; 47 extern int winheight; 48 49 extern int alien_shape[]; 50 51 extern int weapon; 52 extern int maxtorps, numtorps; 53 54 extern int plx; 55 extern int pldead; 56 57 extern int movespeed; 58 59 extern int playSounds; 60 61 extern int plshield; 62 63 extern unsigned int title_page, pagetimer; 64 65 extern int gotlemon; 66 67 extern struct alien aliens[]; 68 69 extern SFont_Font *fnt_reg_green; 70 extern SFont_Font *fnt_reg_cyan; 71 extern SFont_Font *fnt_reg_yellow; 72 extern SFont_Font *fnt_reg_red; 73 extern SFont_Font *fnt_reg_grey; 74 extern SFont_Font *fnt_big_red; 75 76 extern enum gstate gstate; 77 78 extern int fullscreen; 79