home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / PROG_C / SVGACC20.ZIP / SVGADEMO.H < prev    next >
C/C++ Source or Header  |  1994-03-11  |  7KB  |  170 lines

  1. /****************************************************************************
  2.      
  3.       'SVGACC' A Super Vga Graphics Library for use with Microsoft and
  4.       Borland C/C++
  5.       Copyright 1993-1994 by Stephen L. Balkum and Daniel A. Sill
  6.  
  7.       GIF and 'Graphics Intechange Format' are trademarks (tm) of
  8.       Compuserve, Incorporated, an H&R Block Company.
  9.  
  10.     **************** UNREGISTERD SHAREWARE VERSION ***********************
  11.     * FOR EVUALATION ONLY. NOT FOR RESALE IN ANY FORM. SOFTWARE WRITTEN  *
  12.     * USING THIS UNREGISTERED SHAREWARE GRAPHICS LIBRARY MAY NOT BY SOLD *
  13.     * OR USED FOR ANY PURPOSE OTHER THAN THE EVUALTION OF THIS LIBRARY.  *
  14.     **********************************************************************
  15.  
  16.     **************** NO WARRANTIES AND NO LIABILITY **********************
  17.     * Stephen L. Balkum and Daniel A. Sill provide no warranties, either *
  18.     * expressed or implied, of merchantability, or fitness, for a        *
  19.     * particular use or purpose of this SOFTWARE and documentation.      *
  20.     * In no event shall Stephen L. Balkum or Daniel A. Sill be held      *
  21.     * liable for any damages resulting from the use or misuse of the     * 
  22.     * SOFTWARE and documentation.                                        *
  23.     **********************************************************************
  24.  
  25.     ************** U.S. GOVERNMENT RESTRICTED RIGHTS *********************
  26.     * Use, duplication, or disclosure of the SOFTWARE and documentation  *
  27.     * by the U.S. Government is subject to the restictions as set forth  *
  28.     * in subparagraph (c)(1)(ii) of the Rights in Technical Data and     *
  29.     * Computer Software cluse at DFARS 252.227-7013.                     *
  30.     * Contractor/manufacturer is Stephen L. Balkum and Daniel A. Sill,   *
  31.     * P.O. Box 7704, Austin, Texas 78713-7704                            *
  32.     **********************************************************************
  33.  
  34.     **********************************************************************
  35.     * By using this SOFTWARE or documentation, you agree to the above    *
  36.     * terms and conditions.                                              *
  37.     **********************************************************************
  38.  
  39.  ***************************************************************************/
  40.  
  41. #define TITLEN 85
  42.  
  43. #ifdef MODULE
  44.  
  45. extern endit;
  46. extern PaletteData orgpal, pal, pal2;
  47. extern MouseCursor magmousecursor;
  48. extern MouseCursor bigmousecursor;
  49. extern MouseCursor stwmousecursor;
  50. extern byte spritedata[];
  51.  
  52. extern char getkey(void);
  53. extern void beep(void);
  54.  
  55. #else
  56.  
  57. int endit;
  58. PaletteData orgpal, pal, pal2;
  59.  
  60. char getkey(void);
  61. void doall(void);
  62. void screenclear(void);
  63. void screengoto(int x, int y);
  64. void beep(void);
  65. extern char doblock(void);
  66. extern char doclip(void);
  67. extern char dofill(void);
  68. extern char dopal(void);
  69. extern char doprims(void);
  70. extern char doprims(void);
  71. extern char doscroll(void);
  72. extern char dotext(void);
  73. extern char do2d(void);
  74. extern char do3d(void);
  75. extern char domouse(void);
  76. extern char dojoystick(void);
  77. extern char dogif(void);
  78.  
  79.  
  80. /*MAGNIFIER MOUSE CURSOR DATA*/
  81. MouseCursor magmousecursor = {
  82.     {7},{6},
  83.     {255,255,255,255,255,7,7,7,7,255,255,255,255,255,255,255,
  84.     255,255,255,7,7,255,255,255,255,7,7,255,255,255,255,255,
  85.     255,255,7,255,255,255,255,255,255,255,255,7,255,255,255,255,
  86.     255,7,255,255,255,255,255,255,255,255,255,255,7,255,255,255,
  87.     255,7,255,255,255,255,255,255,255,255,255,255,7,255,255,255,
  88.     7,255,255,255,255,255,255,255,255,255,255,255,255,7,255,255,
  89.     7,255,255,255,255,255,255,255,255,255,255,255,255,7,255,255,
  90.     7,255,255,255,255,255,255,255,255,255,255,255,255,7,255,255,
  91.     7,255,255,255,255,255,255,255,255,255,255,255,255,7,255,255,
  92.     255,7,255,255,255,255,255,255,255,255,255,255,7,255,255,255,
  93.     255,7,255,255,255,255,255,255,255,255,255,255,7,255,255,255,
  94.     255,7,7,255,255,255,255,255,255,255,255,7,7,255,255,255,
  95.     255,255,7,7,7,255,255,255,255,7,7,7,255,255,255,255,
  96.     255,255,255,7,7,7,7,7,7,8,8,255,255,255,255,255,
  97.     255,255,255,255,255,7,7,7,7,7,8,8,255,255,255,255,
  98.     255,255,255,255,255,255,255,255,255,7,8,8,255,255,255,255,
  99.     255,255,255,255,255,255,255,255,255,255,7,8,8,255,255,255,
  100.     255,255,255,255,255,255,255,255,255,255,7,8,8,255,255,255,
  101.     255,255,255,255,255,255,255,255,255,255,255,7,8,8,255,255,
  102.     255,255,255,255,255,255,255,255,255,255,255,7,8,8,255,255,
  103.     255,255,255,255,255,255,255,255,255,255,255,255,7,8,8,255,
  104.     255,255,255,255,255,255,255,255,255,255,255,255,7,8,8,255,
  105.     255,255,255,255,255,255,255,255,255,255,255,255,255,7,8,8,
  106.     255,255,255,255,255,255,255,255,255,255,255,255,255,7,7,7}
  107. };
  108.  
  109.  
  110. /*BIG ARROW MOUSE CURSOR DATA*/
  111. MouseCursor bigmousecursor = {
  112.     {1},{1},
  113.     {0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,
  114.     0,15,15,0,0,255,255,255,255,255,255,255,255,255,255,255,
  115.     0,15,15,15,15,0,0,0,255,255,255,255,255,255,255,255,
  116.     0,15,15,15,15,15,15,15,0,0,255,255,255,255,255,255,
  117.     0,15,15,15,15,15,15,15,15,15,0,0,0,255,255,255,
  118.     0,15,15,15,15,15,15,15,15,15,15,15,15,0,0,255,
  119.     0,15,15,15,15,15,15,15,15,15,15,15,15,15,0,255,
  120.     0,15,15,15,15,15,15,15,15,15,15,15,0,0,255,255,
  121.     0,15,15,15,15,15,15,15,15,15,15,0,255,255,255,255,
  122.     0,15,15,15,15,15,15,15,15,0,0,255,255,255,255,255,
  123.     0,15,15,15,15,15,15,15,15,0,255,255,255,255,255,255,
  124.     0,15,15,15,15,15,0,15,15,15,0,255,255,255,255,255,
  125.     0,15,15,15,15,0,0,15,15,15,0,255,255,255,255,255,
  126.     0,15,15,0,0,255,255,0,15,15,15,0,255,255,255,255,
  127.     0,15,0,255,255,255,255,0,15,15,15,0,255,255,255,255,
  128.     0,0,255,255,255,255,255,255,0,15,15,15,0,255,255,255,
  129.     255,255,255,255,255,255,255,255,255,0,15,15,15,0,255,255,
  130.     255,255,255,255,255,255,255,255,255,0,15,15,15,0,255,255,
  131.     255,255,255,255,255,255,255,255,255,255,0,15,15,15,0,255,
  132.     255,255,255,255,255,255,255,255,255,255,255,0,15,15,15,0,
  133.     255,255,255,255,255,255,255,255,255,255,255,0,15,15,15,0,
  134.     255,255,255,255,255,255,255,255,255,255,255,255,0,15,15,0,
  135.     255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,
  136.     255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
  137. };
  138.  
  139. /*STOP WATCH MOUSE CURSOR DATA*/
  140. MouseCursor stwmousecursor = {
  141.     {8},{11},
  142.     {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
  143.     255,255,255,255,255,255,15,15,15,15,255,255,255,255,255,255,
  144.     255,255,255,255,255,255,15,15,15,15,255,255,255,255,255,255,
  145.     255,255,255,255,255,255,255,15,15,255,255,255,255,255,255,255,
  146.     255,255,255,255,255,255,15,15,15,15,255,255,255,255,255,255,
  147.     255,255,255,255,15,15,15,7,7,15,15,15,255,255,255,255,
  148.     255,255,255,15,15,7,7,7,7,7,7,15,15,255,255,255,
  149.     255,255,15,15,7,7,7,7,7,7,7,7,15,15,255,255,
  150.     255,15,15,7,0,7,7,7,7,7,7,7,7,15,15,255,
  151.     255,15,7,7,7,0,7,7,7,7,7,7,7,7,15,255,
  152.     15,15,7,7,7,7,0,7,7,7,0,0,7,7,15,15,
  153.     15,7,7,7,7,7,7,0,0,0,7,7,7,7,7,15,
  154.     15,7,7,7,7,7,7,0,0,7,7,7,7,7,7,15,
  155.     15,15,7,7,7,7,7,7,7,7,7,7,7,7,15,15,
  156.     255,15,7,7,7,7,7,7,7,7,7,7,7,7,15,255,
  157.     255,15,15,7,7,7,7,7,7,7,7,7,7,15,15,255,
  158.     255,255,15,15,7,7,7,7,7,7,7,7,15,15,255,255,
  159.     255,255,255,15,15,7,7,7,7,7,7,15,15,255,255,255,
  160.     255,255,255,255,15,15,15,7,7,15,15,15,255,255,255,255,
  161.     255,255,255,255,255,255,15,15,15,15,255,255,255,255,255,255,
  162.     255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
  163.     255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
  164.     255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
  165.     255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
  166. };
  167.  
  168.  
  169. #endif
  170.