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 page)
static TexturePackPage
getPackPage(java.lang.String page, java.util.Stack Pairs)
static void
getPackPageListing(java.lang.String page)
static Texture
getTexture(java.lang.String tex)
void
load(java.lang.String filename, java.util.Stack Pairs, java.nio.ByteBuffer cache, boolean bCached)
static void
LoadDir(java.lang.String path)
static void
LoadDirListing(java.lang.String path)
void
loadFromPackFile(java.io.BufferedInputStream input)
void
loadFromPackFileDDS(java.io.BufferedInputStream input)
void
loadlisting(java.lang.String filename, java.lang.String name, java.util.Stack Pairs, java.nio.ByteBuffer cache, boolean bCached)
static int
readInt(java.io.BufferedInputStream in)
static int
readInt(java.nio.ByteBuffer in)
static int
readIntByte(java.io.BufferedInputStream in)
static java.lang.String
ReadString(java.io.BufferedInputStream input)
static void
searchFolders(java.io.File fo)
static void
searchFoldersListing(java.io.File fo)
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 path) throws java.net.URISyntaxException- Throws:
java.net.URISyntaxException
-
searchFolders
public static void searchFolders(java.io.File fo) -
LoadDirListing
public static void LoadDirListing(java.lang.String path) throws java.net.URISyntaxException- Throws:
java.net.URISyntaxException
-
searchFoldersListing
public static void searchFoldersListing(java.io.File fo) -
getPackPageListing
public static void getPackPageListing(java.lang.String page) -
getPackPage
-
getPackPage
-
getTexture
-
readInt
public static int readInt(java.io.BufferedInputStream in) throws java.io.EOFException, java.io.IOException- Throws:
java.io.EOFException
java.io.IOException
-
readInt
public static int readInt(java.nio.ByteBuffer in) throws java.io.EOFException, java.io.IOException- Throws:
java.io.EOFException
java.io.IOException
-
readIntByte
public static int readIntByte(java.io.BufferedInputStream in) throws java.io.EOFException, java.io.IOException- Throws:
java.io.EOFException
java.io.IOException
-
ReadString
public static java.lang.String ReadString(java.io.BufferedInputStream input) throws java.io.IOException- Throws:
java.io.IOException
-
loadFromPackFileDDS
public void loadFromPackFileDDS(java.io.BufferedInputStream input) throws java.io.IOException- Throws:
java.io.IOException
-
loadFromPackFile
public void loadFromPackFile(java.io.BufferedInputStream input) throws java.io.IOException- Throws:
java.io.IOException
-
load
public void load(java.lang.String filename, java.util.Stack Pairs, java.nio.ByteBuffer cache, boolean bCached) throws java.io.IOException, java.io.FileNotFoundException- Throws:
java.io.IOException
java.io.FileNotFoundException
-
loadlisting
public void loadlisting(java.lang.String filename, java.lang.String name, java.util.Stack Pairs, java.nio.ByteBuffer cache, boolean bCached) throws java.io.IOException, java.io.FileNotFoundException- Throws:
java.io.IOException
java.io.FileNotFoundException
-