Difference for texmap/ntmap.c from version 1.2 to 1.3


version 1.2 version 1.3
Line 19
 
Line 19
  * Start of conversion to new texture mapper.   * Start of conversion to new texture mapper.
  *    *
  * $Log$   * $Log$
    * Revision 1.3  1999/08/05 22:53:41  sekmu
    *
    * D3D patch(es) from ADB
    *
  * Revision 1.2  1999/07/07 21:31:09  donut   * Revision 1.2  1999/07/07 21:31:09  donut
  * removed unused vars from ntmap_scanline_lighted and slightly optomized it   * removed unused vars from ntmap_scanline_lighted and slightly optomized it
  *   *
Line 803
 
Line 807
   
  switch (Lighting_enabled) {   switch (Lighting_enabled) {
  case 0:   case 0:
    //added 07/11/99 adb - prevent writing before the buffer
    if (fx_xleft < 0)
    fx_xleft = 0;
    //end addition -adb
   
                                 #ifdef NO_ASM                                  #ifdef NO_ASM
  c_tmap_scanline_lin_nolight();   c_tmap_scanline_lin_nolight();
  #else   #else
Line 823
 
Line 832
  lleft = MAX_LIGHTING_VALUE*NUM_LIGHTING_LEVELS;   lleft = MAX_LIGHTING_VALUE*NUM_LIGHTING_LEVELS;
  if (lright > MAX_LIGHTING_VALUE*NUM_LIGHTING_LEVELS)   if (lright > MAX_LIGHTING_VALUE*NUM_LIGHTING_LEVELS)
  lright = MAX_LIGHTING_VALUE*NUM_LIGHTING_LEVELS;   lright = MAX_LIGHTING_VALUE*NUM_LIGHTING_LEVELS;
   
    //added 07/11/99 adb - prevent writing before the buffer
    if (fx_xleft < 0)
    fx_xleft = 0;
    //end addition -adb
   
 {  {
  fix mul_thing;   fix mul_thing;
   

Legend:
line(s) removed in v.1.2 
line(s) changed
 line(s) added in v.1.3