summaryrefslogtreecommitdiff
path: root/indra/newview/llstartup.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llstartup.h')
-rw-r--r--indra/newview/llstartup.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/indra/newview/llstartup.h b/indra/newview/llstartup.h
index 38319c8d8a..ea568395d4 100644
--- a/indra/newview/llstartup.h
+++ b/indra/newview/llstartup.h
@@ -46,7 +46,7 @@ extern std::string SCREEN_LAST_FILENAME;
enum EStartupState{
STATE_FIRST, // Initial startup
- STATE_MEDIA_INIT, // Initialzie media library
+ STATE_BROWSER_INIT, // Initialize web browser for login screen
STATE_LOGIN_SHOW, // Show login screen
STATE_LOGIN_WAIT, // Wait for user input at login screen
STATE_LOGIN_CLEANUP, // Get rid of login screen and start login
@@ -57,6 +57,7 @@ enum EStartupState{
STATE_LOGIN_DOWNLOADING, // Waiting for authentication replies to download
STATE_LOGIN_PROCESS_RESPONSE, // Check authentication reply
STATE_WORLD_INIT, // Start building the world
+ STATE_MULTIMEDIA_INIT, // Init the rest of multimedia library
STATE_SEED_GRANTED_WAIT, // Wait for seed cap grant
STATE_SEED_CAP_GRANTED, // Have seed cap grant
STATE_WORLD_WAIT, // Waiting for simulator
@@ -87,6 +88,15 @@ public:
static void setStartupState( S32 state );
static S32 getStartupState() { return gStartupState; };
+ static void multimediaInit();
+ // Initialize LLViewerMedia multimedia engine.
+
+ // outfit_folder_name can be a folder anywhere in your inventory,
+ // but the name must be a case-sensitive exact match.
+ // gender_name is either "male" or "female"
+ static void loadInitialOutfit( const std::string& outfit_folder_name,
+ const std::string& gender_name );
+
static bool dispatchURL();
// if we have a SLURL or sim string ("Ahern/123/45") that started
// the viewer, dispatch it