aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-06-13 08:02:24 -0700
committerMcCabe Maxsted2009-06-13 08:02:24 -0700
commitfd75325d1ce71ab17605783b7d5e64d0c41032bd (patch)
tree417844b82bbd0f8d9845f3944f900eeae2de1c4c /linden
parentShow muted avatars as grey in the mini-map (diff)
downloadmeta-impy-fd75325d1ce71ab17605783b7d5e64d0c41032bd.zip
meta-impy-fd75325d1ce71ab17605783b7d5e64d0c41032bd.tar.gz
meta-impy-fd75325d1ce71ab17605783b7d5e64d0c41032bd.tar.bz2
meta-impy-fd75325d1ce71ab17605783b7d5e64d0c41032bd.tar.xz
Cleaned up some old unused references
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llappviewer.cpp3
-rw-r--r--linden/indra/newview/llappviewer.h1
-rw-r--r--linden/indra/newview/llfloaterreporter.cpp1
-rw-r--r--linden/indra/newview/llnetmap.cpp2
-rw-r--r--linden/indra/newview/llviewermessage.cpp2
5 files changed, 1 insertions, 8 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index 488cfcf..4d53c88 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -248,7 +248,6 @@ BOOL gDisconnected = FALSE;
248 248
249// Map scale in pixels per region 249// Map scale in pixels per region
250F32 gMapScale = 128.f; 250F32 gMapScale = 128.f;
251F32 gMiniMapScale = 128.f;
252 251
253// used to restore texture state after a mode switch 252// used to restore texture state after a mode switch
254LLFrameTimer gRestoreGLTimer; 253LLFrameTimer gRestoreGLTimer;
@@ -406,7 +405,6 @@ static void settings_to_globals()
406 gAllowTapTapHoldRun = gSavedSettings.getBOOL("AllowTapTapHoldRun"); 405 gAllowTapTapHoldRun = gSavedSettings.getBOOL("AllowTapTapHoldRun");
407 gShowObjectUpdates = gSavedSettings.getBOOL("ShowObjectUpdates"); 406 gShowObjectUpdates = gSavedSettings.getBOOL("ShowObjectUpdates");
408 gMapScale = gSavedSettings.getF32("MapScale"); 407 gMapScale = gSavedSettings.getF32("MapScale");
409 gMiniMapScale = gSavedSettings.getF32("MiniMapScale");
410 LLHoverView::sShowHoverTips = gSavedSettings.getBOOL("ShowHoverTips"); 408 LLHoverView::sShowHoverTips = gSavedSettings.getBOOL("ShowHoverTips");
411 409
412 LLCubeMap::sUseCubeMaps = LLFeatureManager::getInstance()->isFeatureAvailable("RenderCubeMap"); 410 LLCubeMap::sUseCubeMaps = LLFeatureManager::getInstance()->isFeatureAvailable("RenderCubeMap");
@@ -2181,7 +2179,6 @@ void LLAppViewer::cleanupSavedSettings()
2181 } 2179 }
2182 2180
2183 gSavedSettings.setF32("MapScale", gMapScale ); 2181 gSavedSettings.setF32("MapScale", gMapScale );
2184 gSavedSettings.setF32("MiniMapScale", gMiniMapScale );
2185 gSavedSettings.setBOOL("ShowHoverTips", LLHoverView::sShowHoverTips); 2182 gSavedSettings.setBOOL("ShowHoverTips", LLHoverView::sShowHoverTips);
2186 2183
2187 // Some things are cached in LLAgent. 2184 // Some things are cached in LLAgent.
diff --git a/linden/indra/newview/llappviewer.h b/linden/indra/newview/llappviewer.h
index 9583982..3be5de7 100644
--- a/linden/indra/newview/llappviewer.h
+++ b/linden/indra/newview/llappviewer.h
@@ -294,7 +294,6 @@ extern BOOL gDisconnected;
294 294
295// Map scale in pixels per region 295// Map scale in pixels per region
296extern F32 gMapScale; 296extern F32 gMapScale;
297extern F32 gMiniMapScale;
298 297
299extern LLFrameTimer gRestoreGLTimer; 298extern LLFrameTimer gRestoreGLTimer;
300extern BOOL gRestoreGL; 299extern BOOL gRestoreGL;
diff --git a/linden/indra/newview/llfloaterreporter.cpp b/linden/indra/newview/llfloaterreporter.cpp
index 7e9632d..d2fcf01 100644
--- a/linden/indra/newview/llfloaterreporter.cpp
+++ b/linden/indra/newview/llfloaterreporter.cpp
@@ -64,7 +64,6 @@
64#include "llviewerregion.h" 64#include "llviewerregion.h"
65#include "llcombobox.h" 65#include "llcombobox.h"
66#include "lltooldraganddrop.h" 66#include "lltooldraganddrop.h"
67#include "llfloatermap.h"
68#include "lluiconstants.h" 67#include "lluiconstants.h"
69#include "lluploaddialog.h" 68#include "lluploaddialog.h"
70#include "llcallingcard.h" 69#include "llcallingcard.h"
diff --git a/linden/indra/newview/llnetmap.cpp b/linden/indra/newview/llnetmap.cpp
index 35982c8..9c607e0 100644
--- a/linden/indra/newview/llnetmap.cpp
+++ b/linden/indra/newview/llnetmap.cpp
@@ -74,6 +74,7 @@ const F32 MAP_SCALE_MAX = 512;
74const F32 MAP_SCALE_INCREMENT = 16; 74const F32 MAP_SCALE_INCREMENT = 16;
75const F32 MAP_MIN_PICK_DIST = 4; 75const F32 MAP_MIN_PICK_DIST = 4;
76const F32 MAP_MINOR_DIR_THRESHOLD = 0.08f; 76const F32 MAP_MINOR_DIR_THRESHOLD = 0.08f;
77const S32 SLOP = 2;
77 78
78const S32 TRACKING_RADIUS = 3; 79const S32 TRACKING_RADIUS = 3;
79 80
@@ -800,7 +801,6 @@ BOOL LLNetMap::outsideSlop(S32 x, S32 y, S32 start_x, S32 start_y)
800{ 801{
801 S32 dx = x - start_x; 802 S32 dx = x - start_x;
802 S32 dy = y - start_y; 803 S32 dy = y - start_y;
803 S32 SLOP = 4;
804 804
805 return (dx <= -SLOP || SLOP <= dx || dy <= -SLOP || SLOP <= dy); 805 return (dx <= -SLOP || SLOP <= dx || dy <= -SLOP || SLOP <= dy);
806} 806}
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp
index 9aa44fc..3fb8e9a 100644
--- a/linden/indra/newview/llviewermessage.cpp
+++ b/linden/indra/newview/llviewermessage.cpp
@@ -80,7 +80,6 @@
80#include "llfloaterland.h" 80#include "llfloaterland.h"
81#include "llfloaterregioninfo.h" 81#include "llfloaterregioninfo.h"
82#include "llfloaterlandholdings.h" 82#include "llfloaterlandholdings.h"
83#include "llfloatermap.h"
84#include "llurldispatcher.h" 83#include "llurldispatcher.h"
85#include "llfloatermute.h" 84#include "llfloatermute.h"
86#include "llfloaterpostcard.h" 85#include "llfloaterpostcard.h"
@@ -95,7 +94,6 @@
95#include "llinventoryview.h" 94#include "llinventoryview.h"
96#include "llmenugl.h" 95#include "llmenugl.h"
97#include "llmutelist.h" 96#include "llmutelist.h"
98#include "llnetmap.h"
99#include "llnotify.h" 97#include "llnotify.h"
100#include "llpanelgrouplandmoney.h" 98#include "llpanelgrouplandmoney.h"
101#include "llselectmgr.h" 99#include "llselectmgr.h"