cache: rename texture animation direction and speed
This commit is contained in:
@@ -38,8 +38,8 @@ public class TextureDefinition
|
||||
public int[] field1780;
|
||||
public int[] field1781;
|
||||
public int[] field1786;
|
||||
public int field1782;
|
||||
public int field1783;
|
||||
public int animationSpeed;
|
||||
public int animationDirection;
|
||||
|
||||
public transient int[] pixels;
|
||||
|
||||
|
||||
@@ -26,13 +26,9 @@ package net.runelite.cache.definitions.loaders;
|
||||
|
||||
import net.runelite.cache.definitions.TextureDefinition;
|
||||
import net.runelite.cache.io.InputStream;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
public class TextureLoader
|
||||
{
|
||||
private static final Logger logger = LoggerFactory.getLogger(TextureLoader.class);
|
||||
|
||||
public TextureDefinition load(int id, byte[] b)
|
||||
{
|
||||
TextureDefinition def = new TextureDefinition();
|
||||
@@ -77,8 +73,8 @@ public class TextureLoader
|
||||
def.field1786[var3] = is.readInt();
|
||||
}
|
||||
|
||||
def.field1783 = is.readUnsignedByte();
|
||||
def.field1782 = is.readUnsignedByte();
|
||||
def.animationDirection = is.readUnsignedByte();
|
||||
def.animationSpeed = is.readUnsignedByte();
|
||||
|
||||
return def;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user