Refactor WorldMapFont

Signed-off-by: Graham <gpe@openrs2.dev>
bzip2
Graham 4 years ago
parent 1988623824
commit 485ea2621c
  1. 266
      share/deob/map/client.yaml

@ -126,7 +126,7 @@ classes:
client!kh: "SoftReferenceNode" client!kh: "SoftReferenceNode"
client!ki: "DirectByteArray" client!ki: "DirectByteArray"
client!kj: "TextureProvider" client!kj: "TextureProvider"
client!kk: "Class106" client!kk: "WorldMapFont"
client!kl: "TextureOp38" client!kl: "TextureOp38"
client!km: "TextureOp29" client!km: "TextureOp29"
client!l: "Class4_Sub15" client!l: "Class4_Sub15"
@ -4914,20 +4914,20 @@ fields:
owner: "DirectByteArray" owner: "DirectByteArray"
name: "buffer" name: "buffer"
client!kk.a [B: client!kk.a [B:
owner: "Class106" owner: "WorldMapFont"
name: "aByteArray30" name: "data"
client!kk.b Z: client!kk.b Z:
owner: "Class106" owner: "WorldMapFont"
name: "aBoolean201" name: "grayscale"
client!kk.c I: client!kk.c I:
owner: "Class106" owner: "WorldMapFont"
name: "anInt2887" name: "dataIndex"
client!kk.d I: client!kk.d I:
owner: "Static4" owner: "WorldMapFont"
name: "anInt2888" name: "ALPHABET_SIZE"
client!kk.e [I: client!kk.e [I:
owner: "Class106" owner: "WorldMapFont"
name: "anIntArray258" name: "CHAR_INDEXES"
client!kl.S I: client!kl.S I:
owner: "TextureOp38" owner: "TextureOp38"
name: "anInt2914" name: "anInt2914"
@ -26408,163 +26408,163 @@ methods:
0: "id" 0: "id"
locals: {} locals: {}
client!kk.<init> (IZLjava/awt/Component;)V: client!kk.<init> (IZLjava/awt/Component;)V:
owner: "Class106" owner: "WorldMapFont"
name: "<init>" name: "<init>"
arguments: arguments:
0: "arg0" 0: "size"
1: "arg1" 1: "arg1"
2: "arg2" 2: "component"
locals: locals:
30: "local30" 30: "bold"
34: "local34" 34: "boldMetrics"
36: "local36" 36: "i"
70: "local70" 70: "plain"
74: "local74" 74: "plainMetrics"
76: "local76" 76: "i"
103: "local103" 103: "i"
121: "local121" 121: "data"
123: "local123" 123: "i"
client!kk.a ()I: client!kk.a ()I:
owner: "Class106" owner: "WorldMapFont"
name: "method2328" name: "method2328"
arguments: {} arguments: {}
locals: {} locals: {}
client!kk.a (IIII[B)V: client!kk.a (IIII[B)V:
owner: "Class106" owner: "WorldMapFont"
name: "method2327" name: "renderGlyph"
arguments: arguments:
0: "arg0" 0: "index"
1: "arg1" 1: "x"
2: "arg2" 2: "y"
3: "arg3" 3: "color"
4: "arg4" 4: "src"
locals: locals:
7: "local7" 7: "local7"
15: "local15" 15: "local15"
21: "local21" 21: "width"
27: "local27" 27: "height"
47: "local47" 47: "srcIndex"
53: "local53" 53: "destIndex"
57: "local57" 57: "destStride"
59: "local59" 59: "srcStride"
66: "local66" 66: "local66"
106: "local106" 106: "local106"
141: "local141" 141: "local141"
client!kk.a (Ljava/awt/Font;Ljava/awt/FontMetrics;CIZ)V: client!kk.a (Ljava/awt/Font;Ljava/awt/FontMetrics;CIZ)V:
owner: "Class106" owner: "WorldMapFont"
name: "method2334" name: "preRenderGlyph"
arguments: arguments:
0: "arg0" 0: "font"
1: "arg1" 1: "metrics"
2: "arg2" 2: "c"
3: "arg3" 3: "id"
4: "arg4" 4: "shadow"
locals: locals:
3: "local3" 3: "imageWidth"
5: "local5" 5: "width"
45: "local45" 45: "ex"
48: "local48" 48: "maxAscent"
54: "local54" 54: "imageHeight"
57: "local57" 57: "height"
62: "local62" 62: "image"
65: "local65" 65: "graphics"
111: "local111" 111: "pixels"
123: "local123" 123: "grabber"
128: "local128" 128: "ex"
134: "local134" 134: "x0"
136: "local136" 136: "y0"
138: "local138" 138: "x1"
140: "local140" 140: "y1"
142: "local142" 142: "y"
147: "local147" 147: "x"
158: "local158" 158: "color"
171: "local171" 171: "x"
176: "local176" 176: "y"
187: "local187" 187: "color"
202: "local202" 202: "y"
206: "local206" 206: "x"
217: "local217" 217: "color"
234: "local234" 234: "x"
238: "local238" 238: "y"
249: "local249" 249: "color"
371: "local371" 371: "y"
376: "local376" 376: "x"
389: "local389" 389: "blue"
client!kk.a (Ljava/lang/String;)I: client!kk.a (Ljava/lang/String;)I:
owner: "Class106" owner: "WorldMapFont"
name: "method2326" name: "getStringWidth"
arguments: arguments:
0: "arg0" 0: "s"
locals: locals:
1: "local1" 1: "width"
3: "local3" 3: "i"
client!kk.a (Ljava/lang/String;IIIZ)V: client!kk.a (Ljava/lang/String;IIIZ)V:
owner: "Class106" owner: "WorldMapFont"
name: "method2330" name: "renderStringCenter"
arguments: arguments:
0: "arg0" 0: "s"
1: "arg1" 1: "x"
2: "arg2" 2: "y"
3: "arg3" 3: "color"
locals: locals:
5: "local5" 5: "halfWidth"
8: "local8" 8: "local8"
client!kk.a ([I[BIIIIIII)V: client!kk.a ([I[BIIIIIII)V:
owner: "Class106" owner: "WorldMapFont"
name: "method2331" name: "renderGlyphMono"
arguments: arguments:
0: "arg0" 0: "dest"
1: "arg1" 1: "src"
2: "arg2" 2: "color"
3: "arg3" 3: "srcIndex"
4: "arg4" 4: "destIndex"
5: "arg5" 5: "width"
6: "arg6" 6: "height"
7: "arg7" 7: "destStride"
8: "arg8" 8: "srcStride"
locals: locals:
4: "local4" 4: "roundedWidth"
12: "local12" 12: "y"
16: "local16" 16: "x"
21: "local21" 21: "srcIndex2"
26: "local26" 26: "destIndex2"
33: "local33" 33: "srcIndex3"
38: "local38" 38: "destIndex3"
45: "local45" 45: "srcIndex4"
50: "local50" 50: "destIndex4"
70: "local70" 70: "x"
client!kk.b (Ljava/lang/String;IIIZ)V: client!kk.b (Ljava/lang/String;IIIZ)V:
owner: "Class106" owner: "WorldMapFont"
name: "method2333" name: "renderString"
arguments: arguments:
0: "arg0" 0: "s"
1: "arg1" 1: "x"
2: "arg2" 2: "y"
3: "arg3" 3: "color"
4: "arg4" 4: "shadow"
locals: locals:
8: "local8" 8: "i"
18: "local18" 18: "index"
client!kk.b ([I[BIIIIIII)V: client!kk.b ([I[BIIIIIII)V:
owner: "Class106" owner: "WorldMapFont"
name: "method2335" name: "renderGlyphGrayscale"
arguments: arguments:
0: "arg0" 0: "dest"
1: "arg1" 1: "src"
2: "arg2" 2: "color"
3: "arg3" 3: "srcIndex"
4: "arg4" 4: "destIndex"
5: "arg5" 5: "width"
6: "arg6" 6: "height"
7: "arg7" 7: "destStride"
8: "arg8" 8: "srcStride"
locals: locals:
2: "local2" 2: "y"
7: "local7" 7: "x"
16: "local16" 16: "intensity"
32: "local32" 32: "backgroundColor"
client!kk.c ()I: client!kk.c ()I:
owner: "Class106" owner: "WorldMapFont"
name: "method2332" name: "method2332"
arguments: {} arguments: {}
locals: {} locals: {}

Loading…
Cancel
Save