replace texture jump table with dispatch table

(cherry picked from commit 88f10f9f06)
This commit is contained in:
2026-04-24 10:12:23 +02:00
parent b0758c6976
commit f0656aca40
6 changed files with 92 additions and 47 deletions

View File

@@ -1,19 +1,6 @@
include consts/screen
;
; Screen initialization
;
; r1 = screen parameter value
mov r1, screen.mode_index
screen r1, screen.mode_value
mov r1, screen.offset_index
add r2, zr, ptr.screen
screen r1, r2
mov r1, screen.resolution_index
screen r1, screen.resolution_value
include init
call drawing.draw_whole_map