chore(jui): remove inaccurate "unused" comments

This commit is contained in:
Sally Knight 2026-03-27 22:57:39 +03:00 committed by Tropical
parent 141678ed96
commit ed83397c55
13 changed files with 0 additions and 13 deletions

View file

@ -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);

View file

@ -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;

View file

@ -66,7 +66,6 @@ void AchievementPopup::prepareWindow() {
}
void AchievementPopup::render() {
// 4J Unused
#if ENABLE_JAVA_GUIS
if (Minecraft::warezTime > 0) {
glDisable(GL_DEPTH_TEST);

View file

@ -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);

View file

@ -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);

View file

@ -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);

View file

@ -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);

View file

@ -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);

View file

@ -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);

View file

@ -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);

View file

@ -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);

View file

@ -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);

View file

@ -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);