- 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);
- }
- }
-