public class SplashProgress
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
SplashProgress.SplashFontRenderer |
private static class |
SplashProgress.Texture |
Modifier and Type | Field and Description |
---|---|
private static int |
angle |
private static int |
backgroundColor |
private static int |
barBackgroundColor |
private static int |
barBorderColor |
private static int |
barColor |
private static java.nio.IntBuffer |
buf |
private static java.util.Properties |
config |
private static org.lwjgl.opengl.Drawable |
d |
private static boolean |
done |
private static boolean |
enabled |
private static IResourcePack |
fmlPack |
private static int |
fontColor |
private static SplashProgress.SplashFontRenderer |
fontRenderer |
private static SplashProgress.Texture |
fontTexture |
private static SplashProgress.Texture |
forgeTexture |
(package private) static boolean |
isDisplayVSyncForced |
private static java.util.concurrent.locks.Lock |
lock |
private static int |
logoOffset |
private static SplashProgress.Texture |
logoTexture |
private static int |
max_texture_size |
private static IResourcePack |
mcPack |
private static long |
memoryColorChangeTime |
private static float |
memoryColorPercent |
private static int |
memoryGoodColor |
private static int |
memoryLowColor |
private static int |
memoryWarnColor |
private static IResourcePack |
miscPack |
(package private) static java.util.concurrent.Semaphore |
mutex |
private static boolean |
pause |
private static boolean |
rotate |
private static boolean |
showMemory |
private static java.lang.Thread |
thread |
private static java.lang.Throwable |
threadError |
private static int |
TIMING_FRAME_COUNT |
private static int |
TIMING_FRAME_THRESHOLD |
Constructor and Description |
---|
SplashProgress() |
Modifier and Type | Method and Description |
---|---|
private static int |
bytesToMb(long bytes) |
static void |
checkGLError(java.lang.String where) |
private static void |
checkThreadState() |
static void |
clearVanillaResources(TextureManager renderEngine,
ResourceLocation mojangLogo) |
private static IResourcePack |
createResourcePack(java.io.File file) |
private static boolean |
disableSplash() |
private static boolean |
disableSplash(java.lang.Exception e) |
static void |
drawVanillaScreen(TextureManager renderEngine) |
static void |
finish() |
private static boolean |
getBool(java.lang.String name,
boolean def) |
private static int |
getHex(java.lang.String name,
int def) |
private static int |
getInt(java.lang.String name,
int def) |
static int |
getMaxTextureSize() |
private static java.lang.String |
getString(java.lang.String name,
java.lang.String def) |
private static java.io.InputStream |
open(ResourceLocation loc,
ResourceLocation fallback,
boolean allowResourcePack) |
static void |
pause()
Deprecated.
not a stable API, will break, don't use this yet
|
static void |
resume()
Deprecated.
not a stable API, will break, don't use this yet
|
static void |
start() |
private static org.lwjgl.opengl.Drawable d
private static volatile boolean pause
private static volatile boolean done
private static java.lang.Thread thread
private static volatile java.lang.Throwable threadError
private static int angle
private static final java.util.concurrent.locks.Lock lock
private static SplashProgress.SplashFontRenderer fontRenderer
private static final IResourcePack mcPack
private static final IResourcePack fmlPack
private static IResourcePack miscPack
private static SplashProgress.Texture fontTexture
private static SplashProgress.Texture logoTexture
private static SplashProgress.Texture forgeTexture
private static java.util.Properties config
private static boolean enabled
private static boolean rotate
private static int logoOffset
private static int backgroundColor
private static int fontColor
private static int barBorderColor
private static int barColor
private static int barBackgroundColor
private static boolean showMemory
private static int memoryGoodColor
private static int memoryWarnColor
private static int memoryLowColor
private static float memoryColorPercent
private static long memoryColorChangeTime
static boolean isDisplayVSyncForced
private static final int TIMING_FRAME_COUNT
private static final int TIMING_FRAME_THRESHOLD
static final java.util.concurrent.Semaphore mutex
private static int max_texture_size
private static final java.nio.IntBuffer buf
private static java.lang.String getString(java.lang.String name, java.lang.String def)
private static boolean getBool(java.lang.String name, boolean def)
private static int getInt(java.lang.String name, int def)
private static int getHex(java.lang.String name, int def)
public static void start()
public static int getMaxTextureSize()
private static void checkThreadState()
@Deprecated public static void pause()
resume()
when you're done.@Deprecated public static void resume()
public static void finish()
private static boolean disableSplash(java.lang.Exception e)
private static boolean disableSplash()
private static IResourcePack createResourcePack(java.io.File file)
public static void drawVanillaScreen(TextureManager renderEngine) throws org.lwjgl.LWJGLException
org.lwjgl.LWJGLException
public static void clearVanillaResources(TextureManager renderEngine, ResourceLocation mojangLogo)
public static void checkGLError(java.lang.String where)
private static java.io.InputStream open(ResourceLocation loc, @Nullable ResourceLocation fallback, boolean allowResourcePack) throws java.io.IOException
java.io.IOException
private static int bytesToMb(long bytes)