1 /* 2 * SDLRoids - An Astroids clone. 3 * 4 * Copyright (c) 2000 David Hedbor <david@hedbor.org> 5 * based on xhyperoid by Russel Marks. 6 * xhyperoid is based on a Win16 game, Hyperoid by Edward Hutchins 7 * 8 * This program is distributed in the hope that it will be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * GNU General Public License for more details. 12 * 13 * You should have received a copy of the GNU General Public License 14 * along with this program; if not, write to the Free Software 15 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 16 * 17 */ 18 19 /* 20 * getargs.g - command line defines and prototypes. 21 */ 22 23 /* Number of integer (flag) options */ 24 #define NUMARGS 10 25 26 /* Shortcut for accessing the values */ 27 #define ARG_FSCRN flagargs[0] 28 #define ARG_BENCH flagargs[1] 29 #define ARG_NOSND flagargs[2] 30 #define ARG_WIDTH flagargs[3] 31 #define ARG_HEIGHT flagargs[4] 32 #define ARG_JOYNUM flagargs[5] 33 #define ARG_JFIRE flagargs[6] 34 #define ARG_JSHIELD flagargs[7] 35 #define ARG_JBOMB flagargs[8] 36 #define ARG_JLIST flagargs[9] 37 38 /* getargs() prototype */ 39 void getargs(int, char *[]); 40 int flagargs[NUMARGS]; 41