mirror of
https://github.com/lscharen/iigs-game-engine.git
synced 2025-02-19 13:30:30 +00:00
Expose the ApplyTiles subroutine
This commit is contained in:
parent
11bbe7be3d
commit
b4155dc751
@ -46,6 +46,7 @@ GetTileAddr EXT
|
|||||||
|
|
||||||
PushDirtyTile EXT ; A = address from GetTileStoreOffset, marks as dirty (will not mark the same tile more than once)
|
PushDirtyTile EXT ; A = address from GetTileStoreOffset, marks as dirty (will not mark the same tile more than once)
|
||||||
PopDirtyTile EXT ; No args, returns Y with tile store offset of the dirty tile
|
PopDirtyTile EXT ; No args, returns Y with tile store offset of the dirty tile
|
||||||
|
ApplyTiles EXT ; Drain the dirty tile queue and call RenderTile on each
|
||||||
RenderTile EXT ; Y = address from GetTileStoreOffset
|
RenderTile EXT ; Y = address from GetTileStoreOffset
|
||||||
GetTileStoreOffset EXT ; X = column, Y = row
|
GetTileStoreOffset EXT ; X = column, Y = row
|
||||||
TileStore EXT ; Tile store internal data structure
|
TileStore EXT ; Tile store internal data structure
|
||||||
|
@ -698,6 +698,14 @@ _PopDirtyTile2 ; alternate entry point
|
|||||||
rts
|
rts
|
||||||
|
|
||||||
; Run through the dirty tile list and render them into the code field
|
; Run through the dirty tile list and render them into the code field
|
||||||
|
ApplyTiles ENT
|
||||||
|
phb
|
||||||
|
phk
|
||||||
|
plb
|
||||||
|
jsr _ApplyTiles
|
||||||
|
plb
|
||||||
|
rtl
|
||||||
|
|
||||||
_ApplyTiles
|
_ApplyTiles
|
||||||
bra :begin
|
bra :begin
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user