home *** CD-ROM | disk | FTP | other *** search
/ Large Pack of OldSkool DOS MOD Trackers / goattracker_2.68.zip / src / bme / bme_win.h < prev    next >
C/C++ Source or Header  |  2008-04-01  |  826b  |  28 lines

  1. // BME windows, input & timing module header file
  2.  
  3. int win_openwindow(char *appname, char *icon);
  4. void win_closewindow(void);
  5. void win_messagebox(char *string);
  6. void win_checkmessages(void);
  7. int win_getspeed(int framerate);
  8. void win_setmousemode(int mode);
  9.  
  10. extern int win_windowinitted;
  11. extern int win_quitted;
  12. extern int win_fullscreen;
  13. extern unsigned char win_keytable[MAX_KEYS];
  14. extern unsigned char win_keystate[MAX_KEYS];
  15. extern unsigned char win_asciikey;
  16. extern unsigned win_virtualkey;
  17. extern unsigned win_mousexpos;
  18. extern unsigned win_mouseypos;
  19. extern unsigned win_mousexrel;
  20. extern unsigned win_mouseyrel;
  21. extern unsigned win_mousebuttons;
  22. extern int win_mousemode;
  23. SDL_Joystick *joy[MAX_JOYSTICKS];
  24. extern Sint16 joyx[MAX_JOYSTICKS];
  25. extern Sint16 joyy[MAX_JOYSTICKS];
  26. extern Uint32 joybuttons[MAX_JOYSTICKS];
  27.  
  28.