diff options
author | Jacek Antonelli | 2008-08-15 23:45:16 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:16 -0500 |
commit | 3f27ba891ac4d032753b219b4b96d1ffbc9fb488 (patch) | |
tree | 504932ee91a0356fba7ea48798887c96867e492f /linden/indra/newview/llcontroldef.cpp | |
parent | Second Life viewer sources 1.18.4.3 (diff) | |
download | meta-impy-3f27ba891ac4d032753b219b4b96d1ffbc9fb488.zip meta-impy-3f27ba891ac4d032753b219b4b96d1ffbc9fb488.tar.gz meta-impy-3f27ba891ac4d032753b219b4b96d1ffbc9fb488.tar.bz2 meta-impy-3f27ba891ac4d032753b219b4b96d1ffbc9fb488.tar.xz |
Second Life viewer sources 1.18.5.0-RC
Diffstat (limited to 'linden/indra/newview/llcontroldef.cpp')
-rw-r--r-- | linden/indra/newview/llcontroldef.cpp | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/linden/indra/newview/llcontroldef.cpp b/linden/indra/newview/llcontroldef.cpp index 7c3e8d7..8cbe22c 100644 --- a/linden/indra/newview/llcontroldef.cpp +++ b/linden/indra/newview/llcontroldef.cpp | |||
@@ -229,7 +229,7 @@ void declare_settings() | |||
229 | // This is a fairly complete Japanese font that ships with Mac OS X. | 229 | // This is a fairly complete Japanese font that ships with Mac OS X. |
230 | // The first filename is in UTF8, but it shows up in the font menu as "Hiragino Kaku Gothic Pro W3". | 230 | // The first filename is in UTF8, but it shows up in the font menu as "Hiragino Kaku Gothic Pro W3". |
231 | // The third filename is in UTF8, but it shows up in the font menu as "STHeiti Light" | 231 | // The third filename is in UTF8, but it shows up in the font menu as "STHeiti Light" |
232 | gSavedSettings.declareString("FontSansSerifFallback", "\xE3\x83\x92\xE3\x83\xA9\xE3\x82\xAD\xE3\x82\x99\xE3\x83\x8E\xE8\xA7\x92\xE3\x82\xB3\xE3\x82\x99 Pro W3.otf;AppleGothic.dfont;\xe5\x8d\x8e\xe6\x96\x87\xe7\xbb\x86\xe9\xbb\x91.ttf", "Name of san-serif font (Truetype file name)"); | 232 | gSavedSettings.declareString("FontSansSerifFallback", "\xE3\x83\x92\xE3\x83\xA9\xE3\x82\xAD\xE3\x82\x99\xE3\x83\x8E\xE8\xA7\x92\xE3\x82\xB3\xE3\x82\x99 Pro W3.otf;\xE3\x83\x92\xE3\x83\xA9\xE3\x82\xAD\xE3\x82\x99\xE3\x83\x8E\xE8\xA7\x92\xE3\x82\xB3\xE3\x82\x99 ProN W3.otf;AppleGothic.dfont;AppleGothic.ttf;\xe5\x8d\x8e\xe6\x96\x87\xe7\xbb\x86\xe9\xbb\x91.ttf", "Name of san-serif font (Truetype file name)"); |
233 | #else | 233 | #else |
234 | // 'unicode.ttf' doesn't exist, but hopefully an international | 234 | // 'unicode.ttf' doesn't exist, but hopefully an international |
235 | // user can take the hint and drop in their favourite local font. | 235 | // user can take the hint and drop in their favourite local font. |
@@ -467,7 +467,8 @@ void declare_settings() | |||
467 | gSavedSettings.declareF32("RenderNameShowTime", 10.f, "Fade avatar names after specified time (seconds)"); // seconds | 467 | gSavedSettings.declareF32("RenderNameShowTime", 10.f, "Fade avatar names after specified time (seconds)"); // seconds |
468 | gSavedSettings.declareF32("RenderNameFadeDuration", 1.f, "Time interval over which to fade avatar names (seconds)"); // seconds | 468 | gSavedSettings.declareF32("RenderNameFadeDuration", 1.f, "Time interval over which to fade avatar names (seconds)"); // seconds |
469 | gSavedSettings.declareBOOL("RenderNameHideSelf", FALSE, "Don't display own name above avatar"); | 469 | gSavedSettings.declareBOOL("RenderNameHideSelf", FALSE, "Don't display own name above avatar"); |
470 | gSavedSettings.declareBOOL("RenderHideGroupTitle", FALSE, "Don't show group titles in name labels"); | 470 | gSavedSettings.declareBOOL("RenderHideGroupTitle", FALSE, "Don't show my group title in my name label"); |
471 | gSavedSettings.declareBOOL("RenderGroupTitleAll", TRUE, "Show group titles in name labels"); | ||
471 | 472 | ||
472 | // Camera widget controls | 473 | // Camera widget controls |
473 | const S32 CAMERA_LEFT = MOVE_BTN_FLY_RIGHT + 10; | 474 | const S32 CAMERA_LEFT = MOVE_BTN_FLY_RIGHT + 10; |
@@ -971,6 +972,9 @@ void declare_settings() | |||
971 | gSavedSettings.declareRect("PreviewScriptRect", LLRect(0, 550, 500, 0), "Rectangle for script preview window" ); // Only width and height are used | 972 | gSavedSettings.declareRect("PreviewScriptRect", LLRect(0, 550, 500, 0), "Rectangle for script preview window" ); // Only width and height are used |
972 | gSavedSettings.declareRect("LSLHelpRect", LLRect(0, 400, 400, 0), "Rectangle for LSL help window" ); // Only width and height are used | 973 | gSavedSettings.declareRect("LSLHelpRect", LLRect(0, 400, 400, 0), "Rectangle for LSL help window" ); // Only width and height are used |
973 | gSavedSettings.declareRect("PreviewLandmarkRect", LLRect(0, 90, 300, 0), "Rectangle for landmark preview window" ); // Only width and height are used | 974 | gSavedSettings.declareRect("PreviewLandmarkRect", LLRect(0, 90, 300, 0), "Rectangle for landmark preview window" ); // Only width and height are used |
975 | gSavedSettings.declareRect("PreviewURLRect", LLRect(0, 90, 300, 0), "Rectangle for URL preview window" ); // Only width and height are used | ||
976 | gSavedSettings.declareRect("PreviewEventRect", LLRect(0, 530, 420, 0), "Rectangle for Event preview window" ); // Only width and height are used | ||
977 | gSavedSettings.declareRect("PreviewClassifiedRect", LLRect(0, 530, 420, 0), "Rectangle for URL preview window" ); // Only width and height are used | ||
974 | gSavedSettings.declareRect("PreviewSoundRect", LLRect(0, 85, 300, 0), "Rectangle for sound preview window" ); // Only width and height are used | 978 | gSavedSettings.declareRect("PreviewSoundRect", LLRect(0, 85, 300, 0), "Rectangle for sound preview window" ); // Only width and height are used |
975 | gSavedSettings.declareRect("PreviewObjectRect", LLRect(0, 85, 300, 0), "Rectangle for object preview window" ); // Only width and height are used | 979 | gSavedSettings.declareRect("PreviewObjectRect", LLRect(0, 85, 300, 0), "Rectangle for object preview window" ); // Only width and height are used |
976 | gSavedSettings.declareRect("PreviewWearableRect", LLRect(0, 85, 300, 0), "Rectangle for wearable preview window" ); // Only width and height are used | 980 | gSavedSettings.declareRect("PreviewWearableRect", LLRect(0, 85, 300, 0), "Rectangle for wearable preview window" ); // Only width and height are used |
@@ -994,6 +998,9 @@ void declare_settings() | |||
994 | 998 | ||
995 | gSavedSettings.declareRect("FloaterRegionInfo", LLRect(0, 512, 480, 0), "Rectangle for region info window"); | 999 | gSavedSettings.declareRect("FloaterRegionInfo", LLRect(0, 512, 480, 0), "Rectangle for region info window"); |
996 | 1000 | ||
1001 | // Landmark Picker | ||
1002 | gSavedSettings.declareRect("FloaterLandmarkRect", LLRect(0, 290, 310, 0), "Rectangle for landmark picker" ); // Only width and height are used | ||
1003 | |||
997 | // editors | 1004 | // editors |
998 | // Only width and height are used | 1005 | // Only width and height are used |
999 | gSavedSettings.declareRect("NotecardEditorRect", LLRect(0, 400, 400, 0), "Rectangle for notecard editor"); | 1006 | gSavedSettings.declareRect("NotecardEditorRect", LLRect(0, 400, 400, 0), "Rectangle for notecard editor"); |
@@ -1322,7 +1329,7 @@ void declare_settings() | |||
1322 | gSavedSettings.declareBOOL("AutomaticFly", TRUE, "Fly by holding jump key or using \"Fly\" command (FALSE = fly by using \"Fly\" command only)"); | 1329 | gSavedSettings.declareBOOL("AutomaticFly", TRUE, "Fly by holding jump key or using \"Fly\" command (FALSE = fly by using \"Fly\" command only)"); |
1323 | 1330 | ||
1324 | // Index of the last find panel you opened. | 1331 | // Index of the last find panel you opened. |
1325 | gSavedSettings.declareString("LastFindPanel", "all_panel", "Controls which find operation appears by default when clicking \"Find\" button "); | 1332 | gSavedSettings.declareString("LastFindPanel", "find_all_panel", "Controls which find operation appears by default when clicking \"Find\" button "); |
1326 | 1333 | ||
1327 | // grab keystrokes at last possible moment to minimize latency | 1334 | // grab keystrokes at last possible moment to minimize latency |
1328 | gSavedSettings.declareBOOL("AsyncKeyboard", TRUE, "Improves responsiveness to keyboard input when at low framerates"); | 1335 | gSavedSettings.declareBOOL("AsyncKeyboard", TRUE, "Improves responsiveness to keyboard input when at low framerates"); |
@@ -1369,6 +1376,15 @@ void declare_settings() | |||
1369 | gSavedSettings.declareBOOL("MapShowInfohubs", TRUE, "Show infohubs on the world map"); | 1376 | gSavedSettings.declareBOOL("MapShowInfohubs", TRUE, "Show infohubs on the world map"); |
1370 | gSavedSettings.declareBOOL("MapShowClassifieds", TRUE, "Show locations associated with classified ads on world map"); | 1377 | gSavedSettings.declareBOOL("MapShowClassifieds", TRUE, "Show locations associated with classified ads on world map"); |
1371 | 1378 | ||
1379 | // Search panel in directory uses this URL for queries | ||
1380 | // Trailing "/" matters. | ||
1381 | gSavedSettings.declareString("SearchDefaultURL", | ||
1382 | "http://secondlife.com/app/search/index.php?m=[MATURE]", | ||
1383 | "URL to load for empty searches"); | ||
1384 | gSavedSettings.declareString("SearchQueryURL", | ||
1385 | "http://secondlife.com/app/search/search_proxy.php?q=[QUERY]&s=[COLLECTION]&m=[MATURE]&t=[TEEN]®ion=[REGION]&x=[X]&y=[Y]&z=[Z]", | ||
1386 | "URL to use for searches"); | ||
1387 | |||
1372 | // Arrow keys move avatar while in chat? | 1388 | // Arrow keys move avatar while in chat? |
1373 | gSavedSettings.declareBOOL("ArrowKeysMoveAvatar", TRUE, "While cursor is in chat entry box, arrow keys still control your avatar"); | 1389 | gSavedSettings.declareBOOL("ArrowKeysMoveAvatar", TRUE, "While cursor is in chat entry box, arrow keys still control your avatar"); |
1374 | gSavedSettings.declareBOOL("ChatBarStealsFocus", TRUE, "Whenever keyboard focus is removed from the UI, and the chat bar is visible, the chat bar takes focus"); | 1390 | gSavedSettings.declareBOOL("ChatBarStealsFocus", TRUE, "Whenever keyboard focus is removed from the UI, and the chat bar is visible, the chat bar takes focus"); |
@@ -1451,6 +1467,15 @@ void declare_settings() | |||
1451 | gSavedSettings.declareBOOL("FlycamAbsolute", FALSE, "Treat Flycam values as absolute positions (not deltas)."); | 1467 | gSavedSettings.declareBOOL("FlycamAbsolute", FALSE, "Treat Flycam values as absolute positions (not deltas)."); |
1452 | gSavedSettings.declareBOOL("FlycamZoomDirect", FALSE, "Map flycam zoom axis directly to camera zoom."); | 1468 | gSavedSettings.declareBOOL("FlycamZoomDirect", FALSE, "Map flycam zoom axis directly to camera zoom."); |
1453 | 1469 | ||
1470 | // logitech LCD settings | ||
1471 | gSavedSettings.declareS32("LCDDestination", 0, "Which LCD to use"); | ||
1472 | gSavedSettings.declareBOOL("DisplayChat", TRUE, "Display Latest Chat message on LCD"); | ||
1473 | gSavedSettings.declareBOOL("DisplayIM", TRUE, "Display Latest IM message on LCD"); | ||
1474 | gSavedSettings.declareBOOL("DisplayRegion", TRUE, "Display Location information on LCD"); | ||
1475 | gSavedSettings.declareBOOL("DisplayDebug", TRUE, "Display Network Information on LCD"); | ||
1476 | gSavedSettings.declareBOOL("DisplayDebugConsole", TRUE, "Display Console Debug Information on LCD"); | ||
1477 | gSavedSettings.declareBOOL("DisplayLinden", TRUE, "Display Account Information on LCD"); | ||
1478 | |||
1454 | // Vector Processor & Math | 1479 | // Vector Processor & Math |
1455 | gSavedSettings.declareBOOL("VectorizePerfTest", TRUE, "Test SSE/vectorization performance and choose fastest version."); | 1480 | gSavedSettings.declareBOOL("VectorizePerfTest", TRUE, "Test SSE/vectorization performance and choose fastest version."); |
1456 | gSavedSettings.declareBOOL("VectorizeEnable", FALSE, "Enable general vector operations and data alignment."); | 1481 | gSavedSettings.declareBOOL("VectorizeEnable", FALSE, "Enable general vector operations and data alignment."); |