diff options
author | Jacek Antonelli | 2008-09-28 17:21:23 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-28 17:21:46 -0500 |
commit | 31e7c77a411d94bc87f0232588b339149bb29a49 (patch) | |
tree | 49e487700e91713e620e4d33f20b7f7afb5a2fa9 /linden/indra/newview/llstartup.cpp | |
parent | Second Life viewer sources 1.21.2-RC (diff) | |
download | meta-impy-31e7c77a411d94bc87f0232588b339149bb29a49.zip meta-impy-31e7c77a411d94bc87f0232588b339149bb29a49.tar.gz meta-impy-31e7c77a411d94bc87f0232588b339149bb29a49.tar.bz2 meta-impy-31e7c77a411d94bc87f0232588b339149bb29a49.tar.xz |
Second Life viewer sources 1.21.3-RC
Diffstat (limited to 'linden/indra/newview/llstartup.cpp')
-rw-r--r-- | linden/indra/newview/llstartup.cpp | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp index d018eaa..cb819df 100644 --- a/linden/indra/newview/llstartup.cpp +++ b/linden/indra/newview/llstartup.cpp | |||
@@ -431,9 +431,11 @@ bool idle_startup() | |||
431 | // Load the throttle settings | 431 | // Load the throttle settings |
432 | gViewerThrottle.load(); | 432 | gViewerThrottle.load(); |
433 | 433 | ||
434 | if (ll_init_ares() == NULL) | 434 | if (ll_init_ares() == NULL || !gAres->isInitialized()) |
435 | { | 435 | { |
436 | LL_ERRS("AppInit") << "Could not start address resolution system" << LL_ENDL; | 436 | LL_WARNS("AppInit") << "Could not start address resolution system" << LL_ENDL; |
437 | std::string msg = LLTrans::getString("LoginFailedNoNetwork"); | ||
438 | LLAppViewer::instance()->earlyExit(msg); | ||
437 | } | 439 | } |
438 | 440 | ||
439 | // | 441 | // |
@@ -479,7 +481,8 @@ bool idle_startup() | |||
479 | FALSE, | 481 | FALSE, |
480 | std::string())) | 482 | std::string())) |
481 | { | 483 | { |
482 | std::string msg = llformat("Unable to start networking, error %d", gMessageSystem->getErrorCode()); | 484 | std::string msg = LLTrans::getString("LoginFailedNoNetwork"); |
485 | msg.append(llformat(" Error: %d", gMessageSystem->getErrorCode())); | ||
483 | LLAppViewer::instance()->earlyExit(msg); | 486 | LLAppViewer::instance()->earlyExit(msg); |
484 | } | 487 | } |
485 | 488 | ||
@@ -567,6 +570,8 @@ bool idle_startup() | |||
567 | } | 570 | } |
568 | } | 571 | } |
569 | 572 | ||
573 | LL_INFOS("AppInit") << "Message System Initialized." << LL_ENDL; | ||
574 | |||
570 | //------------------------------------------------- | 575 | //------------------------------------------------- |
571 | // Init audio, which may be needed for prefs dialog | 576 | // Init audio, which may be needed for prefs dialog |
572 | // or audio cues in connection UI. | 577 | // or audio cues in connection UI. |
@@ -597,7 +602,9 @@ bool idle_startup() | |||
597 | gAudiop->setMuted(TRUE); | 602 | gAudiop->setMuted(TRUE); |
598 | } | 603 | } |
599 | } | 604 | } |
600 | 605 | ||
606 | LL_INFOS("AppInit") << "Audio Engine Initialized." << LL_ENDL; | ||
607 | |||
601 | if (LLTimer::knownBadTimer()) | 608 | if (LLTimer::knownBadTimer()) |
602 | { | 609 | { |
603 | LL_WARNS("AppInit") << "Unreliable timers detected (may be bad PCI chipset)!!" << LL_ENDL; | 610 | LL_WARNS("AppInit") << "Unreliable timers detected (may be bad PCI chipset)!!" << LL_ENDL; |