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

  1. #ifndef GCONSOLE_H
  2. #define GCONSOLE_H
  3.  
  4. #define MAX_COLUMNS 100
  5. #define MAX_ROWS 37
  6. #define HOLDDELAY 24
  7. #define DOUBLECLICKDELAY 15
  8. #define MOUSESIZEX 11
  9. #define MOUSESIZEY 20
  10.  
  11. int initscreen(void);
  12. void closescreen(void);
  13. void clearscreen(void);
  14. void fliptoscreen(void);
  15. void printtext(int x, int y, int color, const char *text);
  16. void printtextc(int y, int color, const char *text);
  17. void printtextcp(int cp, int y, int color, const char *text);
  18. void printblank(int x, int y, int length);
  19. void printblankc(int x, int y, int color, int length);
  20. void drawbox(int x, int y, int color, int sx, int sy);
  21. void printbg(int x, int y, int color, int length);
  22. void getkey(void);
  23.  
  24. #ifndef GCONSOLE_C
  25. extern int key, rawkey, shiftpressed, cursorflashdelay;
  26. extern int mouseb, prevmouseb;
  27. extern int mouseheld;
  28. extern int mousex, mousey;
  29. #endif
  30.  
  31. #endif
  32.