aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llcontroldef.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:07 -0500
committerJacek Antonelli2008-08-15 23:45:07 -0500
commit8465910c79b8e746e04fd581cca2d60399e569b9 (patch)
treef43fec3e83c46e0d6190dca923d6fb268b52ffdd /linden/indra/newview/llcontroldef.cpp
parentSecond Life viewer sources 1.18.2.1 (diff)
downloadmeta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.zip
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.gz
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.bz2
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.xz
Second Life viewer sources 1.18.3.2-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llcontroldef.cpp16
1 files changed, 12 insertions, 4 deletions
diff --git a/linden/indra/newview/llcontroldef.cpp b/linden/indra/newview/llcontroldef.cpp
index dffaa36..351f437 100644
--- a/linden/indra/newview/llcontroldef.cpp
+++ b/linden/indra/newview/llcontroldef.cpp
@@ -49,6 +49,7 @@
49#include "llconsole.h" 49#include "llconsole.h"
50#include "lldrawpoolterrain.h" 50#include "lldrawpoolterrain.h"
51#include "llflexibleobject.h" 51#include "llflexibleobject.h"
52#include "llfeaturemanager.h"
52#include "llglslshader.h" 53#include "llglslshader.h"
53#include "llmediaengine.h" 54#include "llmediaengine.h"
54#include "llpanelgeneral.h" 55#include "llpanelgeneral.h"
@@ -356,7 +357,7 @@ void declare_settings()
356 gSavedSettings.declareBOOL("ShowPropertyLines", FALSE, "Show line overlay demarking property boundaries"); 357 gSavedSettings.declareBOOL("ShowPropertyLines", FALSE, "Show line overlay demarking property boundaries");
357 gSavedSettings.declareBOOL("ShowParcelOwners", FALSE, "", NO_PERSIST); 358 gSavedSettings.declareBOOL("ShowParcelOwners", FALSE, "", NO_PERSIST);
358 gSavedSettings.declareBOOL("ToolboxAutoMove", FALSE, "[NOT USED]"); 359 gSavedSettings.declareBOOL("ToolboxAutoMove", FALSE, "[NOT USED]");
359 gSavedSettings.declareBOOL("ToolboxShowMore", FALSE, "", NO_PERSIST); 360 gSavedSettings.declareBOOL("ToolboxShowMore", TRUE, "Whether to show additional build tool controls", TRUE);
360 361
361 gSavedSettings.declareRect("ToolboxRect", LLRect(0, 100, 100, 100), "Rectangle for tools window" ); // only care about position 362 gSavedSettings.declareRect("ToolboxRect", LLRect(0, 100, 100, 100), "Rectangle for tools window" ); // only care about position
362 363
@@ -379,7 +380,7 @@ void declare_settings()
379 380
380 gSavedSettings.declareS32("LastPrefTab", 0, "Last selected tab in preferences window"); 381 gSavedSettings.declareS32("LastPrefTab", 0, "Last selected tab in preferences window");
381 382
382 gSavedSettings.declareString("LSLHelpURL", "http://wiki.secondlife.com/wiki/[LSL_STRING]", "URL that points to LSL help files, with [LSL_STRING] corresponding to the referenced LSL function or keyword"); 383 gSavedSettings.declareString("LSLHelpURL", "https://wiki.secondlife.com/wiki/[LSL_STRING]", "URL that points to LSL help files, with [LSL_STRING] corresponding to the referenced LSL function or keyword");
383 // link for editable wiki (https doesn't seem to work right now with our embedded browser) 384 // link for editable wiki (https doesn't seem to work right now with our embedded browser)
384 //gSavedSettings.declareString("LSLHelpURL", "https://wiki.secondlife.com/wiki/[LSL_STRING]", "URL that points to LSL help files, with [LSL_STRING] corresponding to the referenced LSL function or keyword"); 385 //gSavedSettings.declareString("LSLHelpURL", "https://wiki.secondlife.com/wiki/[LSL_STRING]", "URL that points to LSL help files, with [LSL_STRING] corresponding to the referenced LSL function or keyword");
385 // Wearable default images 386 // Wearable default images
@@ -846,6 +847,9 @@ void declare_settings()
846 //gSavedSettings.declareU32("LastRAMDetected", 0, "[DO NOT MODIFY] Detected system memory (bytes)"); // used to detect RAM changes 847 //gSavedSettings.declareU32("LastRAMDetected", 0, "[DO NOT MODIFY] Detected system memory (bytes)"); // used to detect RAM changes
847 gSavedSettings.declareBOOL("ImagePipelineUseHTTP", FALSE, "If TRUE use HTTP GET to fetch textures from the server"); 848 gSavedSettings.declareBOOL("ImagePipelineUseHTTP", FALSE, "If TRUE use HTTP GET to fetch textures from the server");
848 849
850 // Image compression
851 gSavedSettings.declareBOOL("LosslessJ2CUpload", FALSE, "Use lossless compression for small image uploads");
852
849 // Threading 853 // Threading
850 gSavedSettings.declareBOOL("RunMultipleThreads", FALSE, "If TRUE keep background threads active during render"); 854 gSavedSettings.declareBOOL("RunMultipleThreads", FALSE, "If TRUE keep background threads active during render");
851 855
@@ -1108,6 +1112,10 @@ void declare_settings()
1108 1112
1109 // HTML dialog (general purpose) 1113 // HTML dialog (general purpose)
1110 gSavedSettings.declareRect("HtmlFloaterRect", LLRect(100,460,370,100), "Rectangle for HTML Floater window"); 1114 gSavedSettings.declareRect("HtmlFloaterRect", LLRect(100,460,370,100), "Rectangle for HTML Floater window");
1115
1116 // HTML sim release message floater
1117 gSavedSettings.declareRect("HtmlReleaseMessage", LLRect(46,520,400,128), "Rectangle for HTML Release Message Floater window");
1118
1111 1119
1112 // HTML help 1120 // HTML help
1113 gSavedSettings.declareString("HtmlHelpLastPage", "", "Last URL visited via help system"); 1121 gSavedSettings.declareString("HtmlHelpLastPage", "", "Last URL visited via help system");
@@ -1810,8 +1818,8 @@ class LLUseOcclusionListener: public LLSimpleListener
1810{ 1818{
1811 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) 1819 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
1812 { 1820 {
1813 LLPipeline::sUseOcclusion = (event->getValue().asBoolean() && gGLManager.mHasOcclusionQuery && 1821 LLPipeline::sUseOcclusion = (event->getValue().asBoolean() && gGLManager.mHasOcclusionQuery
1814 !gUseWireframe); 1822 && gFeatureManagerp->isFeatureAvailable("UseOcclusion") && !gUseWireframe);
1815 return true; 1823 return true;
1816 } 1824 }
1817}; 1825};