Added phantom on/off message. Fixes FIRE-1318
parent
808f402437
commit
79787d1646
|
|
@ -4123,6 +4123,22 @@ void LLAgent::renderAutoPilotTarget()
|
|||
}
|
||||
}
|
||||
|
||||
// Firestorm Phantom
|
||||
void LLAgent::togglePhantom()
|
||||
{
|
||||
mPhantom = !mPhantom;
|
||||
if(mPhantom)
|
||||
LLNotificationsUtil::add("PhantomOn", LLSD());
|
||||
else
|
||||
LLNotificationsUtil::add("PhantomOff", LLSD());
|
||||
}
|
||||
|
||||
bool LLAgent::getPhantom() const
|
||||
{
|
||||
return mPhantom;
|
||||
}
|
||||
// Firestorm Phantom
|
||||
|
||||
/********************************************************************************/
|
||||
|
||||
LLAgentQueryManager gAgentQueryManager;
|
||||
|
|
|
|||
|
|
@ -813,8 +813,8 @@ public:
|
|||
**/
|
||||
|
||||
public:
|
||||
void togglePhantom() { mPhantom = !mPhantom; }
|
||||
bool getPhantom() const { return mPhantom; }
|
||||
void togglePhantom();
|
||||
bool getPhantom() const;
|
||||
private:
|
||||
BOOL mPhantom;
|
||||
|
||||
|
|
|
|||
|
|
@ -7355,4 +7355,22 @@ This will send the following information to the current IM session:
|
|||
</form>
|
||||
</notification>
|
||||
|
||||
</notifications>
|
||||
<!-- Firestorm Phantom -->
|
||||
|
||||
<notification
|
||||
icon="notifytip.tga"
|
||||
name="PhantomOn"
|
||||
type="notifytip">
|
||||
Phantom mode on.
|
||||
</notification>
|
||||
|
||||
<notification
|
||||
icon="notifytip.tga"
|
||||
name="PhantomOff"
|
||||
type="notifytip">
|
||||
Phantom mode off.
|
||||
</notification>
|
||||
|
||||
<!-- Firestorm Phantom -->
|
||||
|
||||
</notifications>
|
||||
|
|
|
|||
Loading…
Reference in New Issue