|
9 | 9 | import com.jagex.runescape.frame.console.Console;
|
10 | 10 | import com.jagex.runescape.input.KeyFocusListener;
|
11 | 11 | import com.jagex.runescape.input.MouseHandler;
|
12 |
| -import com.jagex.runescape.io.Buffer; |
13 | 12 | import com.jagex.runescape.language.English;
|
14 | 13 | import com.jagex.runescape.language.Native;
|
15 | 14 | import com.jagex.runescape.media.Rasterizer3D;
|
16 | 15 | import com.jagex.runescape.media.VertexNormal;
|
17 | 16 | import com.jagex.runescape.media.renderable.Item;
|
18 |
| -import com.jagex.runescape.media.renderable.actor.Actor; |
19 | 17 | import com.jagex.runescape.media.renderable.actor.Npc;
|
20 | 18 | import com.jagex.runescape.media.renderable.actor.PlayerAppearance;
|
21 | 19 | import com.jagex.runescape.net.ISAAC;
|
@@ -153,7 +151,7 @@ public static void startup(int arg0) {
|
153 | 151 | } else if (Class40_Sub5_Sub6.loadingPercent == 70) {
|
154 | 152 | if (CacheArchive.gameDefinitionsCacheArchive.method185((byte) 98)) {
|
155 | 153 | MovedStatics.method441(CacheArchive.gameDefinitionsCacheArchive);
|
156 |
| - UnderlayDefinition.method616(CacheArchive.gameDefinitionsCacheArchive); |
| 154 | + UnderlayDefinition.initializeUnderlayDefinitionCache(CacheArchive.gameDefinitionsCacheArchive); |
157 | 155 | method977(3, CacheArchive.gameDefinitionsCacheArchive, CacheArchive.modelCacheArchive);
|
158 | 156 | method980(28987, CacheArchive.modelCacheArchive, VertexNormal.lowMemory, CacheArchive.gameDefinitionsCacheArchive);
|
159 | 157 | Main.method357(CacheArchive.modelCacheArchive, arg0 ^ ~0x2a85, CacheArchive.gameDefinitionsCacheArchive);
|
@@ -269,7 +267,7 @@ public static void startup(int arg0) {
|
269 | 267 | }
|
270 | 268 | } else if (Class40_Sub5_Sub6.loadingPercent == 110) {
|
271 | 269 | Class12.mouseCapturer = new Class39();
|
272 |
| - Main.signlink.method394(10, 0, Class12.mouseCapturer); |
| 270 | + Main.signlink.createCanvasNode(10, Class12.mouseCapturer); |
273 | 271 | Native.currentLoadingText = English.loadedInputHandler;
|
274 | 272 | Class40_Sub5_Sub6.loadingPercent = 120;
|
275 | 273 | MovedStatics.anInt1607 = 94;
|
@@ -304,21 +302,6 @@ public static void startup(int arg0) {
|
304 | 302 | }
|
305 | 303 | }
|
306 | 304 |
|
307 |
| - public static UnderlayDefinition method531(byte arg0, int arg1) { |
308 |
| - UnderlayDefinition underlayDefinition = (UnderlayDefinition) WallDecoration.aClass9_1247.get((long) arg1); |
309 |
| - if (underlayDefinition != null) |
310 |
| - return underlayDefinition; |
311 |
| - byte[] is = Actor.aCacheArchive_3150.getFile(1, arg1); |
312 |
| - underlayDefinition = new UnderlayDefinition(); |
313 |
| - if (is != null) |
314 |
| - underlayDefinition.readValues(new Buffer(is)); |
315 |
| - underlayDefinition.calculateHsl(); |
316 |
| - if (arg0 >= -39) |
317 |
| - English.commandFpson = null; |
318 |
| - WallDecoration.aClass9_1247.put((long) arg1, underlayDefinition); |
319 |
| - return underlayDefinition; |
320 |
| - } |
321 |
| - |
322 | 305 | public static void method977(int arg0, CacheArchive arg1, CacheArchive arg2) {
|
323 | 306 | MovedStatics.aCacheArchive_654 = arg2;
|
324 | 307 | if (arg0 == 3) {
|
|
0 commit comments