Package zombie.core.textures
Class TexturePackPage
java.lang.Object
zombie.core.textures.TexturePackPage
public 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 TexturePackPage
getPackPage(java.lang.String string)
static TexturePackPage
getPackPage(java.lang.String string, java.util.Stack stack)
static void
getPackPageListing(java.lang.String string)
static Texture
getTexture(java.lang.String string)
void
load(java.lang.String string, java.util.Stack stack, java.nio.ByteBuffer byteBuffer, boolean boolean1)
static void
LoadDir(java.lang.String string)
static void
LoadDirListing(java.lang.String string)
void
loadFromPackFile(java.io.BufferedInputStream bufferedInputStream)
void
loadFromPackFileDDS(java.io.BufferedInputStream bufferedInputStream)
void
loadlisting(java.lang.String string, java.lang.String string2, java.util.Stack stack, java.nio.ByteBuffer byteBuffer, boolean boolean1)
static int
readInt(java.io.BufferedInputStream bufferedInputStream)
static int
readInt(java.nio.ByteBuffer byteBuffer)
static int
readIntByte(java.io.BufferedInputStream bufferedInputStream)
static java.lang.String
ReadString(java.io.BufferedInputStream bufferedInputStream)
static void
searchFolders(java.io.File file)
static void
searchFoldersListing(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 java.util.HashMap subTextureMap -
subTextureMap2
public static java.util.HashMap subTextureMap2 -
texturePackPageMap
public static java.util.HashMap texturePackPageMap -
TexturePackPageNameMap
public static java.util.HashMap TexturePackPageNameMap -
subTextures
public 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) -
LoadDirListing
public static void LoadDirListing(java.lang.String string) throws java.net.URISyntaxException- Throws:
java.net.URISyntaxException
-
searchFoldersListing
public static void searchFoldersListing(java.io.File file) -
getPackPageListing
public static void getPackPageListing(java.lang.String string) -
getPackPage
-
getPackPage
-
getTexture
-
readInt
public static int readInt(java.io.BufferedInputStream bufferedInputStream) 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.BufferedInputStream bufferedInputStream) throws java.io.EOFException, java.io.IOException- Throws:
java.io.EOFException
java.io.IOException
-
ReadString
public static java.lang.String ReadString(java.io.BufferedInputStream bufferedInputStream) 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.io.IOException- Throws:
java.io.IOException
-
load
public void load(java.lang.String string, java.util.Stack stack, java.nio.ByteBuffer byteBuffer, boolean boolean1) throws java.io.IOException, java.io.FileNotFoundException- Throws:
java.io.IOException
java.io.FileNotFoundException
-
loadlisting
public void loadlisting(java.lang.String string, java.lang.String string2, java.util.Stack stack, java.nio.ByteBuffer byteBuffer, boolean boolean1) throws java.io.IOException, java.io.FileNotFoundException- Throws:
java.io.IOException
java.io.FileNotFoundException
-