Moved selection box rendering code out of onFrame and into drawSelectionCuboid(). Optimized drawing lots of SelectionCuboids at once by removing redundant OpenGL state changes.
Cleaned up and moved some more rendering code from com.mojang.minecraft.Minecraft into com.mojang.minecraft.render.Renderer: setCamera(...) and drawWeather(...)
Added "isOpaque" field to GuiScreen, to allow skipping the level-rendering path on level-generation, level-loading, and error screens. Also renamed Minecraft.isOnline to Minecraft.isConnecting. Also cleaned up Renderer.drawWeather(), and added some comments.
Prevented level from rendering under the opaque disconnect/kick/error GUI screens, to avoid wasting CPU/GPU resources. Also: commenting, renaming vars, removing unused imports.
Moved the code that renders the wireframe box around the pointed-at block from Minecraft to Renderer class. Also removed some unnecessary OpenGL state changes (when not pointing at any block) and replaced some literals with named OpenGL constants.
Removing unused imports, commenting, naming variables.
Reduced the number of frames drawn by LevelGenerator to report progress. This speeds up generation slightly.
Moved cloud and sky rendering out of Minecraft.java into LevelRenderer.java. Moved drawSelectionCuboid() from Minecraft.java into Renderer.java
Partial revert of ae7bde2c9c9a6808733f45124cb3d2737b290c2e to fix water rendering.
Merge pull request #277 from fragmer/master

IRC Spam begin