| version 1.2 | | version 1.3 |
|---|
| | |
| * 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 |
| * | | * |
| | |
| | | |
| 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 |
| | |
| 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; |
| | | |