Refactor the FrameBuffer class

Signed-off-by: Graham <gpe@openrs2.dev>
bzip2
Graham 4 years ago
parent 73c41d7302
commit 4f7192b9e6
  1. 226
      share/deob/map/client.yaml

@ -69,7 +69,7 @@ classes:
client!fh: "Js5" client!fh: "Js5"
client!fi: "Class4_Sub1_Sub8" client!fi: "Class4_Sub1_Sub8"
client!fj: "Class4_Sub1_Sub9" client!fj: "Class4_Sub1_Sub9"
client!fk: "Class59_Sub1" client!fk: "BufferedImageFrameBuffer"
client!fl: "Class4_Sub1_Sub10" client!fl: "Class4_Sub1_Sub10"
client!fm: "Cache" client!fm: "Cache"
client!fn: "Class4_Sub3_Sub8" client!fn: "Class4_Sub3_Sub8"
@ -169,7 +169,7 @@ classes:
client!no: "Class4_Sub1_Sub19" client!no: "Class4_Sub1_Sub19"
client!o: "Class53_Sub5" client!o: "Class53_Sub5"
client!oa: "Class4_Sub3_Sub14_Sub2" client!oa: "Class4_Sub3_Sub14_Sub2"
client!ob: "Class59" client!ob: "FrameBuffer"
client!oc: "Class53_Sub6" client!oc: "Class53_Sub6"
client!oe: "Class41_Sub2_Sub1" client!oe: "Class41_Sub2_Sub1"
client!of: "Class4_Sub1_Sub20" client!of: "Class4_Sub1_Sub20"
@ -248,7 +248,7 @@ classes:
client!tg: "Class4_Sub31" client!tg: "Class4_Sub31"
client!ti: "Class4_Sub1_Sub35" client!ti: "Class4_Sub1_Sub35"
client!tj: "Class102" client!tj: "Class102"
client!tm: "Class59_Sub2" client!tm: "ImageProducerFrameBuffer"
client!tn: "AbstractWorld" client!tn: "AbstractWorld"
client!to: "Class166" client!to: "Class166"
client!u: "Class167" client!u: "Class167"
@ -2655,8 +2655,8 @@ fields:
owner: "Static2" owner: "Static2"
name: "anInt1877" name: "anInt1877"
client!fk.A Ljava/awt/Component;: client!fk.A Ljava/awt/Component;:
owner: "Class59_Sub1" owner: "BufferedImageFrameBuffer"
name: "aComponent1" name: "component"
client!fl.S I: client!fl.S I:
owner: "Static2" owner: "Static2"
name: "anInt1931" name: "anInt1931"
@ -5016,8 +5016,8 @@ fields:
owner: "client" owner: "client"
name: "js5Archive13" name: "js5Archive13"
client!l.w Lclient!ob;: client!l.w Lclient!ob;:
owner: "Static4" owner: "client"
name: "aClass59_1" name: "frameBuffer"
client!l.x Ljava/lang/String;: client!l.x Ljava/lang/String;:
owner: "LocalisedText" owner: "LocalisedText"
name: "REMOVEIGNORE2" name: "REMOVEIGNORE2"
@ -6915,8 +6915,8 @@ fields:
owner: "GameShell" owner: "GameShell"
name: "logicTimePointer" name: "logicTimePointer"
client!ob.l Ljava/awt/Image;: client!ob.l Ljava/awt/Image;:
owner: "Class59" owner: "FrameBuffer"
name: "anImage5" name: "image"
client!ob.n I: client!ob.n I:
owner: "Static5" owner: "Static5"
name: "anInt5199" name: "anInt5199"
@ -6924,14 +6924,14 @@ fields:
owner: "Static5" owner: "Static5"
name: "aStringArray34" name: "aStringArray34"
client!ob.p [I: client!ob.p [I:
owner: "Class59" owner: "FrameBuffer"
name: "anIntArray568" name: "pixels"
client!ob.q I: client!ob.q I:
owner: "Class59" owner: "FrameBuffer"
name: "anInt5200" name: "height"
client!ob.r I: client!ob.r I:
owner: "Class59" owner: "FrameBuffer"
name: "anInt5201" name: "width"
client!ob.u [I: client!ob.u [I:
owner: "Static5" owner: "Static5"
name: "anIntArray569" name: "anIntArray569"
@ -9924,8 +9924,8 @@ fields:
owner: "Static6" owner: "Static6"
name: "anIntArray570" name: "anIntArray570"
client!tm.E Ljava/awt/image/ColorModel;: client!tm.E Ljava/awt/image/ColorModel;:
owner: "Class59_Sub2" owner: "ImageProducerFrameBuffer"
name: "aColorModel1" name: "model"
client!tm.G I: client!tm.G I:
owner: "Static6" owner: "Static6"
name: "anInt5211" name: "anInt5211"
@ -9933,8 +9933,8 @@ fields:
owner: "Static6" owner: "Static6"
name: "anInt5214" name: "anInt5214"
client!tm.N Ljava/awt/image/ImageConsumer;: client!tm.N Ljava/awt/image/ImageConsumer;:
owner: "Class59_Sub2" owner: "ImageProducerFrameBuffer"
name: "anImageConsumer1" name: "consumer"
client!tm.O [I: client!tm.O [I:
owner: "Static7" owner: "Static7"
name: "anIntArray571" name: "anIntArray571"
@ -10459,13 +10459,13 @@ fields:
name: "anInt5606" name: "anInt5606"
client!uj.E I: client!uj.E I:
owner: "Class4_Sub3_Sub14" owner: "Class4_Sub3_Sub14"
name: "anInt5608" name: "height"
client!uj.F [J: client!uj.F [J:
owner: "Static7" owner: "Static7"
name: "aLongArray54" name: "aLongArray54"
client!uj.G I: client!uj.G I:
owner: "Class4_Sub3_Sub14" owner: "Class4_Sub3_Sub14"
name: "anInt5609" name: "width"
client!uj.H I: client!uj.H I:
owner: "Static7" owner: "Static7"
name: "anInt5610" name: "anInt5610"
@ -11017,7 +11017,7 @@ fields:
name: "anIntArray644" name: "anIntArray644"
client!vn.M [I: client!vn.M [I:
owner: "Class4_Sub3_Sub14_Sub1" owner: "Class4_Sub3_Sub14_Sub1"
name: "anIntArray241" name: "pixels"
client!w.A I: client!w.A I:
owner: "Static7" owner: "Static7"
name: "anInt5680" name: "anInt5680"
@ -15405,13 +15405,13 @@ methods:
188: "local188" 188: "local188"
267: "local267" 267: "local267"
305: "local305" 305: "local305"
364: "local364" 364: "graphics"
372: "local372" 372: "i"
384: "local384" 384: "ex"
391: "local391" 391: "graphics"
393: "local393" 393: "i"
429: "local429" 429: "ex"
436: "local436" 436: "i"
client!client.f (I)V: client!client.f (I)V:
owner: "client" owner: "client"
name: "method683" name: "method683"
@ -19309,33 +19309,33 @@ methods:
65: "local65" 65: "local65"
101: "local101" 101: "local101"
client!fk.a (ILjava/awt/Graphics;BI)V: client!fk.a (ILjava/awt/Graphics;BI)V:
owner: "Class59_Sub1" owner: "BufferedImageFrameBuffer"
name: "method4238" name: "draw"
arguments: arguments:
1: "arg0" 1: "graphics"
locals: {} locals: {}
client!fk.a (Ljava/awt/Component;IIB)V: client!fk.a (Ljava/awt/Component;IIB)V:
owner: "Class59_Sub1" owner: "BufferedImageFrameBuffer"
name: "method4242" name: "init"
arguments: arguments:
0: "arg0" 0: "component"
1: "arg1" 1: "width"
2: "arg2" 2: "height"
locals: locals:
28: "local28" 28: "buffer"
36: "local36" 36: "model"
46: "local46" 46: "raster"
client!fk.a (ZIIILjava/awt/Graphics;I)V: client!fk.a (ZIIILjava/awt/Graphics;I)V:
owner: "Class59_Sub1" owner: "BufferedImageFrameBuffer"
name: "method4240" name: "draw"
arguments: arguments:
1: "arg0" 4: "graphics"
2: "arg1" 5: "x"
3: "arg2" 2: "y"
4: "arg3" 1: "width"
5: "arg4" 3: "height"
locals: locals:
6: "local6" 6: "clip"
client!fl.<init> ()V: client!fl.<init> ()V:
owner: "Class4_Sub1_Sub10" owner: "Class4_Sub1_Sub10"
name: "<init>" name: "<init>"
@ -25315,7 +25315,7 @@ methods:
41: "local41" 41: "local41"
client!jn.c ()[I: client!jn.c ()[I:
owner: "Class4_Sub3_Sub14_Sub1_Sub1" owner: "Class4_Sub3_Sub14_Sub1_Sub1"
name: "method2170" name: "getPixels"
arguments: {} arguments: {}
locals: {} locals: {}
client!jn.c (II)V: client!jn.c (II)V:
@ -29145,7 +29145,7 @@ methods:
83: "local83" 83: "local83"
110: "local110" 110: "local110"
208: "local208" 208: "local208"
268: "local268" 268: "graphics"
276: "local276" 276: "local276"
299: "local299" 299: "local299"
490: "local490" 490: "local490"
@ -29487,17 +29487,17 @@ methods:
locals: locals:
8: "local8" 8: "local8"
client!mi.a (BIILjava/awt/Component;)Lclient!ob;: client!mi.a (BIILjava/awt/Component;)Lclient!ob;:
owner: "Static25" owner: "FrameBuffer"
name: "method2727" name: "create"
arguments: arguments:
1: "arg0" 3: "component"
2: "arg1" 2: "width"
3: "arg2" 1: "height"
locals: locals:
12: "local12" 12: "clazz"
16: "local16" 16: "buffer"
25: "local25" 25: "ex"
29: "local29" 29: "buffer"
client!mi.a (III)J: client!mi.a (III)J:
owner: "Static25" owner: "Static25"
name: "method2726" name: "method2726"
@ -32826,10 +32826,10 @@ methods:
1: "arg0" 1: "arg0"
locals: {} locals: {}
client!ob.a (ILjava/awt/Graphics;BI)V: client!ob.a (ILjava/awt/Graphics;BI)V:
owner: "Class59" owner: "FrameBuffer"
name: "method4238" name: "draw"
arguments: arguments:
1: "arg0" 1: "graphics"
locals: {} locals: {}
client!ob.a (Lclient!ic;Lclient!oh;B)Lclient!ih;: client!ob.a (Lclient!ic;Lclient!oh;B)Lclient!ih;:
owner: "Static27" owner: "Static27"
@ -32841,26 +32841,26 @@ methods:
27: "local27" 27: "local27"
39: "local39" 39: "local39"
client!ob.a (Ljava/awt/Component;IIB)V: client!ob.a (Ljava/awt/Component;IIB)V:
owner: "Class59" owner: "FrameBuffer"
name: "method4242" name: "init"
arguments: arguments:
0: "arg0" 0: "component"
1: "arg1" 1: "width"
2: "arg2" 2: "height"
locals: {} locals: {}
client!ob.a (ZIIILjava/awt/Graphics;I)V: client!ob.a (ZIIILjava/awt/Graphics;I)V:
owner: "Class59" owner: "FrameBuffer"
name: "method4240" name: "draw"
arguments: arguments:
1: "arg0" 4: "graphics"
2: "arg1" 5: "x"
3: "arg2" 2: "y"
4: "arg3" 1: "width"
5: "arg4" 3: "height"
locals: {} locals: {}
client!ob.b (I)V: client!ob.b (I)V:
owner: "Class59" owner: "FrameBuffer"
name: "method4244" name: "makeTarget"
arguments: {} arguments: {}
locals: {} locals: {}
client!oc.<init> (IIIIIIIIIII)V: client!oc.<init> (IIIIIIIIIII)V:
@ -41933,18 +41933,18 @@ methods:
25: "local25" 25: "local25"
37: "local37" 37: "local37"
client!tm.a (B)V: client!tm.a (B)V:
owner: "Class59_Sub2" owner: "ImageProducerFrameBuffer"
name: "method4246" name: "setPixels"
arguments: {} arguments: {}
locals: {} locals: {}
client!tm.a (IIBII)V: client!tm.a (IIBII)V:
owner: "Class59_Sub2" owner: "ImageProducerFrameBuffer"
name: "method4252" name: "setPixels"
arguments: arguments:
0: "arg0" 0: "x"
1: "arg1" 3: "y"
3: "arg2" 1: "width"
4: "arg3" 4: "height"
locals: {} locals: {}
client!tm.a (IIBIIIII)V: client!tm.a (IIBIIIII)V:
owner: "Static34" owner: "Static34"
@ -41991,30 +41991,30 @@ methods:
874: "local874" 874: "local874"
1005: "local1005" 1005: "local1005"
client!tm.a (ILjava/awt/Graphics;BI)V: client!tm.a (ILjava/awt/Graphics;BI)V:
owner: "Class59_Sub2" owner: "ImageProducerFrameBuffer"
name: "method4238" name: "draw"
arguments: arguments:
1: "arg0" 1: "graphics"
locals: {} locals: {}
client!tm.a (Ljava/awt/Component;IIB)V: client!tm.a (Ljava/awt/Component;IIB)V:
owner: "Class59_Sub2" owner: "ImageProducerFrameBuffer"
name: "method4242" name: "init"
arguments: arguments:
0: "arg0" 0: "component"
1: "arg1" 1: "width"
2: "arg2" 2: "height"
locals: {} locals: {}
client!tm.a (ZIIILjava/awt/Graphics;I)V: client!tm.a (ZIIILjava/awt/Graphics;I)V:
owner: "Class59_Sub2" owner: "ImageProducerFrameBuffer"
name: "method4240" name: "draw"
arguments: arguments:
1: "arg0" 4: "graphics"
2: "arg1" 5: "x"
3: "arg2" 2: "y"
4: "arg3" 1: "width"
5: "arg4" 3: "height"
locals: locals:
9: "local9" 9: "clip"
client!tm.a (ZZLclient!wf;)V: client!tm.a (ZZLclient!wf;)V:
owner: "Static34" owner: "Static34"
name: "method4251" name: "method4251"
@ -42083,13 +42083,13 @@ methods:
784: "local784" 784: "local784"
790: "local790" 790: "local790"
client!tm.addConsumer (Ljava/awt/image/ImageConsumer;)V: client!tm.addConsumer (Ljava/awt/image/ImageConsumer;)V:
owner: "Class59_Sub2" owner: "ImageProducerFrameBuffer"
name: "addConsumer" name: "addConsumer"
arguments: arguments:
0: "arg0" 0: "consumer"
locals: {} locals: {}
client!tm.imageUpdate (Ljava/awt/Image;IIIII)Z: client!tm.imageUpdate (Ljava/awt/Image;IIIII)Z:
owner: "Class59_Sub2" owner: "ImageProducerFrameBuffer"
name: "imageUpdate" name: "imageUpdate"
arguments: arguments:
0: "arg0" 0: "arg0"
@ -42100,28 +42100,28 @@ methods:
5: "arg5" 5: "arg5"
locals: {} locals: {}
client!tm.isConsumer (Ljava/awt/image/ImageConsumer;)Z: client!tm.isConsumer (Ljava/awt/image/ImageConsumer;)Z:
owner: "Class59_Sub2" owner: "ImageProducerFrameBuffer"
name: "isConsumer" name: "isConsumer"
arguments: arguments:
0: "arg0" 0: "consumer"
locals: {} locals: {}
client!tm.removeConsumer (Ljava/awt/image/ImageConsumer;)V: client!tm.removeConsumer (Ljava/awt/image/ImageConsumer;)V:
owner: "Class59_Sub2" owner: "ImageProducerFrameBuffer"
name: "removeConsumer" name: "removeConsumer"
arguments: arguments:
0: "arg0" 0: "consumer"
locals: {} locals: {}
client!tm.requestTopDownLeftRightResend (Ljava/awt/image/ImageConsumer;)V: client!tm.requestTopDownLeftRightResend (Ljava/awt/image/ImageConsumer;)V:
owner: "Class59_Sub2" owner: "ImageProducerFrameBuffer"
name: "requestTopDownLeftRightResend" name: "requestTopDownLeftRightResend"
arguments: arguments:
0: "arg0" 0: "consumer"
locals: {} locals: {}
client!tm.startProduction (Ljava/awt/image/ImageConsumer;)V: client!tm.startProduction (Ljava/awt/image/ImageConsumer;)V:
owner: "Class59_Sub2" owner: "ImageProducerFrameBuffer"
name: "startProduction" name: "startProduction"
arguments: arguments:
0: "arg0" 0: "consumer"
locals: {} locals: {}
client!tn.a (B)Z: client!tn.a (B)Z:
owner: "AbstractWorld" owner: "AbstractWorld"
@ -45018,7 +45018,7 @@ methods:
85: "local85" 85: "local85"
client!vn.c ()[I: client!vn.c ()[I:
owner: "Class4_Sub3_Sub14_Sub1" owner: "Class4_Sub3_Sub14_Sub1"
name: "method2170" name: "getPixels"
arguments: {} arguments: {}
locals: locals:
6: "local6" 6: "local6"
@ -45055,7 +45055,7 @@ methods:
25: "local25" 25: "local25"
client!vn.e ()V: client!vn.e ()V:
owner: "Class4_Sub3_Sub14_Sub1" owner: "Class4_Sub3_Sub14_Sub1"
name: "method2178" name: "makeTarget"
arguments: {} arguments: {}
locals: {} locals: {}
client!vn.e (I)V: client!vn.e (I)V:

Loading…
Cancel
Save