Remove unfinished overlay routine

This commit is contained in:
Ry 2022-07-26 16:09:00 -07:00
parent 2c6b0963de
commit ab0a8e62db
3 changed files with 2 additions and 14 deletions

View File

@ -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]

View File

@ -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

View File

@ -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: