cache: add 197 opcodes
This commit is contained in:
@@ -33,6 +33,7 @@ public class ItemDefinition
|
|||||||
public final int id;
|
public final int id;
|
||||||
|
|
||||||
public String name = "null";
|
public String name = "null";
|
||||||
|
public String unknown1;
|
||||||
|
|
||||||
public int resizeX = 128;
|
public int resizeX = 128;
|
||||||
public int resizeY = 128;
|
public int resizeY = 128;
|
||||||
@@ -87,6 +88,8 @@ public class ItemDefinition
|
|||||||
public int femaleHeadModel = -1;
|
public int femaleHeadModel = -1;
|
||||||
public int femaleHeadModel2 = -1;
|
public int femaleHeadModel2 = -1;
|
||||||
|
|
||||||
|
public int category;
|
||||||
|
|
||||||
public int notedID = -1;
|
public int notedID = -1;
|
||||||
public int notedTemplate = -1;
|
public int notedTemplate = -1;
|
||||||
|
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ public class ObjectDefinition
|
|||||||
private int contouredGround = -1;
|
private int contouredGround = -1;
|
||||||
private int supportsItems = -1;
|
private int supportsItems = -1;
|
||||||
private int[] configChangeDest;
|
private int[] configChangeDest;
|
||||||
|
private int category;
|
||||||
private boolean isRotated = false;
|
private boolean isRotated = false;
|
||||||
private int varpID = -1;
|
private int varpID = -1;
|
||||||
private int ambientSoundId = -1;
|
private int ambientSoundId = -1;
|
||||||
|
|||||||
@@ -93,6 +93,10 @@ public class ItemLoader
|
|||||||
def.yOffset2d -= 65536;
|
def.yOffset2d -= 65536;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (opcode == 9)
|
||||||
|
{
|
||||||
|
def.unknown1 = stream.readString();
|
||||||
|
}
|
||||||
else if (opcode == 11)
|
else if (opcode == 11)
|
||||||
{
|
{
|
||||||
def.stackable = 1;
|
def.stackable = 1;
|
||||||
@@ -193,6 +197,10 @@ public class ItemLoader
|
|||||||
{
|
{
|
||||||
def.femaleHeadModel2 = stream.readUnsignedShort();
|
def.femaleHeadModel2 = stream.readUnsignedShort();
|
||||||
}
|
}
|
||||||
|
else if (opcode == 94)
|
||||||
|
{
|
||||||
|
def.category = stream.readUnsignedShort();
|
||||||
|
}
|
||||||
else if (opcode == 95)
|
else if (opcode == 95)
|
||||||
{
|
{
|
||||||
def.zan2d = stream.readUnsignedShort();
|
def.zan2d = stream.readUnsignedShort();
|
||||||
|
|||||||
@@ -194,6 +194,10 @@ public class ObjectLoader
|
|||||||
def.setRetextureToFind(retextureToFind);
|
def.setRetextureToFind(retextureToFind);
|
||||||
def.setTextureToReplace(textureToReplace);
|
def.setTextureToReplace(textureToReplace);
|
||||||
}
|
}
|
||||||
|
else if (opcode == 61)
|
||||||
|
{
|
||||||
|
def.setCategory(is.readUnsignedShort());
|
||||||
|
}
|
||||||
else if (opcode == 62)
|
else if (opcode == 62)
|
||||||
{
|
{
|
||||||
def.setRotated(true);
|
def.setRotated(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user