mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 14:49:40 +02:00
Merge branch 'develop' of https://github.com/pkali/scorch_src into develop
This commit is contained in:
+21
@@ -2404,6 +2404,7 @@ NoWall
|
|||||||
; X and TankNr - index of shooting tank
|
; X and TankNr - index of shooting tank
|
||||||
; -------------------------------------------------
|
; -------------------------------------------------
|
||||||
mva #sfx_sandhog sfx_effect
|
mva #sfx_sandhog sfx_effect
|
||||||
|
.IF FASTER_GRAF_PROCS = 1
|
||||||
ldy #0 ; byte counter (from 0 to 39)
|
ldy #0 ; byte counter (from 0 to 39)
|
||||||
NextColumn
|
NextColumn
|
||||||
; big loop - we repat internal loops for each column of bytes
|
; big loop - we repat internal loops for each column of bytes
|
||||||
@@ -2438,6 +2439,26 @@ NextLine2
|
|||||||
iny
|
iny
|
||||||
cpy #40
|
cpy #40
|
||||||
bne NextColumn
|
bne NextColumn
|
||||||
|
.ELSE
|
||||||
|
mva #1 color
|
||||||
|
mwa #120 ydraw
|
||||||
|
NextLineSlow
|
||||||
|
lda #0
|
||||||
|
sta xdraw
|
||||||
|
sta xdraw+1
|
||||||
|
NextPixelSlow
|
||||||
|
bit random
|
||||||
|
bpl NoPlot
|
||||||
|
bvc NoPlot
|
||||||
|
jsr plot.MakePlot
|
||||||
|
NoPlot
|
||||||
|
inw xdraw
|
||||||
|
cpw xdraw #screenwidth
|
||||||
|
bne NextPixelSlow
|
||||||
|
dec ydraw
|
||||||
|
dec ydraw
|
||||||
|
bpl NextLineSlow
|
||||||
|
.ENDIF
|
||||||
; and we have "snow" :)
|
; and we have "snow" :)
|
||||||
lda #0
|
lda #0
|
||||||
ldx TankNr
|
ldx TankNr
|
||||||
|
|||||||
Reference in New Issue
Block a user