Refactor material code

Signed-off-by: Graham <gpe@openrs2.dev>
Graham 4 years ago
parent 5aa92fd600
commit f03f7f9543
  1. 254
      share/deob/map/client.yaml

@ -18,7 +18,7 @@ classes:
client!bg: "LongNode" client!bg: "LongNode"
client!bh: "MouseWheel" client!bh: "MouseWheel"
client!bi: "ParticleEmitter" client!bi: "ParticleEmitter"
client!bj: "Class21" client!bj: "WaterMaterial"
client!bk: "TracingException" client!bk: "TracingException"
client!bl: "TextureOp25" client!bl: "TextureOp25"
client!bn: "Class4_Sub6_Sub1" client!bn: "Class4_Sub6_Sub1"
@ -32,7 +32,7 @@ classes:
client!ci: "Class31" client!ci: "Class31"
client!cj: "EnumType" client!cj: "EnumType"
client!ck: "TextureOp32" client!ck: "TextureOp32"
client!cl: "Interface2" client!cl: "Material"
client!client: "client" client!client: "client"
client!cm: "VarbitType" client!cm: "VarbitType"
client!cn: "ReferenceNode" client!cn: "ReferenceNode"
@ -150,7 +150,7 @@ classes:
client!mc: "Class4_Sub16" client!mc: "Class4_Sub16"
client!md: "Class114" client!md: "Class114"
client!mg: "Js5MasterIndex" client!mg: "Js5MasterIndex"
client!mi: "Material" client!mi: "TextureMeta"
client!mj: "Class120" client!mj: "Class120"
client!ml: "RawModel" client!ml: "RawModel"
client!mo: "TextureOp26" client!mo: "TextureOp26"
@ -558,8 +558,8 @@ fields:
owner: "Js5CacheRequest" owner: "Js5CacheRequest"
name: "cache" name: "cache"
client!am.B I: client!am.B I:
owner: "Static1" owner: "MaterialManager"
name: "anInt214" name: "currentArg"
client!am.o Lclient!ll;: client!am.o Lclient!ll;:
owner: "Static1" owner: "Static1"
name: "aClass112_2" name: "aClass112_2"
@ -879,17 +879,17 @@ fields:
owner: "ParticleEmitter" owner: "ParticleEmitter"
name: "anInt320" name: "anInt320"
client!bj.a I: client!bj.a I:
owner: "Class21" owner: "WaterMaterial"
name: "anInt341" name: "listId"
client!bj.b Z: client!bj.b Z:
owner: "Static1" owner: "Static1"
name: "aBoolean21" name: "aBoolean21"
client!bj.c I: client!bj.c I:
owner: "Class21" owner: "WaterMaterial"
name: "anInt342" name: "textureId"
client!bj.d [F: client!bj.d [F:
owner: "Class21" owner: "WaterMaterial"
name: "aFloatArray8" name: "tempVertex"
client!bk.a [[B: client!bk.a [[B:
owner: "Static1" owner: "Static1"
name: "aByteArrayArray4" name: "aByteArrayArray4"
@ -2953,7 +2953,7 @@ fields:
name: "anInt2086" name: "anInt2086"
client!gi.N Z: client!gi.N Z:
owner: "GlRenderer" owner: "GlRenderer"
name: "aBoolean140" name: "textureMatrixModified"
client!gi.O Z: client!gi.O Z:
owner: "GlRenderer" owner: "GlRenderer"
name: "arbTextureFloatSupported" name: "arbTextureFloatSupported"
@ -4353,8 +4353,8 @@ fields:
owner: "Static3" owner: "Static3"
name: "anInt2553" name: "anInt2553"
client!jc.S Z: client!jc.S Z:
owner: "Static3" owner: "MaterialManager"
name: "aBoolean175" name: "renderingUnderwater"
client!jd.a I: client!jd.a I:
owner: "Static3" owner: "Static3"
name: "anInt2554" name: "anInt2554"
@ -5787,7 +5787,7 @@ fields:
owner: "Static4" owner: "Static4"
name: "tileFlags" name: "tileFlags"
client!mi.e Z: client!mi.e Z:
owner: "Material" owner: "TextureMeta"
name: "aBoolean233" name: "aBoolean233"
client!mi.f Lclient!fh;: client!mi.f Lclient!fh;:
owner: "client" owner: "client"
@ -5799,31 +5799,31 @@ fields:
owner: "Static4" owner: "Static4"
name: "anInt3336" name: "anInt3336"
client!mi.i Z: client!mi.i Z:
owner: "Material" owner: "TextureMeta"
name: "lowDetail" name: "lowDetail"
client!mi.j Z: client!mi.j Z:
owner: "Material" owner: "TextureMeta"
name: "aBoolean235" name: "aBoolean235"
client!mi.l B: client!mi.l B:
owner: "Material" owner: "TextureMeta"
name: "aByte7" name: "aByte7"
client!mi.m B: client!mi.m B:
owner: "Material" owner: "TextureMeta"
name: "aByte8" name: "materialId"
client!mi.n B: client!mi.n B:
owner: "Material" owner: "TextureMeta"
name: "aByte9" name: "materialArg"
client!mi.p B: client!mi.p B:
owner: "Material" owner: "TextureMeta"
name: "aByte10" name: "aByte10"
client!mi.q S: client!mi.q S:
owner: "Material" owner: "TextureMeta"
name: "aShort26" name: "aShort26"
client!mi.r Z: client!mi.r Z:
owner: "Material" owner: "TextureMeta"
name: "aBoolean236" name: "aBoolean236"
client!mi.s Z: client!mi.s Z:
owner: "Material" owner: "TextureMeta"
name: "aBoolean237" name: "aBoolean237"
client!mj.a I: client!mj.a I:
owner: "Class120" owner: "Class120"
@ -8137,7 +8137,7 @@ fields:
name: "lastCanvasReplace" name: "lastCanvasReplace"
client!qi.l [Lclient!mi;: client!qi.l [Lclient!mi;:
owner: "Js5TextureProvider" owner: "Js5TextureProvider"
name: "materials" name: "metadata"
client!qi.m Lclient!fh;: client!qi.m Lclient!fh;:
owner: "Js5TextureProvider" owner: "Js5TextureProvider"
name: "spritesArchive" name: "spritesArchive"
@ -9210,8 +9210,8 @@ fields:
owner: "Class157" owner: "Class157"
name: "anInt4842" name: "anInt4842"
client!si.h [Lclient!cl;: client!si.h [Lclient!cl;:
owner: "Static6" owner: "MaterialManager"
name: "anInterface2Array1" name: "materials"
client!si.i I: client!si.i I:
owner: "Static6" owner: "Static6"
name: "anInt4844" name: "anInt4844"
@ -10323,8 +10323,8 @@ fields:
owner: "Static7" owner: "Static7"
name: "aBooleanArray25" name: "aBooleanArray25"
client!uf.c I: client!uf.c I:
owner: "Static7" owner: "MaterialManager"
name: "anInt5330" name: "currentMaterialId"
client!uf.d Lclient!uj;: client!uf.d Lclient!uj;:
owner: "Static7" owner: "Static7"
name: "aClass4_Sub3_Sub14_9" name: "aClass4_Sub3_Sub14_9"
@ -11959,8 +11959,8 @@ methods:
77: "local77" 77: "local77"
277: "local277" 277: "local277"
client!aa.a (I)V: client!aa.a (I)V:
owner: "Static8" owner: "MaterialManager"
name: "method3" name: "quit"
arguments: {} arguments: {}
locals: {} locals: {}
client!aa.a (ZIIZIIII)V: client!aa.a (ZIIZIIII)V:
@ -12343,15 +12343,15 @@ methods:
11: "local11" 11: "local11"
client!ae.a ()V: client!ae.a ()V:
owner: "Class6" owner: "Class6"
name: "method3483" name: "unbind"
arguments: {} arguments: {}
locals: locals:
5: "local5" 5: "local5"
client!ae.a (I)V: client!ae.a (I)V:
owner: "Class6" owner: "Class6"
name: "method3486" name: "setArgument"
arguments: arguments:
0: "arg0" 0: "arg"
locals: {} locals: {}
client!ae.a (III)V: client!ae.a (III)V:
owner: "Static8" owner: "Static8"
@ -12373,7 +12373,7 @@ methods:
155: "local155" 155: "local155"
client!ae.b ()V: client!ae.b ()V:
owner: "Class6" owner: "Class6"
name: "method3484" name: "bind"
arguments: {} arguments: {}
locals: locals:
5: "local5" 5: "local5"
@ -12387,7 +12387,7 @@ methods:
8: "z" 8: "z"
client!ae.c ()I: client!ae.c ()I:
owner: "Class6" owner: "Class6"
name: "method3485" name: "getFlags"
arguments: {} arguments: {}
locals: {} locals: {}
client!ae.c (I)V: client!ae.c (I)V:
@ -13068,19 +13068,19 @@ methods:
locals: {} locals: {}
client!bd.a ()V: client!bd.a ()V:
owner: "Class16" owner: "Class16"
name: "method3483" name: "unbind"
arguments: {} arguments: {}
locals: {} locals: {}
client!bd.a (I)V: client!bd.a (I)V:
owner: "Class16" owner: "Class16"
name: "method3486" name: "setArgument"
arguments: arguments:
0: "arg0" 0: "arg"
locals: locals:
1: "local1" 1: "local1"
client!bd.b ()V: client!bd.b ()V:
owner: "Class16" owner: "Class16"
name: "method3484" name: "bind"
arguments: {} arguments: {}
locals: locals:
1: "local1" 1: "local1"
@ -13088,7 +13088,7 @@ methods:
21: "local21" 21: "local21"
client!bd.c ()I: client!bd.c ()I:
owner: "Class16" owner: "Class16"
name: "method3485" name: "getFlags"
arguments: {} arguments: {}
locals: {} locals: {}
client!bd.d ()V: client!bd.d ()V:
@ -13579,36 +13579,36 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
client!bj.<init> ()V: client!bj.<init> ()V:
owner: "Class21" owner: "WaterMaterial"
name: "<init>" name: "<init>"
arguments: {} arguments: {}
locals: locals:
17: "local17" 17: "temp"
20: "local20" 20: "texture"
22: "local22" 22: "i"
40: "local40" 40: "gl"
client!bj.a ()V: client!bj.a ()V:
owner: "Class21" owner: "WaterMaterial"
name: "method3483" name: "unbind"
arguments: {} arguments: {}
locals: locals:
1: "local1" 1: "gl"
client!bj.a (I)V: client!bj.a (I)V:
owner: "Class21" owner: "WaterMaterial"
name: "method3486" name: "setArgument"
arguments: arguments:
0: "arg0" 0: "arg"
locals: locals:
1: "local1" 1: "gl"
client!bj.b ()V: client!bj.b ()V:
owner: "Class21" owner: "WaterMaterial"
name: "method3484" name: "bind"
arguments: {} arguments: {}
locals: locals:
1: "local1" 1: "gl"
client!bj.c ()I: client!bj.c ()I:
owner: "Class21" owner: "WaterMaterial"
name: "method3485" name: "getFlags"
arguments: {} arguments: {}
locals: {} locals: {}
client!bj.d ()V: client!bj.d ()V:
@ -13629,11 +13629,11 @@ methods:
locals: locals:
1: "local1" 1: "local1"
client!bj.g ()V: client!bj.g ()V:
owner: "Class21" owner: "WaterMaterial"
name: "method317" name: "createLists"
arguments: {} arguments: {}
locals: locals:
1: "local1" 1: "gl"
client!bk.<init> (Ljava/lang/Throwable;Ljava/lang/String;)V: client!bk.<init> (Ljava/lang/Throwable;Ljava/lang/String;)V:
owner: "TracingException" owner: "TracingException"
name: "<init>" name: "<init>"
@ -14038,7 +14038,7 @@ methods:
locals: {} locals: {}
client!bo.a ()V: client!bo.a ()V:
owner: "Class23" owner: "Class23"
name: "method3483" name: "unbind"
arguments: {} arguments: {}
locals: locals:
5: "local5" 5: "local5"
@ -14053,9 +14053,9 @@ methods:
37: "local37" 37: "local37"
client!bo.a (I)V: client!bo.a (I)V:
owner: "Class23" owner: "Class23"
name: "method3486" name: "setArgument"
arguments: arguments:
0: "arg0" 0: "arg"
locals: locals:
7: "local7" 7: "local7"
16: "local16" 16: "local16"
@ -14098,7 +14098,7 @@ methods:
locals: {} locals: {}
client!bo.b ()V: client!bo.b ()V:
owner: "Class23" owner: "Class23"
name: "method3484" name: "bind"
arguments: {} arguments: {}
locals: locals:
5: "local5" 5: "local5"
@ -14110,7 +14110,7 @@ methods:
7: "local7" 7: "local7"
client!bo.c ()I: client!bo.c ()I:
owner: "Class23" owner: "Class23"
name: "method3485" name: "getFlags"
arguments: {} arguments: {}
locals: {} locals: {}
client!c.<init> (Lclient!fh;Lclient!fh;Lclient!fh;IZ)V: client!c.<init> (Lclient!fh;Lclient!fh;Lclient!fh;IZ)V:
@ -15214,24 +15214,24 @@ methods:
93: "local93" 93: "local93"
106: "local106" 106: "local106"
client!cl.a ()V: client!cl.a ()V:
owner: "Interface2" owner: "Material"
name: "method3483" name: "unbind"
arguments: {} arguments: {}
locals: {} locals: {}
client!cl.a (I)V: client!cl.a (I)V:
owner: "Interface2" owner: "Material"
name: "method3486" name: "setArgument"
arguments: arguments:
0: "arg0" 0: "arg"
locals: {} locals: {}
client!cl.b ()V: client!cl.b ()V:
owner: "Interface2" owner: "Material"
name: "method3484" name: "bind"
arguments: {} arguments: {}
locals: {} locals: {}
client!cl.c ()I: client!cl.c ()I:
owner: "Interface2" owner: "Material"
name: "method3485" name: "getFlags"
arguments: {} arguments: {}
locals: {} locals: {}
client!client.a (B)V: client!client.a (B)V:
@ -16420,8 +16420,8 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
client!dn.f (I)V: client!dn.f (I)V:
owner: "Static13" owner: "MaterialManager"
name: "method968" name: "init"
arguments: {} arguments: {}
locals: {} locals: {}
client!e.<init> (IIIIIIIIII)V: client!e.<init> (IIIIIIIIII)V:
@ -18840,8 +18840,8 @@ methods:
21: "local21" 21: "local21"
27: "local27" 27: "local27"
client!ff.a (B)I: client!ff.a (B)I:
owner: "Static15" owner: "MaterialManager"
name: "method1323" name: "getFlags"
arguments: {} arguments: {}
locals: {} locals: {}
client!ff.a (Lclient!tf;B)V: client!ff.a (Lclient!tf;B)V:
@ -20753,11 +20753,11 @@ methods:
42: "local42" 42: "local42"
client!gi.a (FFF)V: client!gi.a (FFF)V:
owner: "GlRenderer" owner: "GlRenderer"
name: "method1609" name: "translateTextureMatrix"
arguments: arguments:
0: "arg0" 0: "x"
1: "arg1" 1: "y"
2: "arg2" 2: "z"
locals: {} locals: {}
client!gi.a (FFFFFF)V: client!gi.a (FFFFFF)V:
owner: "GlRenderer" owner: "GlRenderer"
@ -20959,7 +20959,7 @@ methods:
locals: {} locals: {}
client!gi.f ()V: client!gi.f ()V:
owner: "GlRenderer" owner: "GlRenderer"
name: "method1595" name: "resetTextureMatrix"
arguments: {} arguments: {}
locals: {} locals: {}
client!gi.g ()V: client!gi.g ()V:
@ -21192,21 +21192,21 @@ methods:
141: "local141" 141: "local141"
client!gk.a ()V: client!gk.a ()V:
owner: "Class70" owner: "Class70"
name: "method3483" name: "unbind"
arguments: {} arguments: {}
locals: locals:
5: "local5" 5: "local5"
client!gk.a (I)V: client!gk.a (I)V:
owner: "Class70" owner: "Class70"
name: "method3486" name: "setArgument"
arguments: arguments:
0: "arg0" 0: "arg"
locals: locals:
5: "local5" 5: "local5"
58: "local58" 58: "local58"
client!gk.b ()V: client!gk.b ()V:
owner: "Class70" owner: "Class70"
name: "method3484" name: "bind"
arguments: {} arguments: {}
locals: locals:
5: "local5" 5: "local5"
@ -21214,7 +21214,7 @@ methods:
87: "local87" 87: "local87"
client!gk.c ()I: client!gk.c ()I:
owner: "Class70" owner: "Class70"
name: "method3485" name: "getFlags"
arguments: {} arguments: {}
locals: {} locals: {}
client!gk.e ()V: client!gk.e ()V:
@ -22501,26 +22501,26 @@ methods:
19: "local19" 19: "local19"
client!hl.a ()V: client!hl.a ()V:
owner: "Class81" owner: "Class81"
name: "method3483" name: "unbind"
arguments: {} arguments: {}
locals: locals:
1: "local1" 1: "local1"
client!hl.a (I)V: client!hl.a (I)V:
owner: "Class81" owner: "Class81"
name: "method3486" name: "setArgument"
arguments: arguments:
0: "arg0" 0: "arg"
locals: locals:
1: "local1" 1: "local1"
client!hl.b ()V: client!hl.b ()V:
owner: "Class81" owner: "Class81"
name: "method3484" name: "bind"
arguments: {} arguments: {}
locals: locals:
1: "local1" 1: "local1"
client!hl.c ()I: client!hl.c ()I:
owner: "Class81" owner: "Class81"
name: "method3485" name: "getFlags"
arguments: {} arguments: {}
locals: {} locals: {}
client!hl.d ()V: client!hl.d ()V:
@ -22949,28 +22949,28 @@ methods:
name: "method1856" name: "method1856"
arguments: {} arguments: {}
locals: locals:
1: "local1" 1: "gl"
6: "local6" 6: "ids"
65: "local65" 65: "i"
client!ig.d ()V: client!ig.d ()V:
owner: "Static19" owner: "Static19"
name: "method1857" name: "method1857"
arguments: {} arguments: {}
locals: locals:
1: "local1" 1: "gl"
6: "local6" 6: "ids"
65: "local65" 65: "i"
client!ig.e ()V: client!ig.e ()V:
owner: "Static19" owner: "Static19"
name: "method1858" name: "method1858"
arguments: {} arguments: {}
locals: locals:
4: "local4" 4: "gl"
11: "local11" 11: "ids"
29: "local29" 29: "gl"
48: "local48" 48: "gl"
55: "local55" 55: "ids"
73: "local73" 73: "gl"
client!ig.f ()V: client!ig.f ()V:
owner: "Static19" owner: "Static19"
name: "method1859" name: "method1859"
@ -26388,7 +26388,7 @@ methods:
locals: {} locals: {}
client!kj.a (IB)Lclient!mi;: client!kj.a (IB)Lclient!mi;:
owner: "TextureProvider" owner: "TextureProvider"
name: "getMaterial" name: "getMetadata"
arguments: arguments:
0: "id" 0: "id"
locals: {} locals: {}
@ -28883,13 +28883,13 @@ methods:
193: "local193" 193: "local193"
243: "local243" 243: "local243"
client!ln.a (III)V: client!ln.a (III)V:
owner: "Static24" owner: "MaterialManager"
name: "method2652" name: "setMaterial"
arguments: arguments:
0: "arg0" 0: "materialId"
1: "arg1" 1: "arg"
locals: locals:
42: "local42" 42: "material"
client!ln.a (ILclient!kj;Lclient!fh;IDIZ)Lclient!jn;: client!ln.a (ILclient!kj;Lclient!fh;IDIZ)Lclient!jn;:
owner: "Texture" owner: "Texture"
name: "method2650" name: "method2650"
@ -35523,23 +35523,23 @@ methods:
123: "local123" 123: "local123"
client!q.a ()V: client!q.a ()V:
owner: "Class139" owner: "Class139"
name: "method3483" name: "unbind"
arguments: {} arguments: {}
locals: {} locals: {}
client!q.a (I)V: client!q.a (I)V:
owner: "Class139" owner: "Class139"
name: "method3486" name: "setArgument"
arguments: arguments:
0: "arg0" 0: "arg"
locals: {} locals: {}
client!q.b ()V: client!q.b ()V:
owner: "Class139" owner: "Class139"
name: "method3484" name: "bind"
arguments: {} arguments: {}
locals: {} locals: {}
client!q.c ()I: client!q.c ()I:
owner: "Class139" owner: "Class139"
name: "method3485" name: "getFlags"
arguments: {} arguments: {}
locals: {} locals: {}
client!qa.a (B)Lclient!ml;: client!qa.a (B)Lclient!ml;:
@ -36569,7 +36569,7 @@ methods:
0: "materialsArchive" 0: "materialsArchive"
locals: locals:
24: "buffer" 24: "buffer"
28: "materials" 28: "len"
34: "i" 34: "i"
60: "i" 60: "i"
88: "i" 88: "i"
@ -36604,7 +36604,7 @@ methods:
locals: {} locals: {}
client!qi.a (IB)Lclient!mi;: client!qi.a (IB)Lclient!mi;:
owner: "Js5TextureProvider" owner: "Js5TextureProvider"
name: "getMaterial" name: "getMetadata"
arguments: arguments:
0: "id" 0: "id"
locals: {} locals: {}
@ -39871,12 +39871,12 @@ methods:
1: "arg1" 1: "arg1"
locals: {} locals: {}
client!sh.a (ZI)V: client!sh.a (ZI)V:
owner: "Static32" owner: "MaterialManager"
name: "method3981" name: "resetArgument"
arguments: arguments:
1: "arg0" 1: "materialId"
locals: locals:
16: "local16" 16: "id"
client!sh.c (II)Lclient!ik;: client!sh.c (II)Lclient!ik;:
owner: "ParticleEmitterTypeList" owner: "ParticleEmitterTypeList"
name: "get" name: "get"
@ -40427,8 +40427,8 @@ methods:
148: "local148" 148: "local148"
160: "local160" 160: "local160"
209: "local209" 209: "local209"
367: "local367" 367: "y"
377: "local377" 377: "x"
client!so.a (Lclient!kj;Lclient!fh;Z)[I: client!so.a (Lclient!kj;Lclient!fh;Z)[I:
owner: "GlTexture" owner: "GlTexture"
name: "method4071" name: "method4071"

Loading…
Cancel
Save