X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;ds=sidebyside;f=Source%2FGameDraw.cpp;fp=Source%2FGameDraw.cpp;h=0cc214ef4076a7b5ffde0350d6af85eb53070cbd;hb=11fc7bb36280c27d231753a9b3b3e95210351144;hp=3374fbd7c864ab6e02880b8742e537023e549d04;hpb=8d1e44bf4f8448b2d9f0add10a1207c3f81ac5c7;p=lugaru.git diff --git a/Source/GameDraw.cpp b/Source/GameDraw.cpp index 3374fbd..0cc214e 100644 --- a/Source/GameDraw.cpp +++ b/Source/GameDraw.cpp @@ -1331,19 +1331,6 @@ int Game::DrawGLScene(StereoSide side) glDepthMask(1); } - if (!console) { - displaytime[0] = 0; - glEnable(GL_TEXTURE_2D); - glColor4f(1, 1, 1, 1); - for (unsigned i = 1; i < 15; i++) - if (displaytime[i] < 4) - for (unsigned j = 0; j < displaytext[i].size(); j++) { - glColor4f(1, 1, 1, 4 - displaytime[i]); - string = std::string(1, displaytext[i][j]); - text->glPrint(30 + j * 10, 30 + i * 20 + (screenheight - 330), string, 0, 1, screenwidth, screenheight); - } - } - if (difficulty < 2 && !Dialog::inDialog()) { // minimap float mapviewdist = 20000; @@ -1870,11 +1857,9 @@ int Game::DrawGLScene(StereoSide side) if (consoleblink) { text->glPrint(30 + (float)(consoleselected) * 10 - offset * 10, 30, "_", 0, 1, 1024, 768); } - for (unsigned i = 0; i < 15; i++) - for (unsigned j = 0; j < consoletext[i].size(); j++) { - glColor4f(1, 1, 1, 1 - (float)(i) / 16); - text->glPrint(30 + j * 10 - offset * 10, 30 + i * 20, std::string(1, consoletext[i][j]), 0, 1, 1024, 768); - } + for (unsigned i = 0; i < 15; i++) { + text->glPrint(30 - offset * 10, 30 + i * 20, consoletext[i], 0, 1, 1024, 768); + } } }