#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"
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);
// 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") ) {