Splash is optional now.

This commit is contained in:
Pecusx
2023-11-06 14:31:52 +01:00
parent aed31b821e
commit 939365a009
4 changed files with 37 additions and 9 deletions
+13 -4
View File
@@ -109,6 +109,8 @@ EndOfUnPlot
.proc plot ;plot (xdraw, ydraw, color)
; color == 1 --> put pixel
; color == 0 --> erase pixel
; xdraw (word) - X coordinate
; ydraw (word) - Y coordinate
; this is one of the most important routines in the whole
; game. If you are going to speed up the game, start with
; plot - it is used by every single effect starting from explosions
@@ -165,9 +167,11 @@ ClearPlot
.proc ExPlot ;ExPlot (EplotX, EplotY)
; EOR plot:
; Inverts color of a pixel
; EplotX (word) - X coordinate
; EplotY (byte) - Y coordinate
; Note: No coordinate control!!!
; With off-screen coordinates, it can damage main program.
; only for ingame meteors
; only for ingame meteors - for Atari only
; -----------------------------------------
; let's calculate coordinates from xdraw and ydraw
;xbyte = xbyte/8
@@ -195,8 +199,10 @@ ClearPlot
; -----------------------------------------
.proc point_plot
; -----------------------------------------
; checks state of the pixel (coordinates in xdraw and ydraw)
; result is in A (zero or appropriate bit is set)
; checks state of the pixel (coordinates in xdraw and ydraw)
; xdraw (word) - X coordinate
; ydraw (word) - Y coordinate
; result is in A (zero or appropriate bit is set)
; let's calculate coordinates from xdraw and ydraw
@@ -227,6 +233,9 @@ ClearPlot
;--------------------------------------------------
.proc drawmountains
;--------------------------------------------------
; draw mountains from mountaintable
; ClearSky - $ff Crear sky during drawmountains, 0 - no clear sky
mwa #0 xdraw
mwa #mountaintable modify ; mountaintable pointer
mva #1 color
@@ -424,7 +433,7 @@ NothingToFall
;--------------------------------------------------
.proc SoilDownTurbo
;--------------------------------------------------
; fast SoilDown froc - test
; fast SoilDown proc
jsr ClearTanks
NoClearTanks
jsr CalcAndDrawMountains