Update cache to 142
This commit is contained in:
2
cache/pom.xml
vendored
2
cache/pom.xml
vendored
@@ -37,7 +37,7 @@
|
|||||||
<name>Cache</name>
|
<name>Cache</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<cache.version>140</cache.version>
|
<cache.version>142</cache.version>
|
||||||
|
|
||||||
<antlr4.version>4.6</antlr4.version>
|
<antlr4.version>4.6</antlr4.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|||||||
@@ -42,7 +42,8 @@ public enum IndexType
|
|||||||
CLIENTSCRIPT(12),
|
CLIENTSCRIPT(12),
|
||||||
FONTS(13),
|
FONTS(13),
|
||||||
VORBIS(14),
|
VORBIS(14),
|
||||||
INSTRUMENTS(15);
|
INSTRUMENTS(15),
|
||||||
|
WORLDMAP(16);
|
||||||
|
|
||||||
private int id;
|
private int id;
|
||||||
|
|
||||||
|
|||||||
@@ -193,10 +193,6 @@ public class ObjectLoader
|
|||||||
def.setRetextureToFind(retextureToFind);
|
def.setRetextureToFind(retextureToFind);
|
||||||
def.setTextureToReplace(textureToReplace);
|
def.setTextureToReplace(textureToReplace);
|
||||||
}
|
}
|
||||||
else if (opcode == 60)
|
|
||||||
{
|
|
||||||
def.setMapIconID(is.readUnsignedShort());
|
|
||||||
}
|
|
||||||
else if (62 == opcode)
|
else if (62 == opcode)
|
||||||
{
|
{
|
||||||
def.setIsRotated(true);
|
def.setIsRotated(true);
|
||||||
@@ -303,7 +299,11 @@ public class ObjectLoader
|
|||||||
}
|
}
|
||||||
else if (opcode == 81)
|
else if (opcode == 81)
|
||||||
{
|
{
|
||||||
def.setAnInt2105(is.readUnsignedByte());
|
def.setAnInt2105(is.readUnsignedByte() * 256);
|
||||||
|
}
|
||||||
|
else if (opcode == 82)
|
||||||
|
{
|
||||||
|
def.setMapIconID(is.readUnsignedShort());
|
||||||
}
|
}
|
||||||
else if (opcode == 92)
|
else if (opcode == 92)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ public class StoreLocation
|
|||||||
{
|
{
|
||||||
private static final Logger logger = LoggerFactory.getLogger(StoreLocation.class);
|
private static final Logger logger = LoggerFactory.getLogger(StoreLocation.class);
|
||||||
|
|
||||||
private static final int NUM_INDEXES = 15;
|
private static final int NUM_INDEXES = 16;
|
||||||
private static final String TMP_DIR = "d:/temp";
|
private static final String TMP_DIR = "d:/temp";
|
||||||
|
|
||||||
public static File LOCATION;
|
public static File LOCATION;
|
||||||
|
|||||||
Reference in New Issue
Block a user