aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-11-09 08:50:19 -0700
committerMcCabe Maxsted2009-11-09 08:50:19 -0700
commitc95da5d0367100b9ca7f98e91295bcf3093fe78f (patch)
treed4a046b2fc6968052a84f4562f907ddc9a19e68c
parentFixed First Use Mini-Map (diff)
downloadmeta-impy-c95da5d0367100b9ca7f98e91295bcf3093fe78f.zip
meta-impy-c95da5d0367100b9ca7f98e91295bcf3093fe78f.tar.gz
meta-impy-c95da5d0367100b9ca7f98e91295bcf3093fe78f.tar.bz2
meta-impy-c95da5d0367100b9ca7f98e91295bcf3093fe78f.tar.xz
Removed RLVa temporarily from First Use
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfirstuse.cpp33
-rw-r--r--linden/indra/newview/llviewermessage.cpp8
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/notify.xml17
3 files changed, 0 insertions, 58 deletions
diff --git a/linden/indra/newview/llfirstuse.cpp b/linden/indra/newview/llfirstuse.cpp
index e504547..bea9260 100644
--- a/linden/indra/newview/llfirstuse.cpp
+++ b/linden/indra/newview/llfirstuse.cpp
@@ -292,36 +292,3 @@ void LLFirstUse::useMedia()
292 LLNotifications::instance().add("FirstMedia"); 292 LLNotifications::instance().add("FirstMedia");
293 } 293 }
294} 294}
295
296// [RLVa:KB] - Version: 1.22.11 | Checked: RLVa-1.0.3a (2009-09-10) | Added: RLVa-1.0.3a
297
298// SL-1.22.11 doesn't seem to have a way to check which notifications are currently open :(
299bool rlvHasVisibleFirstUseNotification()
300{
301 return false;
302}
303
304void LLFirstUse::showRlvFirstUseNotification(const std::string& strName)
305{
306 if ( (gSavedSettings.getWarning(strName)) && (!rlvHasVisibleFirstUseNotification()) )
307 {
308 gSavedSettings.setWarning(strName, FALSE);
309 LLNotifyBox::showXml(strName);
310 }
311}
312
313void LLFirstUse::warnRlvGiveToRLV()
314{
315 if ( (gSavedSettings.getWarning(RLV_SETTING_FIRSTUSE_GIVETORLV)) && (RlvSettings::getForbidGiveToRLV()) )
316 gViewerWindow->alertXml(RLV_SETTING_FIRSTUSE_GIVETORLV, LLStringUtil::format_map_t(), &LLFirstUse::onRlvGiveToRLVConfirmation, NULL);
317}
318
319void LLFirstUse::onRlvGiveToRLVConfirmation(S32 idxOption, void* /*pUserParam*/)
320{
321 gSavedSettings.setWarning(RLV_SETTING_FIRSTUSE_GIVETORLV, FALSE);
322
323 if ( (0 == idxOption) || (1 == idxOption) )
324 gSavedSettings.setBOOL(RLV_SETTING_FORBIDGIVETORLV, (idxOption == 1));
325}
326
327// [/RLVa:KB]
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp
index 54b4730..a6fc5ed 100644
--- a/linden/indra/newview/llviewermessage.cpp
+++ b/linden/indra/newview/llviewermessage.cpp
@@ -1909,14 +1909,6 @@ void process_improved_im(LLMessageSystem *msg, void **user_data)
1909 } 1909 }
1910 else 1910 else
1911 { 1911 {
1912// [RLVa:KB] - Version: 1.22.11 | Checked: 2009-09-10 (RLVa-1.0.3a)
1913 if ( (rlv_handler_t::isEnabled()) && (dialog == IM_TASK_INVENTORY_OFFERED) &&
1914 (info->mDesc.find(RLV_PUTINV_PREFIX) == 1) && (gRlvHandler.getSharedRoot()) )
1915 {
1916 LLFirstUse::warnRlvGiveToRLV();
1917 }
1918// [/RLVa:KB]
1919
1920 inventory_offer_handler(info, dialog == IM_TASK_INVENTORY_OFFERED); 1912 inventory_offer_handler(info, dialog == IM_TASK_INVENTORY_OFFERED);
1921 } 1913 }
1922 } 1914 }
diff --git a/linden/indra/newview/skins/default/xui/en-us/notify.xml b/linden/indra/newview/skins/default/xui/en-us/notify.xml
index a0ea083..1921311 100644
--- a/linden/indra/newview/skins/default/xui/en-us/notify.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/notify.xml
@@ -919,23 +919,6 @@ You can find example sculpted textures in the inventory library.
919 You have begun playing media. Media can set to play automatically in the preferences window under Audio / Video. Note that this can be a security risk for media sites you do not trust. 919 You have begun playing media. Media can set to play automatically in the preferences window under Audio / Video. Note that this can be a security risk for media sites you do not trust.
920 </message> 920 </message>
921 </notify> 921 </notify>
922 <!-- [RLVa:KB] -->
923 <notify name="FirstRLVDetach" tip="false">
924 <message name="message">
925One of your attachments was made nondetachable using Restrained Life.
926Please note that this also disables the &apos;Wear&apos; option on all prim attachments in your inventory unless they are properly named.
927
928For more information search for &apos;Restrained Life&apos; on the SL wiki.
929 </message>
930 </notify>
931 <notify name="FirstRLVFartouch" tip="false">
932 <message name="message">
933You have been fartouch restricted: you will be unable to touch objects farther than 1.5m from your avatar until the restriction is lifted.
934
935Tip: if an object is out of range the mouse cursor will not change as you hover over it and you'll hear an error sound if you try to right-click it.
936 </message>
937 </notify>
938 <!-- [/RLVa:KB] -->
939 <notify name="MaxListSelectMessage" tip="true"> 922 <notify name="MaxListSelectMessage" tip="true">
940 <message name="message"> 923 <message name="message">
941 You may only select up to [MAX_SELECT] items 924 You may only select up to [MAX_SELECT] items