summaryrefslogtreecommitdiff
path: root/indra/newview/llfirstuse.cpp
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-08-12 09:46:45 -0700
committerRichard Nelson <none@none>2010-08-12 09:46:45 -0700
commitbe50a053ed4ae7d0b15fc20f1c6ca0973c56ffd9 (patch)
tree0346d439706c1e61f0486e8ad0135ce9e55296cf /indra/newview/llfirstuse.cpp
parent9327ef1ea0107df45c4e2066b379206a51a36c25 (diff)
first pass at hints
Diffstat (limited to 'indra/newview/llfirstuse.cpp')
-rw-r--r--indra/newview/llfirstuse.cpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/indra/newview/llfirstuse.cpp b/indra/newview/llfirstuse.cpp
index 7f74b18fd0..8906525676 100644
--- a/indra/newview/llfirstuse.cpp
+++ b/indra/newview/llfirstuse.cpp
@@ -94,6 +94,39 @@ void LLFirstUse::useOverrideKeys()
}
// static
+void LLFirstUse::otherAvatarChat()
+{
+ if (gWarningSettings.getBOOL("FirstOtherChatBeforeUser"))
+ {
+ gWarningSettings.setBOOL("FirstOtherChatBeforeUser", FALSE);
+
+ LLNotificationsUtil::add("HintChat", LLSD(), LLSD().with("target", "nearby_chat_bar").with("direction", "top"));
+ }
+}
+
+// static
+void LLFirstUse::sit()
+{
+ if (gWarningSettings.getBOOL("FirstSit"))
+ {
+ gWarningSettings.setBOOL("FirstSit", FALSE);
+
+ LLNotificationsUtil::add("HintSit", LLSD(), LLSD().with("target", "stand_btn").with("direction", "top"));
+ }
+}
+
+// static
+void LLFirstUse::inventoryOffer()
+{
+ if (gWarningSettings.getBOOL("FirstInventoryOffer"))
+ {
+ gWarningSettings.setBOOL("FirstInventoryOffer", FALSE);
+
+ LLNotificationsUtil::add("HintInventory", LLSD(), LLSD().with("target", "inventory_btn").with("direction", "left"));
+ }
+}
+
+// static
void LLFirstUse::useSandbox()
{
if (gWarningSettings.getBOOL("FirstSandbox"))