Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Commit

Permalink
Removed Deprecated Objects, Better Block Face Culling.
Browse files Browse the repository at this point in the history
GUI Renderer, TextHandler and any OpenGL text system where replaced by
NanoVG Rendering System.

Blocks now has a "isTransparent" boolean to check face culling.
  • Loading branch information
Guerra24 committed Jan 17, 2016
1 parent 9a9dc90 commit 547a68a
Show file tree
Hide file tree
Showing 40 changed files with 175 additions and 1,751 deletions.
100 changes: 0 additions & 100 deletions assets/fonts/tahoma.fnt

This file was deleted.

12 changes: 6 additions & 6 deletions assets/game/settings.conf
@@ -1,15 +1,15 @@
#Voxel Settings
#Thu Jan 14 17:27:53 CST 2016
#Sat Jan 16 17:52:02 CST 2016
UPS=30
VSYNC=false
useMotionBlur=false
useFXAA=false
useFXAA=true
DrawDistance=2
SettingsVersion=3
useParallax=false
useVolumetricLight=false
useVolumetricLight=true
TESTXMOD=Hello Voxel
useDOF=false
FPS=30
useShadows=false
useReflections=false
useDOF=false
useReflections=true
useShadows=true
2 changes: 0 additions & 2 deletions src/main/java/net/guerra24/voxel/client/core/Voxel.java
Expand Up @@ -35,7 +35,6 @@
import net.guerra24.voxel.client.api.ModInitialization;
import net.guerra24.voxel.client.api.VersionException;
import net.guerra24.voxel.client.bootstrap.Bootstrap;
import net.guerra24.voxel.client.graphics.TextMasterRenderer;
import net.guerra24.voxel.client.graphics.nanovg.Timers;
import net.guerra24.voxel.client.graphics.opengl.Display;
import net.guerra24.voxel.client.input.Mouse;
Expand Down Expand Up @@ -192,7 +191,6 @@ public void mainLoop() {
*/
private void render(float delta) {
gameResources.getGlobalStates().doRender(this, delta);
TextMasterRenderer.getInstance().render();

}

Expand Down
Expand Up @@ -46,7 +46,7 @@ public class VoxelVariables {
public static final String apiVersion = "0.0.6";
public static final int apiVersionNum = 000006;
public static final String state = "ALPHA";
public static final int build = 151;
public static final int build = 152;
public static int FOV = 90;
public static int WIDTH = 1280;
public static int HEIGHT = 720;
Expand All @@ -63,7 +63,7 @@ public class VoxelVariables {
/**
* External Data
*/
public static final String web = "http://guerra24.github.io/";
public static final String web = "https://guerra24.github.io/";
/**
* Graphic Settings
*/
Expand Down
Expand Up @@ -70,7 +70,7 @@ public void update(Voxel voxel, GlobalStates states, float delta) {
if (isKeyDown(KEY_F1))
VoxelVariables.debug = !VoxelVariables.debug;
if (Keyboard.isKeyDown(Keyboard.KEY_ESCAPE)) {
voxel.getGameResources().getCamera().unlockMouse();
gm.getCamera().unlockMouse();
gm.getGlobalStates().setState(GameState.IN_PAUSE);
}
}
Expand Down
98 changes: 0 additions & 98 deletions src/main/java/net/guerra24/voxel/client/graphics/FontRenderer.java

This file was deleted.

0 comments on commit 547a68a

Please sign in to comment.