TMAP.C 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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/texmap/rcs/tmap.c $
  15. * $Revision: 1.19 $
  16. * $Author: mike $
  17. * $Date: 1994/03/14 15:44:27 $
  18. *
  19. * Texture mapper
  20. *
  21. * $Log: tmap.c $
  22. * Revision 1.19 1994/03/14 15:44:27 mike
  23. * Streamline code, rendering this file obsolete, replaced by ntmap.c
  24. *
  25. * Revision 1.18 1994/02/10 18:35:15 matt
  26. * Got rid of DEBUG_ON define, now replaced by NDEBUG system
  27. *
  28. * Revision 1.17 1994/02/08 15:21:28 mike
  29. * sc2000 stuff.
  30. *
  31. * Revision 1.16 1994/01/31 15:43:01 mike
  32. * who knows, probably a lot of stuff...
  33. *
  34. * Revision 1.15 1994/01/26 11:50:28 mike
  35. * Don't make dark textures not plot.
  36. *
  37. * Revision 1.14 1994/01/21 21:12:53 mike
  38. * sky stuff.
  39. *
  40. * Revision 1.13 1994/01/21 11:58:47 john
  41. * Changed lighting.
  42. *
  43. * Revision 1.12 1994/01/18 10:51:11 mike
  44. * Interface to sky texture mapper.
  45. *
  46. * Revision 1.11 1994/01/14 14:02:43 mike
  47. * *** empty log message ***
  48. *
  49. * Revision 1.10 1993/12/20 13:56:45 mike
  50. * Remove "negative lighting value" message.
  51. *
  52. * Revision 1.9 1993/12/17 19:59:58 mike
  53. * Change lighting.
  54. *
  55. * Revision 1.8 1993/12/07 12:28:01 john
  56. * Moved bmd_palette to gr_palette
  57. *
  58. * Revision 1.7 1993/12/06 13:28:11 mike
  59. * Prevent divide overflow.
  60. *
  61. * Revision 1.6 1993/11/30 17:17:11 john
  62. * *** empty log message ***
  63. *
  64. * Revision 1.5 1993/11/23 18:08:13 mike
  65. * Put in check for under/over flowing lighting values.
  66. *
  67. * Revision 1.4 1993/11/23 15:09:19 mike
  68. * Added lighting to perspective tmapper
  69. *
  70. * Revision 1.3 1993/11/22 10:24:04 mike
  71. * *** empty log message ***
  72. *
  73. * Revision 1.2 1993/10/06 12:41:45 mike
  74. * Change draw_tmap to conform to Matt's new interface.
  75. *
  76. * Revision 1.1 1993/09/08 17:29:09 mike
  77. * Initial revision
  78. *
  79. *
  80. */
  81. #pragma off (unreferenced)
  82. static char rcsid[] = "$Id: tmap.c 1.19 1994/03/14 15:44:27 mike Exp $";
  83. #pragma on (unreferenced)