home *** CD-ROM | disk | FTP | other *** search
/ Quake 'em / QUAKEEM.BIN / quake / programs / qube / xgfx.h < prev   
Encoding:
C/C++ Source or Header  |  1996-03-07  |  853 b   |  38 lines

  1. /***
  2. ****  QuBE --- X-Windows graphical display routines.  These need work.
  3. ***/
  4.  
  5. enum {
  6.     M80x25x16,
  7.     M640x480x256,
  8. };
  9.  
  10. enum {
  11.     BLACK = 0, BLUE, GREEN, AQUA, RED, VIOLET, BROWN, LGRAY,
  12.     GRAY, LBLUE, LGREEN, LAQUA, LRED, LVIOLET, YELLOW, WHITE,
  13. };
  14.  
  15. enum {
  16.     CURarrow,
  17. };
  18.  
  19. extern int MouseX;
  20. extern int MouseY;
  21.  
  22. extern char Sans8N[];
  23.  
  24. int InitScrn(int mode);
  25. int LineXOR(int x1, int y1, int x2, int y2, int color);
  26. int Gprintf(int x, int y, char *font, int color, char *format, ...);
  27. int BoxOutlnXOR(int x1, int y1, int x2, int y2, int color);
  28. int BoxFillXOR(int x1, int y1, int x2, int y2, int color);
  29. int InitMouse(int width, int height, int xres, int yres);
  30. void StdCursor(int cursor);
  31. void KillMouse(void);
  32. void MouseOn(void);
  33. void MouseOff(void);
  34. void ReadMouse(void);
  35. int KeyStatus(void);
  36. int ReadKeyScan(void);
  37.  
  38.