mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-24 16:52:52 +00:00
chore(jui): remove inaccurate "unused" comments
This commit is contained in:
parent
141678ed96
commit
ed83397c55
|
|
@ -174,7 +174,6 @@ void Screen::renderBackground(int vo) {
|
|||
}
|
||||
|
||||
void Screen::renderDirtBackground(int vo) {
|
||||
// 4J Unused - Iggy Flash UI renders the background on consoles
|
||||
#ifdef ENABLE_JAVA_GUIS
|
||||
glDisable(GL_LIGHTING);
|
||||
glDisable(GL_FOG);
|
||||
|
|
|
|||
|
|
@ -240,7 +240,6 @@ void AbstractContainerScreen::render(int xm, int ym, float a) {
|
|||
void AbstractContainerScreen::renderLabels() {}
|
||||
|
||||
void AbstractContainerScreen::renderSlot(Slot* slot) {
|
||||
// 4J Unused
|
||||
#if ENABLE_JAVA_GUIS
|
||||
int x = slot->x;
|
||||
int y = slot->y;
|
||||
|
|
|
|||
|
|
@ -66,7 +66,6 @@ void AchievementPopup::prepareWindow() {
|
|||
}
|
||||
|
||||
void AchievementPopup::render() {
|
||||
// 4J Unused
|
||||
#if ENABLE_JAVA_GUIS
|
||||
if (Minecraft::warezTime > 0) {
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
|
|
|
|||
|
|
@ -136,7 +136,6 @@ void AchievementScreen::renderLabels() {
|
|||
}
|
||||
|
||||
void AchievementScreen::renderBg(int xm, int ym, float a) {
|
||||
// 4J Unused
|
||||
#if 0
|
||||
int xScroll = Mth::floor(xScrollO + (xScrollP - xScrollO) * a);
|
||||
int yScroll = Mth::floor(yScrollO + (yScrollP - yScrollO) * a);
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ void ContainerScreen::renderLabels() {
|
|||
}
|
||||
|
||||
void ContainerScreen::renderBg(float a) {
|
||||
// 4J Unused
|
||||
#ifdef ENABLE_JAVA_GUIS
|
||||
int tex = minecraft->textures->loadTexture(TN_GUI_CONTAINER);
|
||||
glColor4f(1, 1, 1, 1);
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ void CraftingScreen::renderLabels() {
|
|||
}
|
||||
|
||||
void CraftingScreen::renderBg(float a) {
|
||||
// 4J Unused
|
||||
#ifdef ENABLE_JAVA_GUIS
|
||||
glColor4f(1, 1, 1, 1);
|
||||
minecraft->textures->bindTexture(&GUI_CRAFTING_LOCATION);
|
||||
|
|
|
|||
|
|
@ -125,7 +125,6 @@ void EnchantmentScreen::render(int xm, int ym, float a) {
|
|||
}
|
||||
|
||||
void EnchantmentScreen::renderBg(float a) {
|
||||
// 4J unused
|
||||
#ifdef ENABLE_JAVA_GUIS
|
||||
glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
|
||||
Minecraft::GetInstance()->textures->bindTexture(&GUI_ENCHANT_LOCATION);
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ void FurnaceScreen::renderLabels() {
|
|||
}
|
||||
|
||||
void FurnaceScreen::renderBg(float a) {
|
||||
// 4J Unused
|
||||
#ifdef ENABLE_JAVA_GUIS
|
||||
glColor4f(1, 1, 1, 1);
|
||||
minecraft->textures->bindTexture(&GUI_FURNACE_LOCATION);
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ void HopperScreen::renderLabels() {
|
|||
}
|
||||
|
||||
void HopperScreen::renderBg(float a) {
|
||||
// 4J Unused
|
||||
#ifdef ENABLE_JAVA_GUIS
|
||||
glColor4f(1, 1, 1, 1);
|
||||
minecraft->textures->bindTexture(&GUI_HOPPER_LOCATION);
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ void HorseInventoryScreen::render(int xm, int ym, float a) {
|
|||
}
|
||||
|
||||
void HorseInventoryScreen::renderBg(float a) {
|
||||
// 4J Unused
|
||||
#ifdef ENABLE_JAVA_GUIS
|
||||
glColor4f(1, 1, 1, 1);
|
||||
minecraft->textures->bindTexture(&GUI_HORSE_LOCATION);
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ void InventoryScreen::render(int xm, int ym, float a) {
|
|||
}
|
||||
|
||||
void InventoryScreen::renderBg(float a) {
|
||||
// 4J Unused
|
||||
#ifdef ENABLE_JAVA_GUIS
|
||||
int tex = minecraft->textures->loadTexture(TN_GUI_INVENTORY);
|
||||
glColor4f(1, 1, 1, 1);
|
||||
|
|
|
|||
|
|
@ -365,7 +365,6 @@ void TitleScreen::rotateAndBlur(float a) {
|
|||
}
|
||||
|
||||
void TitleScreen::render(int xm, int ym, float a) {
|
||||
// 4J Unused - Iggy Flash UI renders the title screen on consoles
|
||||
#ifdef ENABLE_JAVA_GUIS
|
||||
// 4jcraft: panorama
|
||||
renderSkybox(a);
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ void TrapScreen::renderLabels() {
|
|||
}
|
||||
|
||||
void TrapScreen::renderBg(float a) {
|
||||
// 4J Unused
|
||||
#ifdef ENABLE_JAVA_GUIS
|
||||
glColor4f(1, 1, 1, 1);
|
||||
minecraft->textures->bindTexture(&GUI_TRAP_LOCATION);
|
||||
|
|
|
|||
Loading…
Reference in a new issue