mirror of
https://github.com/blondie7575/GSCats.git
synced 2024-11-25 10:30:49 +00:00
Cleanup
This commit is contained in:
parent
d2c5ef675f
commit
3e5a8ab86f
@ -58,7 +58,7 @@ gameplayLoop:
|
||||
; beq gameplayLoopKbd
|
||||
BORDER_COLOR #$3
|
||||
jsr renderTerrainSpans
|
||||
jsr unrenderTerrainSpans
|
||||
; jsr unrenderTerrainSpans
|
||||
|
||||
stz terrainDirty
|
||||
BORDER_COLOR #$1
|
||||
|
BIN
gscats.2mg
BIN
gscats.2mg
Binary file not shown.
@ -11,6 +11,8 @@ COMPILEDTERRAINROW = TERRAINWIDTH/4+3 ; In words, +2 to make room for clipping j
|
||||
VISIBLETERRAINWIDTH = TERRAINWIDTH/4 ; In words- width minus jump return padding
|
||||
VISIBLETERRAINWINDOW = 80 ; In words
|
||||
MAXSPANSPERROW = 15
|
||||
SPANROWBYTES = MAXSPANSPERROW*2 + 2 ; In bytes
|
||||
|
||||
|
||||
.if 0
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
@ -118,7 +120,7 @@ renderTerrainRowSpans:
|
||||
|
||||
; Find row data
|
||||
lda PARAML1
|
||||
asl ; Shifts must match MAXSPANSPERROW*2 + 2
|
||||
asl ; Shifts must match SPANROWBYTES
|
||||
asl
|
||||
asl
|
||||
asl
|
||||
@ -647,7 +649,7 @@ compileTerrainSpansRow:
|
||||
SAVE_AXY
|
||||
|
||||
lda PARAML1
|
||||
asl ; Shifts must match MAXSPANSPERROW*2 + 2
|
||||
asl ; Shifts must match SPANROWBYTES
|
||||
asl
|
||||
asl
|
||||
asl
|
||||
|
Loading…
Reference in New Issue
Block a user