public GuiLanguage(GuiScreen screen, GameSettings gameSettingsObj, LanguageManager manager) { this.parentScreen = screen; this.game_settings_3 = gameSettingsObj; this.languageManager = manager; }
public LanguageManager getLanguageManager() { return this.mcLanguageManager; }
private void preDisplayScreen() { if (textureManager == null) { if (preview) { textureManager = mc.renderEngine; } else { textureManager = mc.renderEngine = new TextureManager(mc.getResourceManager()); mc.refreshResources(); textureManager.onResourceManagerReload(mc.getResourceManager()); mc.fontRenderer = new FontRenderer(mc.gameSettings, new ResourceLocation("textures/font/ascii.png"), textureManager, false); if (mc.gameSettings.language != null) { mc.fontRenderer.setUnicodeFlag(mc.func_152349_b()); LanguageManager lm = mc.getLanguageManager(); mc.fontRenderer.setBidiFlag(lm.isCurrentLanguageBidirectional()); } mc.fontRenderer.onResourceManagerReload(mc.getResourceManager()); callAgain = true; } } if (fontRenderer != mc.fontRenderer) fontRenderer = mc.fontRenderer; // if (textureManager != mc.renderEngine) // textureManager = mc.renderEngine; resolution = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight); int i = resolution.getScaleFactor(); GL11.glMatrixMode(GL11.GL_PROJECTION); GL11.glLoadIdentity(); GL11.glOrtho(0.0D, (double) resolution.getScaledWidth(), (double) resolution.getScaledHeight(), 0.0D, 1000.0D, 3000.0D); GL11.glMatrixMode(GL11.GL_MODELVIEW); GL11.glLoadIdentity(); GL11.glTranslatef(0.0F, 0.0F, -2000.0F); GL11.glDisable(GL11.GL_LIGHTING); GL11.glDisable(GL11.GL_FOG); GL11.glDisable(GL11.GL_DEPTH_TEST); GL11.glEnable(GL11.GL_TEXTURE_2D); GL11.glClearColor(clearRed, clearGreen, clearBlue, 1); GL11.glClear(GL11.GL_COLOR_BUFFER_BIT | GL11.GL_DEPTH_BUFFER_BIT); GL11.glEnable(GL11.GL_BLEND); GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA); GL11.glEnable(GL11.GL_ALPHA_TEST); GL11.glAlphaFunc(GL11.GL_GREATER, 0.1F); GL11.glColor4f(1, 1, 1, 1); }
public GuiLanguage(GuiScreen par1GuiScreen, GameSettings par2GameSettings, LanguageManager par3LanguageManager) { this.field_146453_a = par1GuiScreen; this.field_146451_g = par2GameSettings; this.field_146454_h = par3LanguageManager; }
public GuiLanguage(GuiScreen p_i1043_1_, GameSettings p_i1043_2_, LanguageManager p_i1043_3_) { this.field_146453_a = p_i1043_1_; this.field_146451_g = p_i1043_2_; this.field_146454_h = p_i1043_3_; }
public GuiLanguage(GuiScreen p_i1043_1_, GameSettings p_i1043_2_, LanguageManager p_i1043_3_) { this.field_74047_a = p_i1043_1_; this.field_74044_d = p_i1043_2_; this.field_135014_d = p_i1043_3_; }
static LanguageManager func_135011_a(GuiLanguage p_135011_0_) { return p_135011_0_.field_135014_d; }
public LanguageManager func_135016_M() { return this.field_135017_as; }
static LanguageManager func_142024_b(Minecraft p_142024_0_) { return p_142024_0_.field_135017_as; }
public GuiLanguage(GuiScreen par1GuiScreen, GameSettings par2GameSettings, LanguageManager par3LanguageManager) { this.parentGui = par1GuiScreen; this.theGameSettings = par2GameSettings; this.field_135014_d = par3LanguageManager; }
static LanguageManager func_135011_a(GuiLanguage par0GuiLanguage) { return par0GuiLanguage.field_135014_d; }
static LanguageManager func_142024_b(Minecraft par0Minecraft) { return par0Minecraft.mcLanguageManager; }