mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-21 06:39:46 +02:00
Meteors as compilation option
This commit is contained in:
+3
-1
@@ -161,12 +161,14 @@ ClearPlot
|
||||
rts
|
||||
.endp
|
||||
|
||||
.IF METEORS = 1
|
||||
; -----------------------------------------
|
||||
.proc ExPlot ;ExPlot (EplotX, EplotY)
|
||||
; EOR plot:
|
||||
; Inverts color of a pixel
|
||||
; Note: No coordinate control!!!
|
||||
; With off-screen coordinates, it can damage main program.
|
||||
; only for ingame meteors
|
||||
; -----------------------------------------
|
||||
; let's calculate coordinates from xdraw and ydraw
|
||||
;xbyte = xbyte/8
|
||||
@@ -190,7 +192,7 @@ ClearPlot
|
||||
sta (EplotByte),y
|
||||
rts
|
||||
.endp
|
||||
|
||||
.ENDIF
|
||||
; -----------------------------------------
|
||||
.proc point_plot
|
||||
; -----------------------------------------
|
||||
|
||||
@@ -143,7 +143,7 @@ lab2
|
||||
; ------- RMT -------
|
||||
SkipRMTVBL
|
||||
; ------ meteors ------ start
|
||||
.IF TARGET = 5200 .OR CART_VERSION = 1
|
||||
.IF METEORS = 1
|
||||
ldx #0
|
||||
bit Mcounter
|
||||
bpl MeteorOnSky
|
||||
@@ -287,7 +287,7 @@ exit
|
||||
rti
|
||||
.ENDIF
|
||||
; ------ meteors plot/flight subroutine ------ start
|
||||
.IF TARGET = 5200 .OR CART_VERSION = 1
|
||||
.IF METEORS = 1
|
||||
GoMplot
|
||||
lda Mpoint1Y,x
|
||||
cmp #64
|
||||
|
||||
Reference in New Issue
Block a user