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 class
GameWindow.OSValidator
-
Field Summary
Fields Modifier and Type Field Description static JoypadManager.Joypad
ActivatedJoyPad
static AssetManagers
assetManagers
static float
averageFPS
static boolean
bGameThreadExited
static boolean
bLoadedAsClient
static boolean
bLuaDebuggerKeyDown
static boolean
bServerDisconnected
static boolean
closeRequested
static boolean
DEBUG_SAVE
static boolean
DrawReloadingLua
static FileSystem
fileSystem
static Input
GameInput
static java.lang.Thread
GameThread
static java.lang.String
kickReason
static java.lang.String
lastP
static boolean
OkToSaveOnExit
static GameStateMachine
states
static java.util.ArrayList
texturePacks
static FileSystem.TexturePackTextures
texturePackTextures
static java.lang.String
version
-
Constructor Summary
Constructors Constructor Description GameWindow()
-
Method Summary
Modifier and Type Method Description static void
DoLoadingText(java.lang.String string)
static void
doRenderEvent(boolean boolean1)
static java.lang.String
getCoopServerHome()
static void
InitDisplay()
static void
InitGameThread()
static void
LoadTexturePack(java.lang.String string, int int1)
static void
LoadTexturePack(java.lang.String string, int int1, java.lang.String string2)
static void
LoadTexturePackDDS(java.lang.String string)
Deprecated.static int
readInt(java.io.DataInputStream dataInputStream)
static long
readLong(java.io.DataInputStream dataInputStream)
static java.lang.String
ReadString(java.io.DataInputStream dataInputStream)
static java.lang.String
ReadString(java.nio.ByteBuffer byteBuffer)
static java.lang.String
ReadStringUTF(java.nio.ByteBuffer byteBuffer)
static void
render()
protected static void
renderInternal()
static void
save(boolean boolean1)
static void
savePlayer()
static void
setTexturePackLookup()
static void
uncaughtException(java.lang.Thread thread, java.lang.Throwable throwable)
static void
WriteString(java.io.DataOutputStream dataOutputStream, java.lang.String string)
static void
WriteString(java.nio.ByteBuffer byteBuffer, java.lang.String string)
static void
WriteStringUTF(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.IOException
LWJGLException
-
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)
-