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 >
File List  |  1992-07-16  |  5KB  |  94 lines

  1. Procedure Examples
  2.  
  3.  
  4. Procedure:                              Example program #:
  5.  
  6. void vga256(void);                        1
  7. void wsetcolor(int);                                       1
  8. void wputpixel(int,int);                                    2
  9. int wgetpixel(int,int);                        none
  10. void wsetpalette(int,int,color *);                          5,6
  11. void wsetrgb(int,int,int,int,color *);                      5,6
  12. void wcolrotate(int,int,int,color[255]);                    5,6
  13. void wline(int,int,int,int);                                1,4
  14. void wrectangle(int,int,int,int);                           4
  15. void wbar(int,int,int,int);                                 4
  16. void wcircle(int,int,int);                                  4
  17. void wfill_circle(int,int,int);                             4
  18. void wbutt(int,int,int,int);                                13
  19. block wnewblock(int,int,int,int);                           9
  20. void wflipblock(block ,int);                                10
  21. void wputblock(int,int,block ,int);                         9,10
  22. void wfreeblock(block );                                    9
  23. void wcopyscreen(int,int,int,int,block ,int,int,block );    16
  24. void wresize(int,int,int,int,block);                        11
  25. void wvertres(block,int,int);                    21
  26. void wcls(int);                                             3
  27. void wsetscreen(block)                                      15
  28. void wnormscreen(void);                                     15
  29. void wfade(block ,int *,int);                    17
  30. void wfade_out(int,int,int,color[255]);                     6
  31. void wfade_in(int,int,int,color[255]);                      6
  32. int wgetblockwidth(block );                                 11
  33. int wgetblockheight(block );                                11
  34. void wretrace(void);                        none
  35.  
  36. void minit(void),mon(void),moff(void)                12
  37. mread(void)                            12
  38. noclick(void);                                              13
  39.  
  40. void msetbounds(int, int, int, int);                        12
  41. void mouseshape(int,int,void far *);                13
  42. void msetspeed(int,int);                                    13
  43. void msetthreshhold(int);                    none
  44. void wclip(int,int,int,int);                                8
  45. int wsaveblock(char *,block );                    none
  46. block wloadblock(char *);                                   21
  47. void wloadpalette(char[12],color *);                        21
  48. void wsavepalette(char[12],color *);                        none
  49. int wsavepak(char *,block );                                none
  50. block wloadpak(char *);                                     invader
  51. int wloadpcx256(char *,color *);                            none
  52.  
  53. void wtexttransparent(int);                                 7
  54. void wtextgrid(int);                                        7
  55. void wtextbackground(unsigned char);                        7
  56. void wtextcolor(unsigned char);                             7
  57. void wouttextxy(int,int,char *);                            7
  58. int  wstring (int, int, char *, char *, int);            14
  59. void wsetcursor(int,int);                                   14
  60. void wflashcursor(void);                                    14
  61. int curspeed;                                               14
  62. int xc,yc;                            14
  63.  
  64. void  wregionfill(int,int);                                 8
  65.  
  66. void wwipe(int,int,int,int,block)                24
  67.  
  68. int wloadsprites(color *,char *,block[201]);                19
  69. void wfreesprites(block[201]);                              19
  70.  
  71.  
  72.  
  73. Large examples: 20,invade6,breakout,missile
  74.  
  75. NOTICE:  Depending on where you copy these files to your hard disk, you will
  76. need to change the directories used in the example files for include files,
  77. blocks, pak files, sprite files, etc.
  78. I had everything in the same output directory as Turbo C uses, in other words
  79. the current directory when you compile (TC\BIN).
  80. Also, a lot of the example files need a mouse. Please check the contents of
  81. the example file. If you don't have a mouse and the program uses one, don't
  82. try compiling it.
  83. Last reminder: When compiling programs which use virtual screens or large 
  84. blocks or sprites, make sure the debugger is giving it enough heap space
  85. by setting the program heap space in Options/Debugger.
  86.  
  87. If something doesn't work right, don't delete the library until you have
  88. contacted me, so I can try to find out what happened. Thanks.
  89. If you are writing to me about the problem, please include the type of 
  90. computer, monitor, and mouse you have, and where you put the files included
  91. with the library.
  92.  
  93.  
  94.