From ae0130e815c353c7fc045d7bb510e919f0f87231 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Fri, 29 Apr 2011 22:10:14 +0200 Subject: win32 port wip --- scene.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scene.cpp') 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()); -- cgit v1.2.3