mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-10-05 19:54:38 +00:00
Indicate which section is drawn with draw_section pointer now
This commit is contained in:
parent
04fff67eea
commit
1a2f49a117
@ -43,6 +43,7 @@ SECTION_X_START = $60 ; X Offset relative to current section being drawn
|
|||||||
SECTION_Y_START = $61 ; Y Offset relative to current section being drawn
|
SECTION_Y_START = $61 ; Y Offset relative to current section being drawn
|
||||||
DRAW_WIDTH = $62 ; Number of columns to draw for current section
|
DRAW_WIDTH = $62 ; Number of columns to draw for current section
|
||||||
DRAW_HEIGTH = $63 ; Number of rows to draw for current section
|
DRAW_HEIGTH = $63 ; Number of rows to draw for current section
|
||||||
|
DRAW_SECTION = $64 ; Location of section data being drawn
|
||||||
|
|
||||||
; >> INIT (reset map drawing vars)
|
; >> INIT (reset map drawing vars)
|
||||||
INIT
|
INIT
|
||||||
@ -310,6 +311,7 @@ CROSS_WEST
|
|||||||
SEC
|
SEC
|
||||||
SBC SECTION_Y_START
|
SBC SECTION_Y_START
|
||||||
STA DRAW_HEIGHT
|
STA DRAW_HEIGHT
|
||||||
|
!move_word ptr, DRAW_SECTION
|
||||||
jsr mainDraw
|
jsr mainDraw
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user