home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 14
/
CD_ASCQ_14_0694.iso
/
maj
/
4524
/
svgademo.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-05-09
|
7KB
|
170 lines
/****************************************************************************
'SVGACC' A Super Vga Graphics Library for use with Microsoft and
Borland C/C++
Copyright 1993-1994 by Stephen L. Balkum and Daniel A. Sill
GIF and 'Graphics Intechange Format' are trademarks (tm) of
Compuserve, Incorporated, an H&R Block Company.
**************** UNREGISTERD SHAREWARE VERSION ***********************
* FOR EVUALATION ONLY. NOT FOR RESALE IN ANY FORM. SOFTWARE WRITTEN *
* USING THIS UNREGISTERED SHAREWARE GRAPHICS LIBRARY MAY NOT BY SOLD *
* OR USED FOR ANY PURPOSE OTHER THAN THE EVUALTION OF THIS LIBRARY. *
**********************************************************************
**************** NO WARRANTIES AND NO LIABILITY **********************
* Stephen L. Balkum and Daniel A. Sill provide no warranties, either *
* expressed or implied, of merchantability, or fitness, for a *
* particular use or purpose of this SOFTWARE and documentation. *
* In no event shall Stephen L. Balkum or Daniel A. Sill be held *
* liable for any damages resulting from the use or misuse of the *
* SOFTWARE and documentation. *
**********************************************************************
************** U.S. GOVERNMENT RESTRICTED RIGHTS *********************
* Use, duplication, or disclosure of the SOFTWARE and documentation *
* by the U.S. Government is subject to the restictions as set forth *
* in subparagraph (c)(1)(ii) of the Rights in Technical Data and *
* Computer Software cluse at DFARS 252.227-7013. *
* Contractor/manufacturer is Stephen L. Balkum and Daniel A. Sill, *
* P.O. Box 7704, Austin, Texas 78713-7704 *
**********************************************************************
**********************************************************************
* By using this SOFTWARE or documentation, you agree to the above *
* terms and conditions. *
**********************************************************************
***************************************************************************/
#define TITLEN 85
#ifdef MODULE
extern endit;
extern PaletteData orgpal, pal, pal2;
extern MouseCursor magmousecursor;
extern MouseCursor bigmousecursor;
extern MouseCursor stwmousecursor;
extern byte spritedata[];
extern char getkey(void);
extern void beep(void);
#else
int endit;
PaletteData orgpal, pal, pal2;
char getkey(void);
void doall(void);
void screenclear(void);
void screengoto(int x, int y);
void beep(void);
extern char doblock(void);
extern char doclip(void);
extern char dofill(void);
extern char dopal(void);
extern char doprims(void);
extern char doprims(void);
extern char doscroll(void);
extern char dotext(void);
extern char do2d(void);
extern char do3d(void);
extern char domouse(void);
extern char dojoystick(void);
extern char dogif(void);
/*MAGNIFIER MOUSE CURSOR DATA*/
MouseCursor magmousecursor = {
{7},{6},
{255,255,255,255,255,7,7,7,7,255,255,255,255,255,255,255,
255,255,255,7,7,255,255,255,255,7,7,255,255,255,255,255,
255,255,7,255,255,255,255,255,255,255,255,7,255,255,255,255,
255,7,255,255,255,255,255,255,255,255,255,255,7,255,255,255,
255,7,255,255,255,255,255,255,255,255,255,255,7,255,255,255,
7,255,255,255,255,255,255,255,255,255,255,255,255,7,255,255,
7,255,255,255,255,255,255,255,255,255,255,255,255,7,255,255,
7,255,255,255,255,255,255,255,255,255,255,255,255,7,255,255,
7,255,255,255,255,255,255,255,255,255,255,255,255,7,255,255,
255,7,255,255,255,255,255,255,255,255,255,255,7,255,255,255,
255,7,255,255,255,255,255,255,255,255,255,255,7,255,255,255,
255,7,7,255,255,255,255,255,255,255,255,7,7,255,255,255,
255,255,7,7,7,255,255,255,255,7,7,7,255,255,255,255,
255,255,255,7,7,7,7,7,7,8,8,255,255,255,255,255,
255,255,255,255,255,7,7,7,7,7,8,8,255,255,255,255,
255,255,255,255,255,255,255,255,255,7,8,8,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,7,8,8,255,255,255,
255,255,255,255,255,255,255,255,255,255,7,8,8,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,7,8,8,255,255,
255,255,255,255,255,255,255,255,255,255,255,7,8,8,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,7,8,8,255,
255,255,255,255,255,255,255,255,255,255,255,255,7,8,8,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,7,8,8,
255,255,255,255,255,255,255,255,255,255,255,255,255,7,7,7}
};
/*BIG ARROW MOUSE CURSOR DATA*/
MouseCursor bigmousecursor = {
{1},{1},
{0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,
0,15,15,0,0,255,255,255,255,255,255,255,255,255,255,255,
0,15,15,15,15,0,0,0,255,255,255,255,255,255,255,255,
0,15,15,15,15,15,15,15,0,0,255,255,255,255,255,255,
0,15,15,15,15,15,15,15,15,15,0,0,0,255,255,255,
0,15,15,15,15,15,15,15,15,15,15,15,15,0,0,255,
0,15,15,15,15,15,15,15,15,15,15,15,15,15,0,255,
0,15,15,15,15,15,15,15,15,15,15,15,0,0,255,255,
0,15,15,15,15,15,15,15,15,15,15,0,255,255,255,255,
0,15,15,15,15,15,15,15,15,0,0,255,255,255,255,255,
0,15,15,15,15,15,15,15,15,0,255,255,255,255,255,255,
0,15,15,15,15,15,0,15,15,15,0,255,255,255,255,255,
0,15,15,15,15,0,0,15,15,15,0,255,255,255,255,255,
0,15,15,0,0,255,255,0,15,15,15,0,255,255,255,255,
0,15,0,255,255,255,255,0,15,15,15,0,255,255,255,255,
0,0,255,255,255,255,255,255,0,15,15,15,0,255,255,255,
255,255,255,255,255,255,255,255,255,0,15,15,15,0,255,255,
255,255,255,255,255,255,255,255,255,0,15,15,15,0,255,255,
255,255,255,255,255,255,255,255,255,255,0,15,15,15,0,255,
255,255,255,255,255,255,255,255,255,255,255,0,15,15,15,0,
255,255,255,255,255,255,255,255,255,255,255,0,15,15,15,0,
255,255,255,255,255,255,255,255,255,255,255,255,0,15,15,0,
255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
};
/*STOP WATCH MOUSE CURSOR DATA*/
MouseCursor stwmousecursor = {
{8},{11},
{255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,15,15,15,15,255,255,255,255,255,255,
255,255,255,255,255,255,15,15,15,15,255,255,255,255,255,255,
255,255,255,255,255,255,255,15,15,255,255,255,255,255,255,255,
255,255,255,255,255,255,15,15,15,15,255,255,255,255,255,255,
255,255,255,255,15,15,15,7,7,15,15,15,255,255,255,255,
255,255,255,15,15,7,7,7,7,7,7,15,15,255,255,255,
255,255,15,15,7,7,7,7,7,7,7,7,15,15,255,255,
255,15,15,7,0,7,7,7,7,7,7,7,7,15,15,255,
255,15,7,7,7,0,7,7,7,7,7,7,7,7,15,255,
15,15,7,7,7,7,0,7,7,7,0,0,7,7,15,15,
15,7,7,7,7,7,7,0,0,0,7,7,7,7,7,15,
15,7,7,7,7,7,7,0,0,7,7,7,7,7,7,15,
15,15,7,7,7,7,7,7,7,7,7,7,7,7,15,15,
255,15,7,7,7,7,7,7,7,7,7,7,7,7,15,255,
255,15,15,7,7,7,7,7,7,7,7,7,7,15,15,255,
255,255,15,15,7,7,7,7,7,7,7,7,15,15,255,255,
255,255,255,15,15,7,7,7,7,7,7,15,15,255,255,255,
255,255,255,255,15,15,15,7,7,15,15,15,255,255,255,255,
255,255,255,255,255,255,15,15,15,15,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
};
#endif