diff options
Diffstat (limited to 'linden/indra/newview/viewer.h')
-rw-r--r-- | linden/indra/newview/viewer.h | 34 |
1 files changed, 15 insertions, 19 deletions
diff --git a/linden/indra/newview/viewer.h b/linden/indra/newview/viewer.h index f082e99..141206c 100644 --- a/linden/indra/newview/viewer.h +++ b/linden/indra/newview/viewer.h | |||
@@ -29,44 +29,41 @@ | |||
29 | #ifndef LL_VIEWER_H | 29 | #ifndef LL_VIEWER_H |
30 | #define LL_VIEWER_H | 30 | #define LL_VIEWER_H |
31 | 31 | ||
32 | #include "stdtypes.h" | 32 | // DO NOT ADD DEPENDENCIES HERE |
33 | #include "v3math.h" | 33 | // Almost every file in the viewer depends on this file. |
34 | #include "llcoord.h" | 34 | // If you need to add a shared class, put it in its own |
35 | 35 | // little file. JC | |
36 | #include "lltimer.h" | ||
37 | #include "llframetimer.h" | ||
38 | #include "lluuid.h" | ||
39 | #include "llsys.h" | ||
40 | #include "lltransactiontypes.h" | 36 | #include "lltransactiontypes.h" |
41 | #include "llviewercontrol.h" | 37 | #include "llviewercontrol.h" |
42 | 38 | ||
43 | // ************************************************************ | ||
44 | // Enabled this definition to compile a 'hacked' viewer that | 39 | // Enabled this definition to compile a 'hacked' viewer that |
45 | // allows a hacked godmode to be toggled on and off. | 40 | // allows a hacked godmode to be toggled on and off. |
46 | #define TOGGLE_HACKED_GODLIKE_VIEWER | 41 | #define TOGGLE_HACKED_GODLIKE_VIEWER |
47 | |||
48 | #ifdef TOGGLE_HACKED_GODLIKE_VIEWER | 42 | #ifdef TOGGLE_HACKED_GODLIKE_VIEWER |
49 | extern BOOL gHackGodmode; | 43 | extern BOOL gHackGodmode; |
50 | #endif | 44 | #endif |
51 | // ************************************************************ | 45 | |
52 | 46 | ||
53 | // | 47 | // |
54 | // Forward Declarations | 48 | // Forward Declarations |
55 | // | 49 | // |
56 | class LLVector3d; | 50 | class LLAudioEngine; |
57 | class LLViewerObject; | 51 | class LLFrameTimer; |
58 | class LLMessageSystem; | 52 | class LLMessageSystem; |
59 | class LLHost; | 53 | class LLHost; |
60 | class LLAudioEngine; | ||
61 | class LLViewerRegion; | ||
62 | class LLVFS; | ||
63 | class LLGlobalEconomy; | ||
64 | class LLPieMenu; | 54 | class LLPieMenu; |
65 | class LLWorkerThread; | 55 | class LLWorkerThread; |
66 | class LLTextureFetch; | 56 | class LLTextureFetch; |
67 | class LLTextureCache; | 57 | class LLTextureCache; |
68 | class LLPumpIO; | 58 | class LLPumpIO; |
69 | class LLHTTPNode; | 59 | class LLHTTPNode; |
60 | class LLTimer; | ||
61 | class LLUUID; | ||
62 | class LLVector3; | ||
63 | class LLVector3d; | ||
64 | class LLViewerObject; | ||
65 | class LLViewerRegion; | ||
66 | class LLVFS; | ||
70 | 67 | ||
71 | // | 68 | // |
72 | // Global Variables | 69 | // Global Variables |
@@ -79,6 +76,7 @@ extern BOOL gNoRender; | |||
79 | extern LLMemoryInfo gSysMemory; | 76 | extern LLMemoryInfo gSysMemory; |
80 | extern BOOL gLogMessages; | 77 | extern BOOL gLogMessages; |
81 | extern BOOL gUseAudio; | 78 | extern BOOL gUseAudio; |
79 | extern bool gPreloadImages; | ||
82 | extern BOOL gConnectToSomething; | 80 | extern BOOL gConnectToSomething; |
83 | extern BOOL gGodConnect; | 81 | extern BOOL gGodConnect; |
84 | extern BOOL gRunLocal; | 82 | extern BOOL gRunLocal; |
@@ -143,8 +141,6 @@ extern BOOL gShowObjectUpdates; | |||
143 | extern BOOL gTeleportDisplay; | 141 | extern BOOL gTeleportDisplay; |
144 | extern LLFrameTimer gTeleportDisplayTimer; | 142 | extern LLFrameTimer gTeleportDisplayTimer; |
145 | 143 | ||
146 | extern LLGlobalEconomy *gGlobalEconomy; | ||
147 | |||
148 | extern std::map<S32,LLFrameTimer> gDebugTimers; | 144 | extern std::map<S32,LLFrameTimer> gDebugTimers; |
149 | 145 | ||
150 | // VFS globals - gVFS is for general use | 146 | // VFS globals - gVFS is for general use |