-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Model viewer improvements - supports RS2 and some RSHD textures
- Loading branch information
1 parent
02a1e9c
commit 795a87f
Showing
21 changed files
with
1,678 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-44 Bytes
(98%)
...ction/Old-School-RuneScape-Cache-Tools/net/runelite/cache/managers/TextureManagerHD.class
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -848,7 +848,6 @@ private void loadCache(File cache) { | |
} | ||
} | ||
|
||
|
||
this.revalidate(); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
143 changes: 0 additions & 143 deletions
143
src/java/net/runelite/cache/loaders/ImageIndexLoader.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
package rshd; | ||
|
||
import osrs.Node; | ||
|
||
public class Class308 { | ||
|
||
public boolean aBool3619; | ||
int[][][] anIntArrayArrayArray3614; | ||
LinkedNodeList aClass473_3612 = new LinkedNodeList(); | ||
int anInt3617; | ||
int anInt3616 = -1; | ||
int anInt3611; | ||
Node[] aNode_Sub16Array3615; | ||
int anInt3613; | ||
|
||
Class308(int i_1, int i_2, int i_3) { | ||
anInt3611 = i_2; | ||
anInt3613 = i_1; | ||
anIntArrayArrayArray3614 = new int[anInt3613][3][i_3]; | ||
} | ||
|
||
void clear() { | ||
for (int i_2 = 0; i_2 < anInt3613; i_2++) { | ||
anIntArrayArrayArray3614[i_2][0] = null; | ||
anIntArrayArrayArray3614[i_2][1] = null; | ||
anIntArrayArrayArray3614[i_2][2] = null; | ||
anIntArrayArrayArray3614[i_2] = null; | ||
} | ||
anIntArrayArrayArray3614 = null; | ||
aClass473_3612.clear(); | ||
aClass473_3612 = null; | ||
} | ||
|
||
public int[][] method5463(int i_1) { | ||
if (anInt3611 == anInt3613) { | ||
aBool3619 = true; | ||
return anIntArrayArrayArray3614[i_1]; | ||
} | ||
if (anInt3613 != 1) { | ||
Node class282_sub16_3 = aNode_Sub16Array3615[i_1]; | ||
aClass473_3612.insertFront(class282_sub16_3); | ||
return anIntArrayArrayArray3614[(int) class282_sub16_3.key]; | ||
} else { | ||
aBool3619 = anInt3616 != i_1; | ||
anInt3616 = i_1; | ||
return anIntArrayArrayArray3614[0]; | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package rshd; | ||
|
||
import osrs.NodeHashTable; | ||
|
||
public class Class316 { | ||
|
||
public static int[] anIntArray3677; | ||
public static int[] anIntArray3675; | ||
public static int[] anIntArray3672; | ||
public static int anInt3669; | ||
public static int anInt3670; | ||
public static int anInt3678; | ||
public static int[] anIntArray3668; | ||
public static int anInt3673; | ||
public static int anInt3671; | ||
static NodeHashTable aClass223_3679 = new NodeHashTable(16); | ||
|
||
public static void method5586() { | ||
if (anIntArray3677 == null || anIntArray3675 == null) { | ||
anIntArray3677 = new int[256]; | ||
anIntArray3675 = new int[256]; | ||
for (int i_1 = 0; i_1 < 256; i_1++) { | ||
double d_2 = 6.283185307179586D * (i_1 / 255.0D); | ||
anIntArray3677[i_1] = (int) (Math.sin(d_2) * 4096.0D); | ||
anIntArray3675[i_1] = (int) (Math.cos(d_2) * 4096.0D); | ||
} | ||
} | ||
} | ||
|
||
Class316() throws Throwable { | ||
throw new Error(); | ||
} | ||
} |
Oops, something went wrong.