home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / games / graph.zip / GLOBAL.H < prev    next >
Text File  |  1987-06-10  |  948b  |  29 lines

  1. /*--------------------------------------------------------------------------
  2.  *                                 global.h
  3.  *
  4.  *                      Copyright 1987 by Michael Allen
  5.  *
  6.  *       This contains the declarations for global variables used by the 
  7.  *       graphics functions in graph.lib. You must include this in your
  8.  *       main module with a: #include "global.h". Then in sub-modules, include:
  9.  *       #include "glob_ext.h"
  10.  *-------------------------------------------------------------------------*/
  11.  
  12.  
  13. union REGS regs;
  14.  
  15. struct SREGS segregs;
  16.  
  17. T_SCREEN screen = (unsigned char far *)SCREENADDR;  /* color card screen buffer */
  18.  
  19. int            xmax    = 639,
  20.                xmin    = 0,
  21.                ymax    = 199,    /* the size of the screen in pixels */
  22.                ymin    = 0;
  23.  
  24. BYTE           draw_option;    /* NORMAL, XOR_MODE */
  25.  
  26.  
  27. /* -----------------------------------------------------------------  */
  28.  
  29.