diff options
Diffstat (limited to 'scene.cpp')
-rw-r--r-- | scene.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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()); |