Package zombie.core.textures
Class TexturePackPage
java.lang.Object
zombie.core.textures.TexturePackPage
public final class TexturePackPage
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TexturePackPage.SubTextureInfo
-
Field Summary
Fields Modifier and Type Field Description static boolean
bIgnoreWorldItemTextures
static int
chl1
static int
chl2
static int
chl3
static int
chl4
static java.util.HashMap
FoundTextures
static java.util.HashMap
subTextureMap
static java.util.HashMap
subTextureMap2
java.util.HashMap
subTextures
static java.util.ArrayList
tempFilenameCheck
static java.util.ArrayList
TempSubTextureInfo
Texture
tex
static java.util.HashMap
texturePackPageMap
static java.util.HashMap
TexturePackPageNameMap
-
Constructor Summary
Constructors Constructor Description TexturePackPage()
-
Method Summary
Modifier and Type Method Description static Texture
getTexture(java.lang.String string)
static void
LoadDir(java.lang.String string)
void
loadFromPackFile(java.io.BufferedInputStream bufferedInputStream)
void
loadFromPackFileDDS(java.io.BufferedInputStream bufferedInputStream)
static int
readInt(java.io.InputStream inputStream)
static int
readInt(java.nio.ByteBuffer byteBuffer)
static int
readIntByte(java.io.InputStream inputStream)
static java.lang.String
ReadString(java.io.InputStream inputStream)
static void
searchFolders(java.io.File file)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
FoundTextures
public static java.util.HashMap FoundTextures -
subTextureMap
public static final java.util.HashMap subTextureMap -
subTextureMap2
public static final java.util.HashMap subTextureMap2 -
texturePackPageMap
public static final java.util.HashMap texturePackPageMap -
TexturePackPageNameMap
public static final java.util.HashMap TexturePackPageNameMap -
subTextures
public final java.util.HashMap subTextures -
tex
-
chl1
public static int chl1 -
chl2
public static int chl2 -
chl3
public static int chl3 -
chl4
public static int chl4 -
TempSubTextureInfo
public static java.util.ArrayList TempSubTextureInfo -
tempFilenameCheck
public static java.util.ArrayList tempFilenameCheck -
bIgnoreWorldItemTextures
public static boolean bIgnoreWorldItemTextures
-
-
Constructor Details
-
TexturePackPage
public TexturePackPage()
-
-
Method Details
-
LoadDir
public static void LoadDir(java.lang.String string) throws java.net.URISyntaxException- Throws:
java.net.URISyntaxException
-
searchFolders
public static void searchFolders(java.io.File file) -
getTexture
-
readInt
public static int readInt(java.io.InputStream inputStream) throws java.io.EOFException, java.io.IOException- Throws:
java.io.EOFException
java.io.IOException
-
readInt
public static int readInt(java.nio.ByteBuffer byteBuffer) throws java.io.EOFException, java.io.IOException- Throws:
java.io.EOFException
java.io.IOException
-
readIntByte
public static int readIntByte(java.io.InputStream inputStream) throws java.io.EOFException, java.io.IOException- Throws:
java.io.EOFException
java.io.IOException
-
ReadString
public static java.lang.String ReadString(java.io.InputStream inputStream) throws java.io.IOException- Throws:
java.io.IOException
-
loadFromPackFileDDS
public void loadFromPackFileDDS(java.io.BufferedInputStream bufferedInputStream) throws java.io.IOException- Throws:
java.io.IOException
-
loadFromPackFile
public void loadFromPackFile(java.io.BufferedInputStream bufferedInputStream) throws java.lang.Exception- Throws:
java.lang.Exception
-