mirror of
https://github.com/blondie7575/GSCats.git
synced 2024-11-22 06:31:48 +00:00
Basic unrendering of spans working
This commit is contained in:
parent
157ec99cc7
commit
ee9645c47d
@ -58,7 +58,8 @@ gameplayLoop:
|
||||
; beq gameplayLoopKbd
|
||||
BORDER_COLOR #$3
|
||||
jsr renderTerrainSpans
|
||||
; jsr unrenderTerrainSpans
|
||||
jsr unrenderTerrainSpans
|
||||
|
||||
stz terrainDirty
|
||||
BORDER_COLOR #$1
|
||||
|
||||
@ -226,7 +227,7 @@ endGame:
|
||||
;
|
||||
scrollMap:
|
||||
; jsr unclipTerrain
|
||||
jsr unrenderTerrainSpans
|
||||
; jsr unrenderTerrainSpans
|
||||
jsr unrenderPlayers
|
||||
jsr unrenderProjectiles
|
||||
|
||||
|
BIN
gscats.2mg
BIN
gscats.2mg
Binary file not shown.
@ -76,7 +76,7 @@ renderTerrainSpansLoop:
|
||||
sta PARAML1
|
||||
jsr renderTerrainRowSpans
|
||||
dec
|
||||
bpl renderTerrainSpansLoop
|
||||
bne renderTerrainSpansLoop
|
||||
|
||||
pla
|
||||
rts
|
||||
@ -133,8 +133,6 @@ renderTerrainRowSpans:
|
||||
lda #200
|
||||
sec
|
||||
sbc PARAML1
|
||||
tax
|
||||
;jsr enableFillMode
|
||||
asl
|
||||
tax
|
||||
lda vramYOffset,x
|
||||
@ -206,6 +204,7 @@ renderTerrainRowSpansDone:
|
||||
RESTORE_AXY
|
||||
rts
|
||||
|
||||
|
||||
.if 0
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; renderTerrainFillMode:
|
||||
|
Loading…
Reference in New Issue
Block a user