]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/splash.cxx
Moved random ground cover object management code (userdata.[ch]xx) over
[flightgear.git] / src / Main / splash.cxx
index 0c6e68e45b57a3e357ee9f5313813a0754e51c50..bd5108b53077c835dc429201f9d9a66e5f16423f 100644 (file)
@@ -39,9 +39,9 @@
 #include <string.h>
 
 #include <simgear/debug/logstream.hxx>
+#include <simgear/screen/texture.hxx>
 #include <simgear/math/sg_random.h>
 #include <simgear/misc/sg_path.hxx>
-#include <simgear/misc/texture.hxx>
 
 #include "globals.hxx"
 #include "fg_props.hxx"
@@ -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() * 3.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") ) {