diff options
Diffstat (limited to 'linden/indra/newview/llcontroldef.cpp')
-rw-r--r-- | linden/indra/newview/llcontroldef.cpp | 78 |
1 files changed, 67 insertions, 11 deletions
diff --git a/linden/indra/newview/llcontroldef.cpp b/linden/indra/newview/llcontroldef.cpp index cd4cf4d..7989791 100644 --- a/linden/indra/newview/llcontroldef.cpp +++ b/linden/indra/newview/llcontroldef.cpp | |||
@@ -5,6 +5,7 @@ | |||
5 | * | 5 | * |
6 | * Copyright (c) 2001-2007, Linden Research, Inc. | 6 | * Copyright (c) 2001-2007, Linden Research, Inc. |
7 | * | 7 | * |
8 | * Second Life Viewer Source Code | ||
8 | * The source code in this file ("Source Code") is provided by Linden Lab | 9 | * The source code in this file ("Source Code") is provided by Linden Lab |
9 | * to you under the terms of the GNU General Public License, version 2.0 | 10 | * to you under the terms of the GNU General Public License, version 2.0 |
10 | * ("GPL"), unless you have obtained a separate licensing agreement | 11 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -239,6 +240,8 @@ void declare_settings() | |||
239 | // Other.... | 240 | // Other.... |
240 | //------------------------------------------------------------------------ | 241 | //------------------------------------------------------------------------ |
241 | 242 | ||
243 | gSavedSettings.declareBOOL("ScriptHelpFollowsCursor", FALSE, "Scripting help window updates contents based on script editor contents under text cursor"); | ||
244 | |||
242 | gSavedSettings.declareS32("LastFeatureVersion", 0, "[DO NOT MODIFY] Version number for tracking hardware changes", TRUE); | 245 | gSavedSettings.declareS32("LastFeatureVersion", 0, "[DO NOT MODIFY] Version number for tracking hardware changes", TRUE); |
243 | gSavedSettings.declareS32("NumSessions", 0, "Number of successful logins to Second Life"); | 246 | gSavedSettings.declareS32("NumSessions", 0, "Number of successful logins to Second Life"); |
244 | gSavedSettings.declareBOOL("ShowInventory", FALSE, "Open inventory window on login"); | 247 | gSavedSettings.declareBOOL("ShowInventory", FALSE, "Open inventory window on login"); |
@@ -272,8 +275,9 @@ void declare_settings() | |||
272 | 275 | ||
273 | gSavedSettings.declareS32("LastPrefTab", 0, "Last selected tab in preferences window"); | 276 | gSavedSettings.declareS32("LastPrefTab", 0, "Last selected tab in preferences window"); |
274 | 277 | ||
275 | //gSavedSettings.declareString("LSLHelpURL", "http://www.lslwiki.com/lslwiki/wakka.php?wakka=[LSL_STRING]", "URL that points to LSL help files, with [LSL_STRING] corresponding to the referenced LSL function or keyword"); | 278 | 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"); |
276 | //gSavedSettings.declareString("LSLHelpURL", "file://[APP_DIRECTORY]/lsl_guide.html#[LSL_STRING]", "URL that points to LSL help files, with [LSL_STRING] corresponding to the referenced LSL function or keyword"); | 279 | // link for editable wiki (https doesn't seem to work right now with our embedded browser) |
280 | //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"); | ||
277 | // Wearable default images | 281 | // Wearable default images |
278 | // const char* UI_IMG_BLACK_UUID = "e2244626-f22f-4839-8123-1e7baddeb659"; | 282 | // const char* UI_IMG_BLACK_UUID = "e2244626-f22f-4839-8123-1e7baddeb659"; |
279 | const char* UI_IMG_WHITE_UUID = "5748decc-f629-461c-9a36-a35a221fe21f"; | 283 | const char* UI_IMG_WHITE_UUID = "5748decc-f629-461c-9a36-a35a221fe21f"; |
@@ -447,6 +451,11 @@ void declare_settings() | |||
447 | gSavedSettings.declareString("UIImgBtnScrollRightOutUUID", "3d700d19-e708-465d-87f2-46c8c0ee7938", "", NO_PERSIST); | 451 | gSavedSettings.declareString("UIImgBtnScrollRightOutUUID", "3d700d19-e708-465d-87f2-46c8c0ee7938", "", NO_PERSIST); |
448 | gSavedSettings.declareString("UIImgBtnScrollRightInUUID", "b749de64-e903-4c3c-ac0b-25fb6fa39cb5", "", NO_PERSIST); | 452 | gSavedSettings.declareString("UIImgBtnScrollRightInUUID", "b749de64-e903-4c3c-ac0b-25fb6fa39cb5", "", NO_PERSIST); |
449 | 453 | ||
454 | gSavedSettings.declareString("UIImgBtnJumpLeftOutUUID", "3c18c87e-5f50-14e2-e744-f44734aa365f", "", NO_PERSIST); | ||
455 | gSavedSettings.declareString("UIImgBtnJumpLeftInUUID", "9cad3e6d-2d6d-107d-f8ab-5ba272b5bfe1", "", NO_PERSIST); | ||
456 | gSavedSettings.declareString("UIImgBtnJumpRightOutUUID", "ff9a71eb-7414-4cf8-866e-a701deb7c3cf", "", NO_PERSIST); | ||
457 | gSavedSettings.declareString("UIImgBtnJumpRightInUUID", "7dabc040-ec13-2309-ddf7-4f161f6de2f4", "", NO_PERSIST); | ||
458 | |||
450 | // Spin control | 459 | // Spin control |
451 | gSavedSettings.declareString("UIImgBtnSpinUpOutUUID", "56576e6e-6710-4e66-89f9-471b59122794", "", NO_PERSIST); | 460 | gSavedSettings.declareString("UIImgBtnSpinUpOutUUID", "56576e6e-6710-4e66-89f9-471b59122794", "", NO_PERSIST); |
452 | gSavedSettings.declareString("UIImgBtnSpinUpInUUID", "c8450082-96a0-4319-8090-d3ff900b4954", "", NO_PERSIST); | 461 | gSavedSettings.declareString("UIImgBtnSpinUpInUUID", "c8450082-96a0-4319-8090-d3ff900b4954", "", NO_PERSIST); |
@@ -502,7 +511,8 @@ void declare_settings() | |||
502 | gSavedSettings.declareBOOL("ShowCrosshairs", TRUE, "Display crosshairs when in mouselook mode"); | 511 | gSavedSettings.declareBOOL("ShowCrosshairs", TRUE, "Display crosshairs when in mouselook mode"); |
503 | gSavedSettings.declareString("UIImgCrosshairsUUID", "6e1a3980-bf2d-4274-8970-91e60d85fb52", "Image to use for crosshair display (UUID texture reference)"); | 512 | gSavedSettings.declareString("UIImgCrosshairsUUID", "6e1a3980-bf2d-4274-8970-91e60d85fb52", "Image to use for crosshair display (UUID texture reference)"); |
504 | 513 | ||
505 | gSavedSettings.declareString("Language", "en-us", "Language specifier (for XUI)" ); | 514 | gSavedSettings.declareString("Language", "default", "Language specifier (for XUI)" ); |
515 | gSavedSettings.declareString("SystemLanguage", "en-us", "Language indicated by system settings (for XUI)" ); | ||
506 | 516 | ||
507 | ///////////////////////////////////////////////// | 517 | ///////////////////////////////////////////////// |
508 | // Other booleans | 518 | // Other booleans |
@@ -625,6 +635,10 @@ void declare_settings() | |||
625 | gSavedSettings.declareBOOL("OpenDebugStatRender", TRUE, "Expand render stats display"); | 635 | gSavedSettings.declareBOOL("OpenDebugStatRender", TRUE, "Expand render stats display"); |
626 | gSavedSettings.declareBOOL("OpenDebugStatSim", TRUE, "Expand simulator performance stats display"); | 636 | gSavedSettings.declareBOOL("OpenDebugStatSim", TRUE, "Expand simulator performance stats display"); |
627 | gSavedSettings.declareBOOL("ShowDepthBuffer", FALSE, "Show depth buffer contents"); | 637 | gSavedSettings.declareBOOL("ShowDepthBuffer", FALSE, "Show depth buffer contents"); |
638 | |||
639 | gSavedSettings.declareBOOL("DebugShowTime", FALSE, "Show depth buffer contents"); | ||
640 | gSavedSettings.declareBOOL("DebugShowRenderInfo", FALSE, "Show depth buffer contents"); | ||
641 | |||
628 | // gSavedSettings.declareBOOL("ShowHUD", TRUE); | 642 | // gSavedSettings.declareBOOL("ShowHUD", TRUE); |
629 | //gSavedSettings.declareBOOL("ShowHUDText", TRUE, "[NOT USED]"); | 643 | //gSavedSettings.declareBOOL("ShowHUDText", TRUE, "[NOT USED]"); |
630 | //gSavedSettings.declareBOOL("ShowHeadlight", FALSE, "[NOT USED]"); | 644 | //gSavedSettings.declareBOOL("ShowHeadlight", FALSE, "[NOT USED]"); |
@@ -669,12 +683,18 @@ void declare_settings() | |||
669 | gSavedSettings.declareF32( "RenderBumpmapMinDistanceSquared", 100.f, "Maximum distance at which to render bumpmapped primitives (distance in meters, squared)" ); | 683 | gSavedSettings.declareF32( "RenderBumpmapMinDistanceSquared", 100.f, "Maximum distance at which to render bumpmapped primitives (distance in meters, squared)" ); |
670 | gSavedSettings.declareS32( "RenderMaxPartCount", 4096, "Maximum number of particles to display on screen"); | 684 | gSavedSettings.declareS32( "RenderMaxPartCount", 4096, "Maximum number of particles to display on screen"); |
671 | gSavedSettings.declareBOOL("RenderVBOEnable", TRUE, "Use GL Vertex Buffer Objects" ); | 685 | gSavedSettings.declareBOOL("RenderVBOEnable", TRUE, "Use GL Vertex Buffer Objects" ); |
686 | gSavedSettings.declareS32("RenderReflectionRes", 64, "Reflection map resolution."); | ||
672 | //gSavedSettings.declareBOOL("RenderUseTriStrips", FALSE, "[NOT USED]"); | 687 | //gSavedSettings.declareBOOL("RenderUseTriStrips", FALSE, "[NOT USED]"); |
673 | //gSavedSettings.declareBOOL("RenderCullBySize", FALSE, "[NOT USED]" ); | 688 | //gSavedSettings.declareBOOL("RenderCullBySize", FALSE, "[NOT USED]" ); |
674 | gSavedSettings.declareF32("RenderTerrainScale", 12.f, "Terrain detail texture scale"); | 689 | gSavedSettings.declareF32("RenderTerrainScale", 12.f, "Terrain detail texture scale"); |
675 | gSavedSettings.declareBOOL("VertexShaderEnable", FALSE, "Enable/disable all GLSL shaders (debug)"); | 690 | gSavedSettings.declareBOOL("VertexShaderEnable", FALSE, "Enable/disable all GLSL shaders (debug)"); |
691 | gSavedSettings.declareBOOL("RenderInitError", FALSE, "Error occured while initializing GL"); | ||
676 | gSavedSettings.declareBOOL("RenderRippleWater", FALSE, "Display more realistic water, with refraction (requires pixel shader support on your video card)"); | 692 | gSavedSettings.declareBOOL("RenderRippleWater", FALSE, "Display more realistic water, with refraction (requires pixel shader support on your video card)"); |
677 | gSavedSettings.declareBOOL("RenderDynamicReflections", FALSE, "Generate a dynamic cube map for reflections (objects reflect their environment, experimental)."); | 693 | gSavedSettings.declareBOOL("RenderDynamicReflections", FALSE, "Generate a dynamic cube map for reflections (objects reflect their environment, experimental)."); |
694 | gSavedSettings.declareBOOL("RenderGlow", FALSE, "Make light sources glow."); | ||
695 | gSavedSettings.declareF32("RenderGlowStrength", 1.25f, "Strength of glow"); | ||
696 | gSavedSettings.declareS32("RenderGlowSize", 5, "Size of glow (in pixels)"); | ||
697 | gSavedSettings.declareS32("RenderGlowResolution", 256, "Glow map resolution."); | ||
678 | gSavedSettings.declareBOOL("RenderObjectBump", TRUE, "Show bumpmapping on primitives"); | 698 | gSavedSettings.declareBOOL("RenderObjectBump", TRUE, "Show bumpmapping on primitives"); |
679 | gSavedSettings.declareS32("RenderAvatarMode", 1, "Controls how avatars are rendered (0 = normal, 1 = bump mapped, 2 = bump mapped and wavy cloth)"); | 699 | gSavedSettings.declareS32("RenderAvatarMode", 1, "Controls how avatars are rendered (0 = normal, 1 = bump mapped, 2 = bump mapped and wavy cloth)"); |
680 | gSavedSettings.declareBOOL("RenderAvatarVP", TRUE, "Use vertex programs to perform hardware skinning of avatar"); | 700 | gSavedSettings.declareBOOL("RenderAvatarVP", TRUE, "Use vertex programs to perform hardware skinning of avatar"); |
@@ -682,6 +702,7 @@ void declare_settings() | |||
682 | //gSavedSettings.declareBOOL("RenderForceGetTexImage", FALSE, "[NOT USED]"); | 702 | //gSavedSettings.declareBOOL("RenderForceGetTexImage", FALSE, "[NOT USED]"); |
683 | gSavedSettings.declareBOOL("RenderFastUI", FALSE, "[NOT USED]"); | 703 | gSavedSettings.declareBOOL("RenderFastUI", FALSE, "[NOT USED]"); |
684 | gSavedSettings.declareBOOL("RenderUseSharedDrawables", TRUE, "Collapse transforms on moving linked objects for faster updates"); | 704 | gSavedSettings.declareBOOL("RenderUseSharedDrawables", TRUE, "Collapse transforms on moving linked objects for faster updates"); |
705 | gSavedSettings.declareS32("DebugBeaconLineWidth", 1, "Size of lines for Debug Beacons"); | ||
685 | 706 | ||
686 | // Snapshot params | 707 | // Snapshot params |
687 | gSavedSettings.declareBOOL("RenderUIInSnapshot", FALSE, "Display user interface in snapshot" ); | 708 | gSavedSettings.declareBOOL("RenderUIInSnapshot", FALSE, "Display user interface in snapshot" ); |
@@ -769,6 +790,8 @@ void declare_settings() | |||
769 | // Build options floater | 790 | // Build options floater |
770 | gSavedSettings.declareRect("FloaterBuildOptionsRect", LLRect(0,0,0,0), "Rectangle for build options window."); | 791 | gSavedSettings.declareRect("FloaterBuildOptionsRect", LLRect(0,0,0,0), "Rectangle for build options window."); |
771 | 792 | ||
793 | gSavedSettings.declareRect("FloaterJoystickRect", LLRect(0,0,0,0), "Rectangle for joystick controls window."); | ||
794 | |||
772 | // Map floater | 795 | // Map floater |
773 | gSavedSettings.declareRect("FloaterMapRect", LLRect(0, 225, 200, 0), "Rectangle for world map"); | 796 | gSavedSettings.declareRect("FloaterMapRect", LLRect(0, 225, 200, 0), "Rectangle for world map"); |
774 | 797 | ||
@@ -810,6 +833,7 @@ void declare_settings() | |||
810 | // Previews - only width and height are used | 833 | // Previews - only width and height are used |
811 | gSavedSettings.declareRect("PreviewTextureRect", LLRect(0, 400, 400, 0), "Rectangle for texture preview window" ); // Only width and height are used | 834 | gSavedSettings.declareRect("PreviewTextureRect", LLRect(0, 400, 400, 0), "Rectangle for texture preview window" ); // Only width and height are used |
812 | gSavedSettings.declareRect("PreviewScriptRect", LLRect(0, 550, 500, 0), "Rectangle for script preview window" ); // Only width and height are used | 835 | gSavedSettings.declareRect("PreviewScriptRect", LLRect(0, 550, 500, 0), "Rectangle for script preview window" ); // Only width and height are used |
836 | gSavedSettings.declareRect("LSLHelpRect", LLRect(0, 500, 600, 0), "Rectangle for LSL help window" ); // Only width and height are used | ||
813 | gSavedSettings.declareRect("PreviewLandmarkRect", LLRect(0, 90, 300, 0), "Rectangle for landmark preview window" ); // Only width and height are used | 837 | gSavedSettings.declareRect("PreviewLandmarkRect", LLRect(0, 90, 300, 0), "Rectangle for landmark preview window" ); // Only width and height are used |
814 | gSavedSettings.declareRect("PreviewSoundRect", LLRect(0, 85, 300, 0), "Rectangle for sound preview window" ); // Only width and height are used | 838 | gSavedSettings.declareRect("PreviewSoundRect", LLRect(0, 85, 300, 0), "Rectangle for sound preview window" ); // Only width and height are used |
815 | gSavedSettings.declareRect("PreviewObjectRect", LLRect(0, 85, 300, 0), "Rectangle for object preview window" ); // Only width and height are used | 839 | gSavedSettings.declareRect("PreviewObjectRect", LLRect(0, 85, 300, 0), "Rectangle for object preview window" ); // Only width and height are used |
@@ -961,6 +985,10 @@ void declare_settings() | |||
961 | //------------------------------------------------------------------------ | 985 | //------------------------------------------------------------------------ |
962 | gSavedSettings.declareString("HelpHomeURL", "help/index.html", "URL of initial help page"); | 986 | gSavedSettings.declareString("HelpHomeURL", "help/index.html", "URL of initial help page"); |
963 | gSavedSettings.declareString("HelpLastVisitedURL", "help/index.html", "URL of last help page, will be shown next time help is accessed"); | 987 | gSavedSettings.declareString("HelpLastVisitedURL", "help/index.html", "URL of last help page, will be shown next time help is accessed"); |
988 | |||
989 | // HTML dialog (general purpose) | ||
990 | gSavedSettings.declareRect("HtmlFloaterRect", LLRect(100,460,370,100), "Rectangle for HTML Floater window"); | ||
991 | |||
964 | // HTML help | 992 | // HTML help |
965 | gSavedSettings.declareString("HtmlHelpLastPage", "", "Last URL visited via help system"); | 993 | gSavedSettings.declareString("HtmlHelpLastPage", "", "Last URL visited via help system"); |
966 | gSavedSettings.declareRect("HtmlHelpRect", LLRect(16,650,600,128), "Rectangle for HTML help window"); | 994 | gSavedSettings.declareRect("HtmlHelpRect", LLRect(16,650,600,128), "Rectangle for HTML help window"); |
@@ -1161,7 +1189,7 @@ void declare_settings() | |||
1161 | //gSavedSettings.declareBOOL("FindLandAuction", TRUE); | 1189 | //gSavedSettings.declareBOOL("FindLandAuction", TRUE); |
1162 | 1190 | ||
1163 | // Default for Find -> Land combo box | 1191 | // Default for Find -> Land combo box |
1164 | gSavedSettings.declareString("FindLandType", "All", "Controls which type of land you are searching for in Find Land interface (\"All\", \"Auction\", \"For Sale\", \"First Land\")"); | 1192 | gSavedSettings.declareString("FindLandType", "All", "Controls which type of land you are searching for in Find Land interface (\"All\", \"Auction\", \"For Sale\")"); |
1165 | 1193 | ||
1166 | gSavedSettings.declareBOOL("FindLandPrice", TRUE, "Enables filtering of land search results by price"); | 1194 | gSavedSettings.declareBOOL("FindLandPrice", TRUE, "Enables filtering of land search results by price"); |
1167 | gSavedSettings.declareBOOL("FindLandArea", FALSE, "Enables filtering of land search results by area"); | 1195 | gSavedSettings.declareBOOL("FindLandArea", FALSE, "Enables filtering of land search results by area"); |
@@ -1172,6 +1200,7 @@ void declare_settings() | |||
1172 | gSavedSettings.declareBOOL("ShowMatureSims", FALSE, "Display results of find places or find popular that are in mature sims"); | 1200 | gSavedSettings.declareBOOL("ShowMatureSims", FALSE, "Display results of find places or find popular that are in mature sims"); |
1173 | gSavedSettings.declareBOOL("ShowMatureEvents", FALSE, "Display results of find events that are flagged as mature"); | 1201 | gSavedSettings.declareBOOL("ShowMatureEvents", FALSE, "Display results of find events that are flagged as mature"); |
1174 | gSavedSettings.declareBOOL("ShowMatureClassifieds", FALSE, "Display results of find classifieds that are flagged as mature"); | 1202 | gSavedSettings.declareBOOL("ShowMatureClassifieds", FALSE, "Display results of find classifieds that are flagged as mature"); |
1203 | gSavedSettings.declareBOOL("ShowMatureGroups", TRUE, "Display results of find groups that are in flagged as mature"); | ||
1175 | 1204 | ||
1176 | gSavedSettings.declareBOOL("FindPlacesPictures", TRUE, "Display only results of find places that have pictures"); | 1205 | gSavedSettings.declareBOOL("FindPlacesPictures", TRUE, "Display only results of find places that have pictures"); |
1177 | 1206 | ||
@@ -1199,6 +1228,7 @@ void declare_settings() | |||
1199 | gSavedSettings.declareBOOL("UseDefaultColorPicker", FALSE, "Use color picker supplied by operating system"); | 1228 | gSavedSettings.declareBOOL("UseDefaultColorPicker", FALSE, "Use color picker supplied by operating system"); |
1200 | gSavedSettings.declareF32("PickerContextOpacity", 0.35f, "Controls overall opacity of context frustrum connecting color and texture pickers with their swatches"); | 1229 | gSavedSettings.declareF32("PickerContextOpacity", 0.35f, "Controls overall opacity of context frustrum connecting color and texture pickers with their swatches"); |
1201 | 1230 | ||
1231 | gSavedSettings.declareF32("ColumnHeaderDropDownDelay", 0.3f, "Time in seconds of mouse click before column header shows sort options list"); | ||
1202 | // support for avatar exporter | 1232 | // support for avatar exporter |
1203 | //gSavedSettings.declareString("AvExportPath", "", "[NOT USED]"); | 1233 | //gSavedSettings.declareString("AvExportPath", "", "[NOT USED]"); |
1204 | //gSavedSettings.declareString("AvExportBaseName", "", "[NOT USED]"); | 1234 | //gSavedSettings.declareString("AvExportBaseName", "", "[NOT USED]"); |
@@ -1234,6 +1264,36 @@ void declare_settings() | |||
1234 | //cheesy beacon effects | 1264 | //cheesy beacon effects |
1235 | gSavedSettings.declareBOOL("CheesyBeacon", FALSE, "Enable cheesy beacon effects"); | 1265 | gSavedSettings.declareBOOL("CheesyBeacon", FALSE, "Enable cheesy beacon effects"); |
1236 | 1266 | ||
1267 | //flycam controls and joystick mapping | ||
1268 | gSavedSettings.declareS32("FlycamAxis0", 0, "Flycam hardware axis mapping for internal axis 0 ([0, 5])."); | ||
1269 | gSavedSettings.declareS32("FlycamAxis1", 1, "Flycam hardware axis mapping for internal axis 1 ([0, 5])."); | ||
1270 | gSavedSettings.declareS32("FlycamAxis2", 2, "Flycam hardware axis mapping for internal axis 2 ([0, 5])."); | ||
1271 | gSavedSettings.declareS32("FlycamAxis3", 3, "Flycam hardware axis mapping for internal axis 3 ([0, 5])."); | ||
1272 | gSavedSettings.declareS32("FlycamAxis4", 4, "Flycam hardware axis mapping for internal axis 4 ([0, 5])."); | ||
1273 | gSavedSettings.declareS32("FlycamAxis5", 5, "Flycam hardware axis mapping for internal axis 5 ([0, 5])."); | ||
1274 | gSavedSettings.declareS32("FlycamAxis6", -1, "Flycam hardware axis mapping for internal axis 6 ([0, 5])."); | ||
1275 | |||
1276 | gSavedSettings.declareF32("FlycamAxisScale0", 1, "Flycam axis 0 scaler."); | ||
1277 | gSavedSettings.declareF32("FlycamAxisScale1", 1, "Flycam axis 1 scaler."); | ||
1278 | gSavedSettings.declareF32("FlycamAxisScale2", 1, "Flycam axis 2 scaler."); | ||
1279 | gSavedSettings.declareF32("FlycamAxisScale3", 1, "Flycam axis 3 scaler."); | ||
1280 | gSavedSettings.declareF32("FlycamAxisScale4", 1, "Flycam axis 4 scaler."); | ||
1281 | gSavedSettings.declareF32("FlycamAxisScale5", 1, "Flycam axis 5 scaler."); | ||
1282 | gSavedSettings.declareF32("FlycamAxisScale6", 1, "Flycam axis 6 scaler."); | ||
1283 | |||
1284 | gSavedSettings.declareF32("FlycamAxisDeadZone0", 0.1f, "Flycam axis 0 dead zone."); | ||
1285 | gSavedSettings.declareF32("FlycamAxisDeadZone1", 0.1f, "Flycam axis 1 dead zone."); | ||
1286 | gSavedSettings.declareF32("FlycamAxisDeadZone2", 0.1f, "Flycam axis 2 dead zone."); | ||
1287 | gSavedSettings.declareF32("FlycamAxisDeadZone3", 0.1f, "Flycam axis 3 dead zone."); | ||
1288 | gSavedSettings.declareF32("FlycamAxisDeadZone4", 0.1f, "Flycam axis 4 dead zone."); | ||
1289 | gSavedSettings.declareF32("FlycamAxisDeadZone5", 0.1f, "Flycam axis 5 dead zone."); | ||
1290 | gSavedSettings.declareF32("FlycamAxisDeadZone6", 0.1f, "Flycam axis 6 dead zone."); | ||
1291 | |||
1292 | gSavedSettings.declareF32("FlycamFeathering", 16.f, "Flycam feathering (less is softer)"); | ||
1293 | gSavedSettings.declareBOOL("FlycamAutoLeveling", TRUE, "Keep Flycam level."); | ||
1294 | gSavedSettings.declareBOOL("FlycamAbsolute", FALSE, "Treat Flycam values as absolute positions (not deltas)."); | ||
1295 | gSavedSettings.declareBOOL("FlycamZoomDirect", FALSE, "Map flycam zoom axis directly to camera zoom."); | ||
1296 | |||
1237 | // | 1297 | // |
1238 | // crash_settings.xml | 1298 | // crash_settings.xml |
1239 | // | 1299 | // |
@@ -1243,14 +1303,10 @@ void declare_settings() | |||
1243 | "(0 = ask before sending crash report, 1 = always send crash report, 2 = never send crash report)"); | 1303 | "(0 = ask before sending crash report, 1 = always send crash report, 2 = never send crash report)"); |
1244 | } | 1304 | } |
1245 | 1305 | ||
1246 | void settings_version_fixup() | 1306 | void fixup_settings() |
1247 | { | 1307 | { |
1248 | #if LL_RELEASE_FOR_DOWNLOAD | 1308 | #if LL_RELEASE_FOR_DOWNLOAD |
1249 | if (gCurrentVersion == "1.13.3" || gCurrentVersion == "1.13.4") | 1309 | // Force some settings on startup |
1250 | { | 1310 | gSavedSettings.setBOOL("AnimateTextures", TRUE); // Force AnimateTextures to always be on |
1251 | // In case these were set to true in an early 'First Look' version: | ||
1252 | gSavedSettings.setBOOL("RenderDynamicReflections", FALSE); | ||
1253 | gSavedSettings.setBOOL("ImagePipelineUseHTTP", FALSE); | ||
1254 | } | ||
1255 | #endif | 1311 | #endif |
1256 | } | 1312 | } |