TEXMERGE.H 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*
  2. THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
  3. SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
  4. END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
  5. ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
  6. IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
  7. SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
  8. FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
  9. CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
  10. AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
  11. COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
  12. */
  13. /*
  14. * $Source: f:/miner/source/main/rcs/texmerge.h $
  15. * $Revision: 2.0 $
  16. * $Author: john $
  17. * $Date: 1995/02/27 11:28:05 $
  18. *
  19. * Definitions for texture merging caching stuff.
  20. *
  21. * $Log: texmerge.h $
  22. * Revision 2.0 1995/02/27 11:28:05 john
  23. * New version 2.0, which has no anonymous unions, builds with
  24. * Watcom 10.0, and doesn't require parsing BITMAPS.TBL.
  25. *
  26. * Revision 1.4 1995/01/14 19:16:26 john
  27. * First version of new bitmap paging code.
  28. *
  29. * Revision 1.3 1994/01/21 15:23:26 john
  30. * made texmerge_close return void.
  31. *
  32. *
  33. * Revision 1.2 1994/01/21 15:16:01 john
  34. * Created new module texmerge, that merges textures together and
  35. * caches the results.
  36. *
  37. * Revision 1.1 1994/01/21 15:03:36 john
  38. * Initial revision
  39. *
  40. *
  41. */
  42. #ifndef _TEXMERGE_H
  43. #define _TEXMERGE_H
  44. int texmerge_init(int num_cached_textures);
  45. grs_bitmap * texmerge_get_cached_bitmap( int tmap_bottom, int tmap_top );
  46. void texmerge_close();
  47. void texmerge_flush();
  48. #endif
  49.