mirror of
https://github.com/lscharen/iigs-game-engine.git
synced 2024-11-18 15:07:24 +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)
|
||||
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
|
||||
GetTileStoreOffset EXT ; X = column, Y = row
|
||||
TileStore EXT ; Tile store internal data structure
|
||||
|
@ -698,6 +698,14 @@ _PopDirtyTile2 ; alternate entry point
|
||||
rts
|
||||
|
||||
; Run through the dirty tile list and render them into the code field
|
||||
ApplyTiles ENT
|
||||
phb
|
||||
phk
|
||||
plb
|
||||
jsr _ApplyTiles
|
||||
plb
|
||||
rtl
|
||||
|
||||
_ApplyTiles
|
||||
bra :begin
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user