home *** CD-ROM | disk | FTP | other *** search
- /*
- setup.h
-
- For TuxMath
- Contains some globals (screen surface, images, some option flags, etc.)
- as well as the function to load data files (images, sounds, music)
- and display a "Loading..." screen.
-
- by Bill Kendrick
- bill@newbreedsoftware.com
- http://www.newbreedsoftware.com/
-
-
- Part of "Tux4Kids" Project
- http://www.tux4kids.org/
-
- August 26, 2001 - September 6, 2001
- */
-
-
- #ifndef SETUP_H
- #define SETUP_H
-
- #include <SDL.h>
- #ifndef NOSOUND
- #include <SDL_mixer.h>
- #endif
- #include "game.h"
-
- extern SDL_Surface * screen;
- extern SDL_Surface * images[];
- #ifndef NOSOUND
- extern Mix_Chunk * sounds[];
- extern Mix_Music * musics[];
- #endif
- extern int use_sound, fullscreen, use_bkgd, demo_mode, oper_override,
- use_keypad;
- extern int opers[NUM_OPERS];
-
- void setup(int argc, char * argv[]);
-
- #endif
-