Revert "Remove zoom plugin"

This reverts commit 1f7ab3114e.
This commit is contained in:
Adam
2018-10-11 07:43:54 -04:00
committed by Magic fTail
parent b988fe5a81
commit 78cbf47b83
11 changed files with 905 additions and 6 deletions

View File

@@ -0,0 +1,83 @@
.id 1049
.int_stack_count 0
.string_stack_count 0
.int_var_count 6
.string_var_count 0
; locals
; 0 resizableZoomRange
; 1 fixedZoomRange
; 2 bar size
load_int 896
load_string "resizableInnerZoomLimit"
runelite_callback
load_int 128
load_string "resizableOuterZoomLimit"
runelite_callback
isub
istore 0
load_int 896
load_string "fixedInnerZoomLimit"
runelite_callback
load_int 128
load_string "fixedOuterZoomLimit"
runelite_callback
isub
istore 1
load_int 17104905
widget_get_width_widget
load_int 17104911
widget_get_width_widget
isub
istore 2
load_int 0
istore 3
load_int 0
istore 4
get_viewport_size
istore 4
istore 3
load_int 0
istore 5
iload 3
load_int 334
if_icmpgt LABEL27
jump LABEL36
LABEL27:
get_varc 74
load_int 128
load_string "resizableOuterZoomLimit"
runelite_callback
isub
iload 2
load_string "zoomExpToLin"
runelite_callback
pop_int
iload 2
imul
iload 0
idiv
istore 5
jump LABEL44
LABEL36:
get_varc 73
load_int 128
load_string "fixedOuterZoomLimit"
runelite_callback
isub
iload 2
load_string "zoomExpToLin"
runelite_callback
pop_int
iload 2
imul
iload 1
idiv
istore 5
LABEL44:
iload 5
load_int 0
load_int 0
load_int 0
load_int 17104911
widget_put_position_widget
return