Add option to require control to be held for zooming

This commit is contained in:
Magic fTail
2018-10-01 02:48:36 +02:00
parent de8047bbd6
commit c367488e61
4 changed files with 117 additions and 4 deletions

View File

@@ -0,0 +1 @@
49E9E1634C15928A1C5F03B8949E68C741D508A18B528CCB4B6D080EF29180D8

View File

@@ -0,0 +1,48 @@
.id 39
.int_stack_count 1
.string_stack_count 0
.int_var_count 4
.string_var_count 0
load_int 1
load_int 0
load_string "scrollWheelZoom"
runelite_callback
if_icmpeq LABEL18
load_int 0
iload 0
load_int 5
imul
isub
istore 1
load_int 320
istore 2
load_int 256
istore 3
get_varbit 6357
load_int 0
if_icmpeq LABEL14
jump LABEL33
LABEL14:
get_varbit 4606
load_int 0
if_icmpne LABEL18
jump LABEL19
LABEL18:
return
LABEL19:
get_zoom_distance
istore 2
istore 3
iload 3
iload 1
add_percent
istore 3
iload 2
iload 1
add_percent
istore 2
iload 3
iload 2
invoke 42
LABEL33:
return