replace texture jump table with dispatch table
This commit is contained in:
15
src/main.asm
15
src/main.asm
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user