diff options
author | Jacek Antonelli | 2008-08-15 23:45:07 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:07 -0500 |
commit | 8465910c79b8e746e04fd581cca2d60399e569b9 (patch) | |
tree | f43fec3e83c46e0d6190dca923d6fb268b52ffdd /linden/indra/newview/llstartup.h | |
parent | Second Life viewer sources 1.18.2.1 (diff) | |
download | meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.zip meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.gz meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.bz2 meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.xz |
Second Life viewer sources 1.18.3.2-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llstartup.h | 61 |
1 files changed, 31 insertions, 30 deletions
diff --git a/linden/indra/newview/llstartup.h b/linden/indra/newview/llstartup.h index 718d74d..d9adc62 100644 --- a/linden/indra/newview/llstartup.h +++ b/linden/indra/newview/llstartup.h | |||
@@ -42,38 +42,32 @@ extern const char* SCREEN_HOME_FILENAME; | |||
42 | extern const char* SCREEN_LAST_FILENAME; | 42 | extern const char* SCREEN_LAST_FILENAME; |
43 | 43 | ||
44 | enum EStartupState{ | 44 | enum EStartupState{ |
45 | STATE_FIRST, | 45 | STATE_FIRST, // Initial startup |
46 | STATE_LOGIN_SHOW, | 46 | STATE_LOGIN_SHOW, // Show login screen |
47 | STATE_LOGIN_WAIT, | 47 | STATE_LOGIN_WAIT, // Wait for user input at login screen |
48 | STATE_LOGIN_CLEANUP, | 48 | STATE_LOGIN_CLEANUP, // Get rid of login screen and start login |
49 | STATE_UPDATE_CHECK, | 49 | STATE_UPDATE_CHECK, // Wait for user at a dialog box (updates, term-of-service, etc) |
50 | STATE_LOGIN_AUTH_INIT, | 50 | STATE_LOGIN_AUTH_INIT, // Start login to SL servers |
51 | STATE_LOGIN_AUTHENTICATE, | 51 | STATE_LOGIN_AUTHENTICATE, // Do authentication voodoo |
52 | STATE_LOGIN_NO_DATA_YET, | 52 | STATE_LOGIN_NO_DATA_YET, // Waiting for authentication replies to start |
53 | STATE_LOGIN_DOWNLOADING, | 53 | STATE_LOGIN_DOWNLOADING, // Waiting for authentication replies to download |
54 | STATE_LOGIN_PROCESS_RESPONSE, | 54 | STATE_LOGIN_PROCESS_RESPONSE, // Check authentication reply |
55 | STATE_WORLD_INIT, | 55 | STATE_WORLD_INIT, // Start building the world |
56 | STATE_SEED_GRANTED_WAIT, | 56 | STATE_SEED_GRANTED_WAIT, // Wait for seed cap grant |
57 | STATE_SEED_CAP_GRANTED, | 57 | STATE_SEED_CAP_GRANTED, // Have seed cap grant |
58 | STATE_QUICKTIME_INIT, | 58 | STATE_QUICKTIME_INIT, // Initialzie QT |
59 | STATE_WORLD_WAIT, | 59 | STATE_WORLD_WAIT, // Waiting for simulator |
60 | STATE_AGENT_SEND, | 60 | STATE_AGENT_SEND, // Connect to a region |
61 | STATE_AGENT_WAIT, | 61 | STATE_AGENT_WAIT, // Wait for region |
62 | STATE_INVENTORY_SEND, | 62 | STATE_INVENTORY_SEND, // Do inventory transfer |
63 | STATE_MISC, | 63 | STATE_MISC, // Do more things (set bandwidth, start audio, save location, etc) |
64 | STATE_PRECACHE, | 64 | STATE_PRECACHE, // Wait a bit for textures to download |
65 | STATE_WEARABLES_WAIT, | 65 | STATE_WEARABLES_WAIT, // Wait for clothing to download |
66 | //STATE_INVENTORY_WAIT, | 66 | STATE_CLEANUP, // Final cleanup |
67 | //STATE_TOS_AGREEMENT_START, | 67 | STATE_STARTED // Up and running in-world |
68 | //STATE_TOS_AGREEMENT_WAIT, | ||
69 | //STATE_CRITICAL_MESSAGE_START, | ||
70 | //STATE_CRITICAL_MESSAGE_WAIT, | ||
71 | STATE_CLEANUP, | ||
72 | STATE_STARTED | ||
73 | }; | 68 | }; |
74 | 69 | ||
75 | // exorted symbol | 70 | // exported symbols |
76 | extern S32 gStartupState; | ||
77 | extern BOOL gAgentMovementCompleted; | 71 | extern BOOL gAgentMovementCompleted; |
78 | extern bool gUseQuickTime; | 72 | extern bool gUseQuickTime; |
79 | extern bool gQuickTimeInitialized; | 73 | extern bool gQuickTimeInitialized; |
@@ -85,6 +79,13 @@ public: | |||
85 | static bool canGoFullscreen(); | 79 | static bool canGoFullscreen(); |
86 | // returns true if we are far enough along in startup to allow | 80 | // returns true if we are far enough along in startup to allow |
87 | // going full screen | 81 | // going full screen |
82 | |||
83 | // Always use this to set gStartupState so changes are logged | ||
84 | static void setStartupState( S32 state ); | ||
85 | static S32 getStartupState() { return gStartupState; }; | ||
86 | |||
87 | protected: | ||
88 | static S32 gStartupState; // Do not set directly, use LLStartup::setStartupState | ||
88 | }; | 89 | }; |
89 | 90 | ||
90 | 91 | ||