From e8b466caefa3b0b3b70458035d1c52e9fd9c0662 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 5 Oct 2008 21:14:09 +0000 Subject: internally removes bitmaps/fonts prefix from render::Text --- src/client/view.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/client') diff --git a/src/client/view.cc b/src/client/view.cc index 2667938..7f9efa1 100644 --- a/src/client/view.cc +++ b/src/client/view.cc @@ -565,14 +565,14 @@ void draw_status() gl::end(); } - Text::setfont("bitmaps/fonts/gui", 14, 24); + Text::setfont("gui", 14, 24); Text::setcolor('B'); //set normal color std::stringstream speedstr; speedstr << "^B" << roundf(core::localcontrol()->speed() * 100.0f); Text::draw( 316+4+10, video::height - 6 -16 - render::Text::fontwidth() /2, speedstr); - Text::setfont("bitmaps/fonts/gui", 12, 18); + Text::setfont("gui", 12, 18); Text::setcolor('N'); //set normal color } } @@ -836,14 +836,14 @@ void frame(float seconds) if (!console()->visible()) console()->toggle(); - } else if (!core::game()->interactive()) { + } /*else if (!core::game()->interactive()) { // draw the banner bitmap draw_banner(); - } + }*/ // draw text elements if (draw_ui->value()) { - Text::setfont("bitmaps/fonts/gui", 12, 18); + Text::setfont("gui", 12, 18); // draw the player status draw_status(); @@ -856,7 +856,7 @@ void frame(float seconds) } // draw console or notifications - Text::setfont("bitmaps/fonts/gui", 12, 18); + Text::setfont("gui", 12, 18); console()->draw((bool) draw_ui->value()); -- cgit v1.2.3