Remove unfinished overlay routine
This commit is contained in:
parent
2c6b0963de
commit
ab0a8e62db
|
@ -41,9 +41,8 @@ draw_font_tile_to_overlay: jmp [0xF0043014]
|
||||||
draw_tile_to_overlay: jmp [0xF0043018]
|
draw_tile_to_overlay: jmp [0xF0043018]
|
||||||
draw_pixel_to_overlay: jmp [0xF004301C]
|
draw_pixel_to_overlay: jmp [0xF004301C]
|
||||||
draw_filled_rectangle_to_overlay: jmp [0xF0043020]
|
draw_filled_rectangle_to_overlay: jmp [0xF0043020]
|
||||||
find_overlay_covering_position: jmp [0xF0043024]
|
check_if_overlay_covers_position: jmp [0xF0043024]
|
||||||
check_if_overlay_covers_position: jmp [0xF0043028]
|
check_if_enabled_overlay_covers_position: jmp [0xF0043028]
|
||||||
check_if_enabled_overlay_covers_position: jmp [0xF004302C]
|
|
||||||
|
|
||||||
; menu bar jump table
|
; menu bar jump table
|
||||||
enable_menu_bar: jmp [0xF0044000]
|
enable_menu_bar: jmp [0xF0044000]
|
||||||
|
|
1
main.asm
1
main.asm
|
@ -187,7 +187,6 @@ get_rom_version:
|
||||||
data.32 draw_tile_to_overlay
|
data.32 draw_tile_to_overlay
|
||||||
data.32 draw_pixel_to_overlay
|
data.32 draw_pixel_to_overlay
|
||||||
data.32 draw_filled_rectangle_to_overlay
|
data.32 draw_filled_rectangle_to_overlay
|
||||||
data.32 find_overlay_covering_position
|
|
||||||
data.32 check_if_overlay_covers_position
|
data.32 check_if_overlay_covers_position
|
||||||
data.32 check_if_enabled_overlay_covers_position
|
data.32 check_if_enabled_overlay_covers_position
|
||||||
|
|
||||||
|
|
10
overlay.asm
10
overlay.asm
|
@ -284,16 +284,6 @@ draw_hex_to_overlay:
|
||||||
pop r5
|
pop r5
|
||||||
ret
|
ret
|
||||||
|
|
||||||
; finds the overlay with the highest priority covering the specified position
|
|
||||||
; does not check overlay 31, which is always the mouse pointer
|
|
||||||
; inputs:
|
|
||||||
; r0: X coordinate
|
|
||||||
; r1: Y coordinate
|
|
||||||
; outputs:
|
|
||||||
; r0: overlay number
|
|
||||||
find_overlay_covering_position:
|
|
||||||
; TODO:
|
|
||||||
|
|
||||||
; checks if the specified overlay is covering the specified position on screen
|
; checks if the specified overlay is covering the specified position on screen
|
||||||
; the overlay can be enabled or disabled
|
; the overlay can be enabled or disabled
|
||||||
; example:
|
; example:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user