home *** CD-ROM | disk | FTP | other *** search
/ The Party 1994: Try This At Home / disk_image.bin / source / vexsrc / polygons.h < prev    next >
C/C++ Source or Header  |  1994-08-23  |  1KB  |  48 lines

  1. #ifndef __POLYGONS_H
  2. #define __POYLGONS_H
  3.  
  4. typedef void filllinefn();
  5. typedef void shadelinefn();
  6. typedef void texturelinefn();
  7. extern "C"
  8. {
  9. void polygonsetscreen(int=320, int=0, int=320, int=0, int=200);
  10. void fillpolygon(long (*pts)[2], int n, int col, void (*fill)(), unsigned int scrseg);
  11. void shadepolygon(long (*pts)[2], long* cols, int n, void (*shade), unsigned int scrseg);
  12. void texturepolygon(long (*pts)[2], long (*vert)[2], int n, char* bmp, unsigned wid, int col, void (*texture)(), unsigned int scrseg);
  13. void vshadepolygon(long (*pts)[2], long* cols, int n, void (*shade)(), unsigned int scrseg);
  14. void vtexturepolygon(long (*pts)[2], long (*vert)[2], int n, char* bmp, unsigned wid, int col, void (*texture)(), unsigned int scrseg);
  15.  
  16. //void fillline();
  17. //void filllineor();
  18. //void filllineand();
  19. void xfillline();
  20. void xfillliner();
  21. //void shadeline();
  22. //void shadelinefast();
  23. //void shadelinefastest();
  24. //void xshadeline();
  25. //void xshadelinefast();
  26. //void xshadelinefastest();
  27. void vxshadeline();
  28. void vxshadelined();
  29. void vxshadelineq320();
  30. void vxshadelinedq320();
  31. //void textureline();
  32. //void texturelinex();
  33. //void texturelinefast();
  34. //void texturelinexfast();
  35. //void texturelinefastest();
  36. //void texturelinexfastest();
  37. void xtextureline();
  38. void xtexturelinex();
  39. void xtexturelinefast();
  40. void xtexturelinexfast();
  41. void xtexturelinefastest();
  42. void xtexturelinexfastest();
  43. void vxtextureline();
  44. void vxtexturelinex();
  45. }
  46.  
  47. #endif
  48.