home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 98 / CD-ROM 98.iso / infantil / tuxmath / tuxmath-2001.09.07-win32-installer.exe / src / setup.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-09-07  |  856 b   |  43 lines

  1. /*
  2.   setup.h
  3.  
  4.   For TuxMath
  5.   Contains some globals (screen surface, images, some option flags, etc.)
  6.   as well as the function to load data files (images, sounds, music)
  7.   and display a "Loading..." screen.
  8.  
  9.   by Bill Kendrick
  10.   bill@newbreedsoftware.com
  11.   http://www.newbreedsoftware.com/
  12.  
  13.  
  14.   Part of "Tux4Kids" Project
  15.   http://www.tux4kids.org/
  16.       
  17.   August 26, 2001 - September 6, 2001
  18. */
  19.  
  20.  
  21. #ifndef SETUP_H
  22. #define SETUP_H
  23.  
  24. #include <SDL.h>
  25. #ifndef NOSOUND
  26. #include <SDL_mixer.h>
  27. #endif
  28. #include "game.h"
  29.  
  30. extern SDL_Surface * screen;
  31. extern SDL_Surface * images[];
  32. #ifndef NOSOUND
  33. extern Mix_Chunk * sounds[];
  34. extern Mix_Music * musics[];
  35. #endif
  36. extern int use_sound, fullscreen, use_bkgd, demo_mode, oper_override,
  37.   use_keypad;
  38. extern int opers[NUM_OPERS];
  39.  
  40. void setup(int argc, char * argv[]);
  41.  
  42. #endif
  43.