Comparing files DRAWPOLY.ASM and drawpoly.old
****** DRAWPOLY.ASM
_TextureIndex   dd      2

        ;               00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,3
4,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63
TextureTable    db      00,00,00,00,00,00,01,02,03,04,05,06,07,08,09,10,26,00,00,00,00,11,12,13,14,15,16,17,18,19,20,21,32,33,3
4,35,36,37,38,39,40,41,42,43,44,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00                ; Road 1
                db      00,00,00,00,00,00,01,02,03,04,05,06,07,08,09,10,00,00,00,00,00,11,12,13,14,15,22,23,24,25,26,21,32,33,3
4,35,36,37,38,39,40,41,42,43,44,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00                ; Road 2
                db      00,00,00,00,00,00,01,02,03,04,05,06,07,08,09,10,00,00,00,00,00,11,12,13,14,15,27,28,29,30,31,31,32,33,3
4,35,36,37,38,39,40,41,42,43,44,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00                ; Menu
                db      00,00,00,00,00,00,00,00,00,00,00,00,00,32,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,0
0,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00                ; Galaxians

endif
****** drawpoly.old
_TextureIndex   dd      2
        ;               00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31
TextureTable    db      00,00,00,00,00,00,01,02,03,04,05,06,07,08,09,10,00,00,00,00,00,11,12,13,14,15,16,17,18,19,20,21
                db      00,00,00,00,00,00,01,02,03,04,05,06,07,08,09,10,00,00,00,00,00,11,12,13,14,15,22,23,24,25,26,27
                db      00,00,00,00,00,00,01,02,03,04,05,06,07,08,09,10,00,00,00,00,00,11,12,13,14,15,27,28,29,30,31,00
                db      00,00,00,00,00,00,00,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32
endif
******

****** DRAWPOLY.ASM

                and     eax,3fh                 ;Changed to allow more textures
                mov     ebx,[_TextureIndex]
****** drawpoly.old

                and     eax,1fh
                mov     ebx,[_TextureIndex]
******

****** DRAWPOLY.ASM
                and     ebx,3
                sal     ebx,6                   ; Changed for more textures AJY
                mov     al,[ebx+eax+TextureTable]
****** drawpoly.old
                and     ebx,3
                sal     ebx,5
                mov     al,[ebx+eax+TextureTable]
******

****** DRAWPOLY.ASM
                mov     esi,offset CoordList
                mov     edi,offset _curclip

****** drawpoly.old
                mov     esi,offset CoordList

******

****** DRAWPOLY.ASM

                sub     ax,[edi.WinLeft]
                cmp     ax,[edi.WinWidth]
                jnbe    @@err

                sub     bx,[edi.WinTop]
                cmp     bx,[edi.WinHeight]
                jnbe    @@err

****** drawpoly.old

                sub     ax,[esi.WinLeft]
                cmp     ax,[edi.WinWidth]
                jnc     @@err

                sub     bx,[esi.WinTop]
                cmp     bx,[edi.WinHeight]
                jnc     @@err

******


