/***************************************************************************
                          init_quit.h  -  description
                             -------------------
    begin                : Sun Feb 23 2003
    copyright            : (C) 2003 by Samuel E. Bray
    email                : aristoidaneel@yahoo.com
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/
/* RCS: */
/* $Id: init_quit.h,v 1.1 2003/03/03 03:18:48 root Exp root $ */
/* $Log: init_quit.h,v $
 * Revision 1.1  2003/03/03 03:18:48  root
 * Initial revision
 * */

#include <GL/gl.h>


extern SDL_Surface *screen;

extern int screenWidth;
extern int screenHeight;
extern int screenBPP;
extern int screenUnitX;
extern int screenUnitY;
extern int joyYCenter;
extern int joyXCenter;
extern int videoFlags;
extern int lightCol;
extern int lightRow;
int hello;
extern GLint textures[2];
extern GLuint base;

extern int cmdOptJ[2];

extern const int JS_MAX;

extern light lights[NUM_LIGHTS];
extern aimer_t aimer;
 
/* Function prototypes for init_quit.c */
void Quit(enum e_returnCode returnCode);

void Kaboom(char *endString, enum e_returnCode returnCode);

int LoadTextures(void);

void SetGLWindow(int width, int height);

void Init(void);

SDL_Joystick *QueryJoyStick(void);
