summaryrefslogtreecommitdiff
path: root/scene.cpp
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-04-29 22:10:14 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-04-29 22:10:14 +0200
commitae0130e815c353c7fc045d7bb510e919f0f87231 (patch)
treecbaf7e533335a3c7c0f08cac9c4f9955ebac2bd3 /scene.cpp
parent55e76bdaafa1e2a94fbd717335c1c7bd8c8fc156 (diff)
win32 port wip
Diffstat (limited to 'scene.cpp')
-rw-r--r--scene.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/scene.cpp b/scene.cpp
index 6cb6cc7..7a2a740 100644
--- a/scene.cpp
+++ b/scene.cpp
@@ -61,8 +61,8 @@ Scene::Scene() {
qt = new Quadtree(w, h, heightmap);
/* load font */
- font = new FTTextureFont("fonts/VeraMono.ttf");
- font->FaceSize(10);
+ //font = new FTTextureFont("fonts/VeraMono.ttf");
+ //font->FaceSize(10);
GUI::init();
}
@@ -72,7 +72,7 @@ Scene::~Scene() {
delete tool;
if(qt)
delete qt;
- delete font;
+ //delete font;
}
void Scene::lookat() {
@@ -408,7 +408,7 @@ void Scene::render() {
}
video::ortho();
- float height = font->LineHeight();
+ /*float height = font->LineHeight();
glColor3f(1, 1, 1);
glTranslatef(0, video::height-height, 0);
font->Render((boost::format("%dx%d chunks: %d gravity: %d steps: %d")
@@ -424,7 +424,7 @@ void Scene::render() {
if(tool) {
glTranslatef(0, -height, 0);
font->Render((boost::format("Tool: %s") % tool->get_name()).str().c_str());
- }
+ }*/
/*if(selected) {
glTranslatef(0, height, 0);
//font->Render((boost::format("(%s %s %s %s)") % selected->a->str() % selected->b->str() % selected->c->str() % selected->d->str()).str().c_str());