Package zombie
Class GameWindow
java.lang.Object
zombie.GameWindow
public final class GameWindow
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGameWindow.OSValidator -
Field Summary
Fields Modifier and Type Field Description static JoypadManager.JoypadActivatedJoyPadstatic AssetManagersassetManagersstatic floataverageFPSstatic booleanbGameThreadExitedstatic booleanbLoadedAsClientstatic booleanbLuaDebuggerKeyDownstatic booleanbServerDisconnectedstatic booleancloseRequestedstatic booleanDEBUG_SAVEstatic booleanDrawReloadingLuastatic FileSystemfileSystemstatic InputGameInputstatic java.lang.ThreadGameThreadstatic java.lang.StringkickReasonstatic java.lang.StringlastPstatic booleanOkToSaveOnExitstatic GameStateMachinestatesstatic java.util.ArrayListtexturePacksstatic FileSystem.TexturePackTexturestexturePackTexturesstatic java.lang.Stringversion -
Constructor Summary
Constructors Constructor Description GameWindow() -
Method Summary
Modifier and Type Method Description static voidDoLoadingText(java.lang.String string)static voiddoRenderEvent(boolean boolean1)static java.lang.StringgetCoopServerHome()static voidInitDisplay()static voidInitGameThread()static voidLoadTexturePack(java.lang.String string, int int1)static voidLoadTexturePack(java.lang.String string, int int1, java.lang.String string2)static voidLoadTexturePackDDS(java.lang.String string)Deprecated.static intreadInt(java.io.DataInputStream dataInputStream)static longreadLong(java.io.DataInputStream dataInputStream)static java.lang.StringReadString(java.io.DataInputStream dataInputStream)static java.lang.StringReadString(java.nio.ByteBuffer byteBuffer)static java.lang.StringReadStringUTF(java.nio.ByteBuffer byteBuffer)static voidrender()protected static voidrenderInternal()static voidsave(boolean boolean1)static voidsavePlayer()static voidsetTexturePackLookup()static voiduncaughtException(java.lang.Thread thread, java.lang.Throwable throwable)static voidWriteString(java.io.DataOutputStream dataOutputStream, java.lang.String string)static voidWriteString(java.nio.ByteBuffer byteBuffer, java.lang.String string)static voidWriteStringUTF(java.nio.ByteBuffer byteBuffer, java.lang.String string)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
GameInput
-
DEBUG_SAVE
public static boolean DEBUG_SAVE -
OkToSaveOnExit
public static boolean OkToSaveOnExit -
lastP
public static java.lang.String lastP -
states
-
bServerDisconnected
public static boolean bServerDisconnected -
bLoadedAsClient
public static boolean bLoadedAsClient -
kickReason
public static java.lang.String kickReason -
DrawReloadingLua
public static boolean DrawReloadingLua -
ActivatedJoyPad
-
version
public static java.lang.String version -
closeRequested
public static volatile boolean closeRequested -
averageFPS
public static float averageFPS -
bLuaDebuggerKeyDown
public static boolean bLuaDebuggerKeyDown -
fileSystem
-
assetManagers
-
bGameThreadExited
public static boolean bGameThreadExited -
GameThread
public static java.lang.Thread GameThread -
texturePacks
public static final java.util.ArrayList texturePacks -
texturePackTextures
-
-
Constructor Details
-
GameWindow
public GameWindow()
-
-
Method Details
-
render
public static void render() -
renderInternal
protected static void renderInternal() -
InitDisplay
- Throws:
java.io.IOExceptionLWJGLException
-
InitGameThread
public static void InitGameThread() -
uncaughtException
public static void uncaughtException(java.lang.Thread thread, java.lang.Throwable throwable) -
readLong
public static long readLong(java.io.DataInputStream dataInputStream) throws java.io.IOException- Throws:
java.io.IOException
-
readInt
public static int readInt(java.io.DataInputStream dataInputStream) throws java.io.IOException- Throws:
java.io.IOException
-
setTexturePackLookup
public static void setTexturePackLookup() -
LoadTexturePack
public static void LoadTexturePack(java.lang.String string, int int1) -
LoadTexturePack
public static void LoadTexturePack(java.lang.String string, int int1, java.lang.String string2) -
LoadTexturePackDDS
@Deprecated public static void LoadTexturePackDDS(java.lang.String string)Deprecated. -
savePlayer
public static void savePlayer() -
save
public static void save(boolean boolean1) throws java.io.IOException- Throws:
java.io.IOException
-
getCoopServerHome
public static java.lang.String getCoopServerHome() -
WriteString
public static void WriteString(java.nio.ByteBuffer byteBuffer, java.lang.String string) -
WriteStringUTF
public static void WriteStringUTF(java.nio.ByteBuffer byteBuffer, java.lang.String string) -
WriteString
public static void WriteString(java.io.DataOutputStream dataOutputStream, java.lang.String string) throws java.io.IOException- Throws:
java.io.IOException
-
ReadStringUTF
public static java.lang.String ReadStringUTF(java.nio.ByteBuffer byteBuffer) -
ReadString
public static java.lang.String ReadString(java.nio.ByteBuffer byteBuffer) -
ReadString
public static java.lang.String ReadString(java.io.DataInputStream dataInputStream) throws java.io.IOException- Throws:
java.io.IOException
-
doRenderEvent
public static void doRenderEvent(boolean boolean1) -
DoLoadingText
public static void DoLoadingText(java.lang.String string)
-