]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/splash.cxx
Fix the nmea and garmin output to a) fake a GSA sentence, b) fix a y2k bug
[flightgear.git] / src / Main / splash.cxx
index 59328b15f9dc130b19c55d3d5e991953c3738f4d..56e0daff6589fd40eae4417775c68464fa6ac65b 100644 (file)
@@ -34,7 +34,7 @@
 #  include <windows.h>
 #endif
 
-#include GLUT_H
+#include FG_GLUT_H
 
 #include <string.h>
 
@@ -58,7 +58,7 @@ void fgSplashInit ( void ) {
     splash.bind();
 
     // load in the texture data
-    int num = (int)(sg_random() * 4.0 + 1.0);
+    int num = (int)(sg_random() * 5.0 + 1.0);
     char num_str[256];
     sprintf(num_str, "%d", num);
 
@@ -90,8 +90,8 @@ void fgSplashInit ( void ) {
 // Update the splash screen with progress specified from 0.0 to 1.0
 void fgSplashUpdate ( double progress, float alpha ) {
     int xmin, ymin, xmax, ymax;
-    int xsize = 480;
-    int ysize = 380;
+    int xsize = 512;
+    int ysize = 512;
 
     if ( !fgGetInt("/sim/startup/xsize")
         || !fgGetInt("/sim/startup/ysize") ) {