+ if (text && fgGetBool("/sim/startup/splash-progress", true)) {
+ glEnable(GL_ALPHA_TEST);
+ glEnable(GL_BLEND);
+ glAlphaFunc(GL_GREATER, 0.1f);
+ glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
+ glDisable(GL_CULL_FACE);
+
+ float left, right, bot, top;
+
+ info.begin();
+ glColor3f(1.0, 0.9, 0.0);
+ font.getBBox(text, fontsize, 0, &left, &right, &bot, &top);
+ info.start2f((screen_width - right) / 2.0, 10.0 - bot);
+ info.puts(text);
+
+ const char *s = fgGetString("/sim/startup/splash-title", "");
+ font.getBBox(s, fontsize, 0, &left, &right, &bot, &top);
+ info.start2f((screen_width - right) / 2.0, screen_height - top - bot - 10.0);
+ info.puts(s);
+ info.end();
+ }