home *** CD-ROM | disk | FTP | other *** search
/ GameStar Special 2004 August / GSSH0804.iso / Rollenspiele / SwordOfFargoal / fargoal20030731b.exe / fargoal / src / main.h < prev    next >
C/C++ Source or Header  |  2003-07-31  |  570b  |  37 lines

  1. #ifndef _MAIN_H_
  2. #define _MAIN_H_
  3.  
  4. #include <allegro.h>
  5. #include <stdio.h>
  6. #include <stdlib.h>
  7. #include <string.h>
  8. #include <ctype.h>
  9. #define y1 bla_y1
  10. #include <math.h>
  11. #undef y1
  12.  
  13. #ifdef ALLEGRO_MSVC
  14. #define vsnprintf _vsnprintf
  15. #endif
  16.  
  17. #define FPS 72
  18.  
  19. extern int frames;
  20. extern int fps;
  21. extern BITMAP *page;
  22. extern int USE_DRS;
  23.  
  24. extern unsigned int mrand_seed;
  25.  
  26. extern int fullscreen;
  27. extern int colordepth;
  28. extern int joy_ok;
  29.  
  30. void fix_alt_tab (void);
  31. int rnd (int min, int max);
  32. int check_key(int k);
  33. int check_key_ex(int k, int fast);
  34. void run_exit (void);
  35.  
  36. #endif
  37.