Rename widget textureId to spriteId
This commit is contained in:
@@ -43,7 +43,7 @@ public class InterfaceDefinition
|
|||||||
public int scrollWidth;
|
public int scrollWidth;
|
||||||
public int scrollHeight;
|
public int scrollHeight;
|
||||||
public boolean field2210;
|
public boolean field2210;
|
||||||
public int textureId;
|
public int spriteId;
|
||||||
public int field2294;
|
public int field2294;
|
||||||
public boolean field2257;
|
public boolean field2257;
|
||||||
public int opacity;
|
public int opacity;
|
||||||
|
|||||||
@@ -224,7 +224,7 @@ public class InterfaceLoader
|
|||||||
|
|
||||||
if (iface.type == 5)
|
if (iface.type == 5)
|
||||||
{
|
{
|
||||||
iface.textureId = var1.readInt();
|
iface.spriteId = var1.readInt();
|
||||||
iface.field2332 = var1.readInt();
|
iface.field2332 = var1.readInt();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -389,7 +389,7 @@ public class InterfaceLoader
|
|||||||
|
|
||||||
if (iface.type == 5)
|
if (iface.type == 5)
|
||||||
{
|
{
|
||||||
iface.textureId = var1.readInt();
|
iface.spriteId = var1.readInt();
|
||||||
iface.field2294 = var1.readUnsignedShort();
|
iface.field2294 = var1.readUnsignedShort();
|
||||||
iface.field2257 = var1.readUnsignedByte() == 1;
|
iface.field2257 = var1.readUnsignedByte() == 1;
|
||||||
iface.opacity = var1.readUnsignedByte();
|
iface.opacity = var1.readUnsignedByte();
|
||||||
|
|||||||
@@ -127,9 +127,9 @@ public class Widget
|
|||||||
return widget.getModelId();
|
return widget.getModelId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getTextureId()
|
public int getSpriteId()
|
||||||
{
|
{
|
||||||
return widget.getTextureId();
|
return widget.getSpriteId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isHidden()
|
public boolean isHidden()
|
||||||
|
|||||||
@@ -110,8 +110,8 @@ public interface Widget
|
|||||||
@Import("scrollY")
|
@Import("scrollY")
|
||||||
int getScrollY();
|
int getScrollY();
|
||||||
|
|
||||||
@Import("textureId")
|
@Import("spriteId")
|
||||||
int getTextureId();
|
int getSpriteId();
|
||||||
|
|
||||||
@Import("borderThickness")
|
@Import("borderThickness")
|
||||||
int getBorderThickness();
|
int getBorderThickness();
|
||||||
|
|||||||
Reference in New Issue
Block a user