aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llappviewer.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llappviewer.h
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-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.h25
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
219extern BOOL gHandleKeysAsync; // gSavedSettings used by llviewerdisplay.cpp & llviewermenu.cpp 223extern BOOL gHandleKeysAsync; // gSavedSettings used by llviewerdisplay.cpp & llviewermenu.cpp
220extern LLString gDisabledMessage; // llstartup 224extern std::string gDisabledMessage; // llstartup
221extern BOOL gHideLinks; // used by llpanellogin, lllfloaterbuycurrency, llstartup 225extern BOOL gHideLinks; // used by llpanellogin, lllfloaterbuycurrency, llstartup
222extern LLSD gDebugInfo; 226extern LLSD gDebugInfo;
223 227
@@ -253,9 +257,10 @@ extern BOOL gPacificDaylightTime;
253extern U64 gFrameTime; // The timestamp of the most-recently-processed frame 257extern U64 gFrameTime; // The timestamp of the most-recently-processed frame
254extern F32 gFrameTimeSeconds; // Loses msec precision after ~4.5 hours... 258extern F32 gFrameTimeSeconds; // Loses msec precision after ~4.5 hours...
255extern F32 gFrameIntervalSeconds; // Elapsed time between current and previous gFrameTimeSeconds 259extern F32 gFrameIntervalSeconds; // Elapsed time between current and previous gFrameTimeSeconds
256extern F32 gFPSClamped; // Frames per second, smoothed, weighted toward last frame 260extern F32 gFPSClamped; // Frames per second, smoothed, weighted toward last frame
257extern F32 gFrameDTClamped; 261extern F32 gFrameDTClamped;
258extern U64 gStartTime; 262extern U64 gStartTime;
263extern U32 gFrameStalls;
259 264
260extern LLTimer gRenderStartTime; 265extern LLTimer gRenderStartTime;
261extern LLFrameTimer gForegroundTime; 266extern LLFrameTimer gForegroundTime;
@@ -287,7 +292,7 @@ extern LLVFS *gStaticVFS;
287extern LLMemoryInfo gSysMemory; 292extern LLMemoryInfo gSysMemory;
288extern U64 gMemoryAllocated; 293extern U64 gMemoryAllocated;
289 294
290extern LLString gLastVersionChannel; 295extern std::string gLastVersionChannel;
291 296
292extern LLVector3 gWindVec; 297extern LLVector3 gWindVec;
293extern LLVector3 gRelativeWindVec; 298extern LLVector3 gRelativeWindVec;