aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/viewer.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/viewer.h')
-rw-r--r--linden/indra/newview/viewer.h34
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
49extern BOOL gHackGodmode; 43extern BOOL gHackGodmode;
50#endif 44#endif
51// ************************************************************ 45
52 46
53// 47//
54// Forward Declarations 48// Forward Declarations
55// 49//
56class LLVector3d; 50class LLAudioEngine;
57class LLViewerObject; 51class LLFrameTimer;
58class LLMessageSystem; 52class LLMessageSystem;
59class LLHost; 53class LLHost;
60class LLAudioEngine;
61class LLViewerRegion;
62class LLVFS;
63class LLGlobalEconomy;
64class LLPieMenu; 54class LLPieMenu;
65class LLWorkerThread; 55class LLWorkerThread;
66class LLTextureFetch; 56class LLTextureFetch;
67class LLTextureCache; 57class LLTextureCache;
68class LLPumpIO; 58class LLPumpIO;
69class LLHTTPNode; 59class LLHTTPNode;
60class LLTimer;
61class LLUUID;
62class LLVector3;
63class LLVector3d;
64class LLViewerObject;
65class LLViewerRegion;
66class LLVFS;
70 67
71// 68//
72// Global Variables 69// Global Variables
@@ -79,6 +76,7 @@ extern BOOL gNoRender;
79extern LLMemoryInfo gSysMemory; 76extern LLMemoryInfo gSysMemory;
80extern BOOL gLogMessages; 77extern BOOL gLogMessages;
81extern BOOL gUseAudio; 78extern BOOL gUseAudio;
79extern bool gPreloadImages;
82extern BOOL gConnectToSomething; 80extern BOOL gConnectToSomething;
83extern BOOL gGodConnect; 81extern BOOL gGodConnect;
84extern BOOL gRunLocal; 82extern BOOL gRunLocal;
@@ -143,8 +141,6 @@ extern BOOL gShowObjectUpdates;
143extern BOOL gTeleportDisplay; 141extern BOOL gTeleportDisplay;
144extern LLFrameTimer gTeleportDisplayTimer; 142extern LLFrameTimer gTeleportDisplayTimer;
145 143
146extern LLGlobalEconomy *gGlobalEconomy;
147
148extern std::map<S32,LLFrameTimer> gDebugTimers; 144extern std::map<S32,LLFrameTimer> gDebugTimers;
149 145
150// VFS globals - gVFS is for general use 146// VFS globals - gVFS is for general use