Fix large swath of warnings, fix most render-methods

This commit is contained in:
skyboy
2013-11-06 18:15:30 -05:00
parent d849071e8e
commit 4cfd5475de
74 changed files with 797 additions and 808 deletions

View File

@@ -59,13 +59,14 @@ public class RenderDimDoor extends TileEntitySpecialRenderer
for (int count = 0; count < 16; ++count)
{
GL11.glPushMatrix();
float var15 = (float) (16 - count);
float var15 = 16 - count;
float var16 = 0.2625F;
float var17 = 1.0F / (var15 + .80F);
if (count == 0)
{
this.bindTextureByName("/RIFT.png");
// move files into assets/modid and change to new ResourceLocation(modid:/RIFT.png)
var17 = 0.1F;
var15 = 25.0F;
var16 = 0.125F;
@@ -76,6 +77,7 @@ public class RenderDimDoor extends TileEntitySpecialRenderer
if (count == 1)
{
this.bindTextureByName("/WARP.png");
// move files into assets/modid and change to new ResourceLocation(modid:/WARP.png)
GL11.glEnable(GL11.GL_BLEND);
GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_ONE);
var16 = .5F;
@@ -98,14 +100,14 @@ public class RenderDimDoor extends TileEntitySpecialRenderer
**/
GL11.glTranslatef(
(float) (Minecraft.getSystemTime() % 200000L) / 200000.0F,
Minecraft.getSystemTime() % 200000L / 200000.0F,
0, 0.0F);
GL11.glTranslatef(0,
(float) (Minecraft.getSystemTime() % 200000L) / 200000.0F,
Minecraft.getSystemTime() % 200000L / 200000.0F,
0.0F);
GL11.glTranslatef(0, 0,
(float) (Minecraft.getSystemTime() % 200000L) / 200000.0F);
Minecraft.getSystemTime() % 200000L / 200000.0F);
GL11.glTexGeni(GL11.GL_S, GL11.GL_TEXTURE_GEN_MODE,
GL11.GL_OBJECT_LINEAR);
@@ -172,11 +174,11 @@ public class RenderDimDoor extends TileEntitySpecialRenderer
GL11.glPushMatrix();
GL11.glLoadIdentity();
GL11.glTranslatef(0.0F,
(float) (Minecraft.getSystemTime() % 200000L) / 200000.0F
Minecraft.getSystemTime() % 200000L / 200000.0F
* var15, 0.0F);
GL11.glScalef(var16, var16, var16);
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
GL11.glRotatef((float) (count * count * 4321 + count * 9) * 2.0F,
GL11.glRotatef((count * count * 4321 + count * 9) * 2.0F,
0.0F, 0.0F, 1.0F);
GL11.glTranslatef(0.5F, 0.5F, 0.5F);