aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llstartup.cpp')
-rw-r--r--linden/indra/newview/llstartup.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp
index 922de18..2fd96df 100644
--- a/linden/indra/newview/llstartup.cpp
+++ b/linden/indra/newview/llstartup.cpp
@@ -206,6 +206,8 @@
206#include "rlvhandler.h" 206#include "rlvhandler.h"
207// [/RLVa:KB] 207// [/RLVa:KB]
208 208
209#include "rcmoapradar.h"
210
209#if LL_WINDOWS 211#if LL_WINDOWS
210#include "llwindebug.h" 212#include "llwindebug.h"
211#include "lldxhardware.h" 213#include "lldxhardware.h"
@@ -346,7 +348,6 @@ bool idle_startup()
346 const F32 TIMEOUT_SECONDS = 10.f; // changed from 5 to 10 seconds for OpenSim lag -- MC 348 const F32 TIMEOUT_SECONDS = 10.f; // changed from 5 to 10 seconds for OpenSim lag -- MC
347 const S32 MAX_TIMEOUT_COUNT = 3; 349 const S32 MAX_TIMEOUT_COUNT = 3;
348 static LLTimer timeout; 350 static LLTimer timeout;
349 static S32 timeout_count = 0;
350 351
351 static LLTimer login_time; 352 static LLTimer login_time;
352 static LLTimer connecting_region_timer; 353 static LLTimer connecting_region_timer;
@@ -378,11 +379,10 @@ bool idle_startup()
378 379
379 // last location by default 380 // last location by default
380 static S32 agent_location_id = START_LOCATION_ID_LAST; 381 static S32 agent_location_id = START_LOCATION_ID_LAST;
381 static S32 location_which = START_LOCATION_ID_LAST;
382 382
383 static bool show_connect_box = true; 383 static bool show_connect_box = true;
384 384
385 static bool stipend_since_login = false; 385 //static bool stipend_since_login = false;
386 386
387 static bool samename = false; 387 static bool samename = false;
388 388
@@ -797,8 +797,6 @@ bool idle_startup()
797 797
798 gViewerWindow->getWindow()->setCursor(UI_CURSOR_ARROW); 798 gViewerWindow->getWindow()->setCursor(UI_CURSOR_ARROW);
799 799
800 timeout_count = 0;
801
802 if (LLStartUp::shouldAutoLogin()) 800 if (LLStartUp::shouldAutoLogin())
803 { 801 {
804 show_connect_box = false; 802 show_connect_box = false;
@@ -1111,7 +1109,6 @@ bool idle_startup()
1111 { 1109 {
1112 // Force login at the last location 1110 // Force login at the last location
1113 agent_location_id = START_LOCATION_ID_LAST; 1111 agent_location_id = START_LOCATION_ID_LAST;
1114 location_which = START_LOCATION_ID_LAST;
1115 gSavedSettings.setBOOL("LoginLastLocation", FALSE); 1112 gSavedSettings.setBOOL("LoginLastLocation", FALSE);
1116 1113
1117 // Clear some things that would cause us to divert to a user-specified location 1114 // Clear some things that would cause us to divert to a user-specified location
@@ -1123,21 +1120,14 @@ bool idle_startup()
1123 { 1120 {
1124 // a startup URL was specified 1121 // a startup URL was specified
1125 agent_location_id = START_LOCATION_ID_URL; 1122 agent_location_id = START_LOCATION_ID_URL;
1126
1127 // doesn't really matter what location_which is, since
1128 // agent_start_look_at will be overwritten when the
1129 // UserLoginLocationReply arrives
1130 location_which = START_LOCATION_ID_LAST;
1131 } 1123 }
1132 else if (gSavedSettings.getBOOL("LoginLastLocation")) 1124 else if (gSavedSettings.getBOOL("LoginLastLocation"))
1133 { 1125 {
1134 agent_location_id = START_LOCATION_ID_LAST; // last location 1126 agent_location_id = START_LOCATION_ID_LAST; // last location
1135 location_which = START_LOCATION_ID_LAST;
1136 } 1127 }
1137 else 1128 else
1138 { 1129 {
1139 agent_location_id = START_LOCATION_ID_HOME; // home 1130 agent_location_id = START_LOCATION_ID_HOME; // home
1140 location_which = START_LOCATION_ID_HOME;
1141 } 1131 }
1142 1132
1143 gViewerWindow->getWindow()->setCursor(UI_CURSOR_WAIT); 1133 gViewerWindow->getWindow()->setCursor(UI_CURSOR_WAIT);
@@ -1783,11 +1773,11 @@ bool idle_startup()
1783 if((*it).second == "N") gAgent.setFirstLogin(TRUE); 1773 if((*it).second == "N") gAgent.setFirstLogin(TRUE);
1784 else gAgent.setFirstLogin(FALSE); 1774 else gAgent.setFirstLogin(FALSE);
1785 } 1775 }
1786 it = options[0].find("stipend_since_login"); 1776 //it = options[0].find("stipend_since_login");
1787 if(it != no_flag) 1777 //if(it != no_flag)
1788 { 1778 //{
1789 if((*it).second == "Y") stipend_since_login = true; 1779 // if((*it).second == "Y") stipend_since_login = true;
1790 } 1780 //}
1791 it = options[0].find("gendered"); 1781 it = options[0].find("gendered");
1792 if(it != no_flag) 1782 if(it != no_flag)
1793 { 1783 {
@@ -2079,6 +2069,16 @@ bool idle_startup()
2079 LLRect window(0, gViewerWindow->getWindowHeight(), gViewerWindow->getWindowWidth(), 0); 2069 LLRect window(0, gViewerWindow->getWindowHeight(), gViewerWindow->getWindowWidth(), 0);
2080 gViewerWindow->adjustControlRectanglesForFirstUse(window); 2070 gViewerWindow->adjustControlRectanglesForFirstUse(window);
2081 2071
2072 if (gSavedSettings.getBOOL("ShowRadar"))
2073 {
2074 LLFloaterAvatarList::showInstance();
2075 }
2076
2077 if (gSavedSettings.getBOOL("ShowMOAPRadar"))
2078 {
2079 LLFloaterMOAPRadar::showInstance();
2080 }
2081
2082 if(gSavedSettings.getBOOL("ShowMiniMap")) 2082 if(gSavedSettings.getBOOL("ShowMiniMap"))
2083 { 2083 {
2084 LLFloaterMap::showInstance(); 2084 LLFloaterMap::showInstance();