home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / PROG_GEN / FACETV.ZIP / GRAFXLOG.H < prev    next >
C/C++ Source or Header  |  1994-01-05  |  1KB  |  76 lines

  1. /************************************************************************
  2. **
  3. ** @(#)grafxlog.h    01/05/94    Chris Ahlstrom
  4. **
  5. **    Contains routines for setting and obtaining the current video
  6. ** context in one fell swoop.  These routines obtain everything that
  7. ** Borland functions allow you to obtain concerning the graphics
  8. ** screen.
  9. **
  10. *************************************************************************/
  11.  
  12. #ifndef GRAFXLOG_h                    /* { GRAFXLOG_h    */
  13. #define GRAFXLOG_h
  14.  
  15. #include "bios_vid.h"
  16. #include "grafxscr.h"
  17.  
  18.  
  19. extern int setGraphicsModes
  20. (
  21.     Screen *s
  22. );
  23. extern GraphicsDriver getGraphicsModes
  24. (
  25.     Screen *s
  26. );
  27. extern GraphicsDriver getScreenModes    /* Dell? getcolor() workaround    */
  28. (
  29.     Screen *s
  30. );
  31. extern void getScreenVBS
  32. (
  33.     Screen *s
  34. );
  35. extern void showScreen
  36. (
  37.     Screen *s
  38. );
  39. extern int getvbs
  40. (
  41.     Video_BIOS_State *vbs
  42. );
  43. extern void getvbsdump (void);
  44. extern void dumpvbs
  45. (
  46.     FILE *f,
  47.     Video_BIOS_State *vbs
  48. );
  49. extern int getScreenContext
  50. (
  51.     Screen *s
  52. );
  53. extern int getgrafxmode (void);
  54. extern int getgrafxpage (void);
  55. extern int getgrafxcolumns (void);
  56. extern int getgrafxcursorrow
  57. (
  58.     int page
  59. );
  60. extern int getgrafxcursorcolumn
  61. (
  62.     int page
  63. );
  64. extern int initGraphics
  65. (
  66.     Screen *s                /* all screen parameters    */
  67. );
  68. extern void closeGraphics
  69. (
  70.     Screen *s                /* all screen parameters    */
  71. );
  72.  
  73.  
  74.  
  75. #endif                            /* } GRAFXLOG_h    */
  76.