diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llappviewer.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llappviewer.h | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/linden/indra/newview/llappviewer.h b/linden/indra/newview/llappviewer.h index f00211f..68bdb24 100644 --- a/linden/indra/newview/llappviewer.h +++ b/linden/indra/newview/llappviewer.h | |||
@@ -63,7 +63,7 @@ public: | |||
63 | void forceQuit(); // Puts the viewer into 'shutting down without error' mode. | 63 | void forceQuit(); // Puts the viewer into 'shutting down without error' mode. |
64 | void requestQuit(); // Request a quit. A kinder, gentler quit. | 64 | void requestQuit(); // Request a quit. A kinder, gentler quit. |
65 | void userQuit(); // The users asks to quit. Confirm, then requestQuit() | 65 | void userQuit(); // The users asks to quit. Confirm, then requestQuit() |
66 | void earlyExit(const LLString& msg); // Display an error dialog and forcibly quit. | 66 | void earlyExit(const std::string& msg); // Display an error dialog and forcibly quit. |
67 | void forceExit(S32 arg); // exit() immediately (after some cleanup). | 67 | void forceExit(S32 arg); // exit() immediately (after some cleanup). |
68 | void abortQuit(); // Called to abort a quit request. | 68 | void abortQuit(); // Called to abort a quit request. |
69 | 69 | ||
@@ -91,10 +91,10 @@ public: | |||
91 | 91 | ||
92 | bool getPurgeCache() const { return mPurgeCache; } | 92 | bool getPurgeCache() const { return mPurgeCache; } |
93 | 93 | ||
94 | const LLString& getSecondLifeTitle() const; // The Second Life title. | 94 | const std::string& getSecondLifeTitle() const; // The Second Life title. |
95 | const LLString& getWindowTitle() const; // The window display name. | 95 | const std::string& getWindowTitle() const; // The window display name. |
96 | 96 | ||
97 | void forceDisconnect(const LLString& msg); // Force disconnection, with a message to the user. | 97 | void forceDisconnect(const std::string& msg); // Force disconnection, with a message to the user. |
98 | void badNetworkHandler(); // Cause a crash state due to bad network packet. | 98 | void badNetworkHandler(); // Cause a crash state due to bad network packet. |
99 | 99 | ||
100 | bool hasSavedFinalSnapshot() { return mSavedFinalSnapshot; } | 100 | bool hasSavedFinalSnapshot() { return mSavedFinalSnapshot; } |
@@ -157,7 +157,7 @@ private: | |||
157 | void purgeCache(); // Clear the local cache. | 157 | void purgeCache(); // Clear the local cache. |
158 | 158 | ||
159 | void cleanupSavedSettings(); // Sets some config data to current or default values during cleanup. | 159 | void cleanupSavedSettings(); // Sets some config data to current or default values during cleanup. |
160 | void removeCacheFiles(const char *filemask); // Deletes cached files the match the given wildcard. | 160 | void removeCacheFiles(const std::string& filemask); // Deletes cached files the match the given wildcard. |
161 | 161 | ||
162 | void writeSystemInfo(); // Write system info to "debug_info.log" | 162 | void writeSystemInfo(); // Write system info to "debug_info.log" |
163 | 163 | ||
@@ -177,10 +177,10 @@ private: | |||
177 | 177 | ||
178 | bool mSecondInstance; // Is this a second instance of the app? | 178 | bool mSecondInstance; // Is this a second instance of the app? |
179 | 179 | ||
180 | LLString mMarkerFileName; | 180 | std::string mMarkerFileName; |
181 | apr_file_t* mMarkerFile; // A file created to indicate the app is running. | 181 | apr_file_t* mMarkerFile; // A file created to indicate the app is running. |
182 | 182 | ||
183 | LLString mLogoutMarkerFileName; | 183 | std::string mLogoutMarkerFileName; |
184 | apr_file_t* mLogoutMarkerFile; // A file created to indicate the app is running. | 184 | apr_file_t* mLogoutMarkerFile; // A file created to indicate the app is running. |
185 | 185 | ||
186 | 186 | ||
@@ -206,6 +206,10 @@ private: | |||
206 | LLSD mSettingsFileList; | 206 | LLSD mSettingsFileList; |
207 | 207 | ||
208 | LLWatchdogTimeout* mMainloopTimeout; | 208 | LLWatchdogTimeout* mMainloopTimeout; |
209 | |||
210 | // for tracking viewer<->region circuit death | ||
211 | bool mAgentRegionLastAlive; | ||
212 | LLUUID mAgentRegionLastID; | ||
209 | }; | 213 | }; |
210 | 214 | ||
211 | // consts from viewer.h | 215 | // consts from viewer.h |
@@ -217,7 +221,7 @@ const S32 AGENT_UPDATES_PER_SECOND = 10; | |||
217 | // "// llstartup" indicates that llstartup is the only client for this global. | 221 | // "// llstartup" indicates that llstartup is the only client for this global. |
218 | 222 | ||
219 | extern BOOL gHandleKeysAsync; // gSavedSettings used by llviewerdisplay.cpp & llviewermenu.cpp | 223 | extern BOOL gHandleKeysAsync; // gSavedSettings used by llviewerdisplay.cpp & llviewermenu.cpp |
220 | extern LLString gDisabledMessage; // llstartup | 224 | extern std::string gDisabledMessage; // llstartup |
221 | extern BOOL gHideLinks; // used by llpanellogin, lllfloaterbuycurrency, llstartup | 225 | extern BOOL gHideLinks; // used by llpanellogin, lllfloaterbuycurrency, llstartup |
222 | extern LLSD gDebugInfo; | 226 | extern LLSD gDebugInfo; |
223 | 227 | ||
@@ -253,9 +257,10 @@ extern BOOL gPacificDaylightTime; | |||
253 | extern U64 gFrameTime; // The timestamp of the most-recently-processed frame | 257 | extern U64 gFrameTime; // The timestamp of the most-recently-processed frame |
254 | extern F32 gFrameTimeSeconds; // Loses msec precision after ~4.5 hours... | 258 | extern F32 gFrameTimeSeconds; // Loses msec precision after ~4.5 hours... |
255 | extern F32 gFrameIntervalSeconds; // Elapsed time between current and previous gFrameTimeSeconds | 259 | extern F32 gFrameIntervalSeconds; // Elapsed time between current and previous gFrameTimeSeconds |
256 | extern F32 gFPSClamped; // Frames per second, smoothed, weighted toward last frame | 260 | extern F32 gFPSClamped; // Frames per second, smoothed, weighted toward last frame |
257 | extern F32 gFrameDTClamped; | 261 | extern F32 gFrameDTClamped; |
258 | extern U64 gStartTime; | 262 | extern U64 gStartTime; |
263 | extern U32 gFrameStalls; | ||
259 | 264 | ||
260 | extern LLTimer gRenderStartTime; | 265 | extern LLTimer gRenderStartTime; |
261 | extern LLFrameTimer gForegroundTime; | 266 | extern LLFrameTimer gForegroundTime; |
@@ -287,7 +292,7 @@ extern LLVFS *gStaticVFS; | |||
287 | extern LLMemoryInfo gSysMemory; | 292 | extern LLMemoryInfo gSysMemory; |
288 | extern U64 gMemoryAllocated; | 293 | extern U64 gMemoryAllocated; |
289 | 294 | ||
290 | extern LLString gLastVersionChannel; | 295 | extern std::string gLastVersionChannel; |
291 | 296 | ||
292 | extern LLVector3 gWindVec; | 297 | extern LLVector3 gWindVec; |
293 | extern LLVector3 gRelativeWindVec; | 298 | extern LLVector3 gRelativeWindVec; |