Tweaked startup logging.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@5415 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
f3df081d5b
commit
76347c282b
@ -175,9 +175,6 @@
|
||||
joystick.reject = no; // Lists HID devices that are not considered joysticks.
|
||||
|
||||
|
||||
loading.complete = yes;
|
||||
|
||||
|
||||
material.canonicalForm = no; // Extremely verbose logging of normalized material specifier dictionaries.
|
||||
|
||||
|
||||
@ -404,6 +401,7 @@
|
||||
|
||||
|
||||
startup.progress = no; // Startup progress stages.
|
||||
loading.complete = yes;
|
||||
|
||||
|
||||
station.launchShip.impossible = no; // generally cancelled launches due to station having no launch docks are uninteresting
|
||||
|
@ -89,6 +89,8 @@ static GameController *sSharedController = nil;
|
||||
{
|
||||
last_timeInterval = [NSDate timeIntervalSinceReferenceDate];
|
||||
delta_t = 0.01; // one hundredth of a second
|
||||
|
||||
_splashStart = [[NSDate alloc] init];
|
||||
}
|
||||
|
||||
return self;
|
||||
@ -251,7 +253,7 @@ static GameController *sSharedController = nil;
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
OOLog(@"loading.complete", @"========== Loading complete. ==========");
|
||||
OOLog(@"startup.complete", @"========== Loading complete in %.2f seconds. ==========", -[_splashStart timeIntervalSinceNow]);
|
||||
|
||||
#if OO_USE_FULLSCREEN_CONTROLLER
|
||||
[self setFullScreenMode:[[NSUserDefaults standardUserDefaults] boolForKey:@"fullscreen"]];
|
||||
@ -289,8 +291,6 @@ static GameController *sSharedController = nil;
|
||||
#else
|
||||
[gameView updateScreen];
|
||||
#endif
|
||||
|
||||
_splashStart = [[NSDate alloc] init];
|
||||
}
|
||||
|
||||
|
||||
@ -609,9 +609,13 @@ static void RemovePreference(NSString *key)
|
||||
- (void) logProgress:(NSString *)message
|
||||
{
|
||||
#if OOLITE_MAC_OS_X
|
||||
[splashProgressTextField setStringValue:message]; [splashProgressTextField display];
|
||||
[splashProgressTextField setStringValue:message];
|
||||
[splashProgressTextField display];
|
||||
#endif
|
||||
OOLog(@"startup.progress", @"===== [%.2f s] %@", -[_splashStart timeIntervalSinceNow], message);
|
||||
if([message length] > 0)
|
||||
{
|
||||
OOLog(@"startup.progress", @"===== [%.2f s] %@", -[_splashStart timeIntervalSinceNow], message);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user