home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
CPROG
/
WGT_TC21.ZIP
/
EXAMPLE.LST
< prev
next >
Wrap
File List
|
1992-07-16
|
5KB
|
94 lines
Procedure Examples
Procedure: Example program #:
void vga256(void); 1
void wsetcolor(int); 1
void wputpixel(int,int); 2
int wgetpixel(int,int); none
void wsetpalette(int,int,color *); 5,6
void wsetrgb(int,int,int,int,color *); 5,6
void wcolrotate(int,int,int,color[255]); 5,6
void wline(int,int,int,int); 1,4
void wrectangle(int,int,int,int); 4
void wbar(int,int,int,int); 4
void wcircle(int,int,int); 4
void wfill_circle(int,int,int); 4
void wbutt(int,int,int,int); 13
block wnewblock(int,int,int,int); 9
void wflipblock(block ,int); 10
void wputblock(int,int,block ,int); 9,10
void wfreeblock(block ); 9
void wcopyscreen(int,int,int,int,block ,int,int,block ); 16
void wresize(int,int,int,int,block); 11
void wvertres(block,int,int); 21
void wcls(int); 3
void wsetscreen(block) 15
void wnormscreen(void); 15
void wfade(block ,int *,int); 17
void wfade_out(int,int,int,color[255]); 6
void wfade_in(int,int,int,color[255]); 6
int wgetblockwidth(block ); 11
int wgetblockheight(block ); 11
void wretrace(void); none
void minit(void),mon(void),moff(void) 12
mread(void) 12
noclick(void); 13
void msetbounds(int, int, int, int); 12
void mouseshape(int,int,void far *); 13
void msetspeed(int,int); 13
void msetthreshhold(int); none
void wclip(int,int,int,int); 8
int wsaveblock(char *,block ); none
block wloadblock(char *); 21
void wloadpalette(char[12],color *); 21
void wsavepalette(char[12],color *); none
int wsavepak(char *,block ); none
block wloadpak(char *); invader
int wloadpcx256(char *,color *); none
void wtexttransparent(int); 7
void wtextgrid(int); 7
void wtextbackground(unsigned char); 7
void wtextcolor(unsigned char); 7
void wouttextxy(int,int,char *); 7
int wstring (int, int, char *, char *, int); 14
void wsetcursor(int,int); 14
void wflashcursor(void); 14
int curspeed; 14
int xc,yc; 14
void wregionfill(int,int); 8
void wwipe(int,int,int,int,block) 24
int wloadsprites(color *,char *,block[201]); 19
void wfreesprites(block[201]); 19
Large examples: 20,invade6,breakout,missile
NOTICE: Depending on where you copy these files to your hard disk, you will
need to change the directories used in the example files for include files,
blocks, pak files, sprite files, etc.
I had everything in the same output directory as Turbo C uses, in other words
the current directory when you compile (TC\BIN).
Also, a lot of the example files need a mouse. Please check the contents of
the example file. If you don't have a mouse and the program uses one, don't
try compiling it.
Last reminder: When compiling programs which use virtual screens or large
blocks or sprites, make sure the debugger is giving it enough heap space
by setting the program heap space in Options/Debugger.
If something doesn't work right, don't delete the library until you have
contacted me, so I can try to find out what happened. Thanks.
If you are writing to me about the problem, please include the type of
computer, monitor, and mouse you have, and where you put the files included
with the library.