[Reverse-engineering] [th04/th05] Player sprite area invalidation
And once again, the TH05 version is un-decompilable. :/ It was pretty
close this time, though, as the entire block between PUSH DI and POP DI
kind of resembles a separate inlined function, in accordance with Turbo
C++'s automatic backup of the DI register, as researched in 7f971a0.
Except that it contains a loop, and Turbo C++ refuses to inline any
function with `do`, `while`, `for`, or `goto`. If it didn't, it would
have totally worked.
Also, yes, C++ class methods are treated identically in this regard.
Oh well. Shot type control functions next, finally!
Completes P0035, funded by zorg.
2019-09-24 18:54:32 +00:00
|
|
|
public _SCROLL_LINE_ON_PLANE, _TILE_INVALIDATE_BOX
|
2018-12-29 23:00:10 +00:00
|
|
|
_scroll_line_on_plane dw 2 dup(?)
|
|
|
|
; Width and height, in screen pixels, of a box around the center passed to
|
|
|
|
; tiles_invalidate_around(). *Not* the radius.
|
|
|
|
_tile_invalidate_box Point <?>
|