This commit is contained in:
David Rose 2009-09-09 19:36:37 +00:00
parent c07d10f74b
commit 61a6522314
2 changed files with 6 additions and 3 deletions

View File

@ -1267,13 +1267,12 @@ make_splash_window() {
// We're hidden, and so is the splash window. // We're hidden, and so is the splash window.
return; return;
} }
/* temp removing: hack for debugging. if (_wparams.get_window_type() != P3D_WT_embedded &&
if (_wparams.get_window_type() != P3D_WT_embedded && !_stuff_to_download) { !_stuff_to_download && _auto_start) {
// If it's a toplevel or fullscreen window, then we don't want a // If it's a toplevel or fullscreen window, then we don't want a
// splash window until we have stuff to download. // splash window until we have stuff to download.
return; return;
} }
*/
_splash_window = new SplashWindowType(this); _splash_window = new SplashWindowType(this);
_splash_window->set_wparams(_wparams); _splash_window->set_wparams(_wparams);

View File

@ -701,6 +701,10 @@ create_instance(const string &p3d, P3D_window_type window_type,
tokens.push_back(token); tokens.push_back(token);
} }
token._keyword = "auto_start";
token._value = "1";
tokens.push_back(token);
P3D_token *tokens_p; P3D_token *tokens_p;
size_t num_tokens = tokens.size(); size_t num_tokens = tokens.size();
if (!tokens.empty()) { if (!tokens.empty()) {