Adjustments to the minimap to actually implement the color marking system that the UI was boasting.

Worth noting - Because this came at the same time as the VERY LARGE patch that follows this, I had to bundle its settings.xml option with it. Please be sure to add it if you happen to be patching just this file.

Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
Beeks
2010-09-22 06:45:09 -04:00
parent 9e91f88696
commit 3d4fee4614
3 changed files with 178 additions and 14 deletions

View File

@@ -67,6 +67,8 @@ public:
void renderScaledPointGlobal( const LLVector3d& pos, const LLColor4U &color, F32 radius );
static void mm_setcolor(LLUUID key,LLColor4 col); //moymod
private:
void setScale( F32 scale );
@@ -114,6 +116,7 @@ private:
private:
LLUUID mClosestAgentToCursor;
LLVector3d mClosestAgentPosition;
LLUUID mClosestAgentAtLastRightClick;
static BOOL sRotateMap;
@@ -160,6 +163,47 @@ private:
/*virtual*/ bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata);
};
class LLCamFollow : public LLMemberListener<LLNetMap> //moymod
{
public:
/*virtual*/ bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata);
};
//moymod - Custom minimap markers :o
class mmsetred : public LLMemberListener<LLNetMap> //moymod
{
public:
/*virtual*/ bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata);
};
class mmsetgreen : public LLMemberListener<LLNetMap> //moymod
{
public:
/*virtual*/ bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata);
};
class mmsetblue : public LLMemberListener<LLNetMap> //moymod
{
public:
/*virtual*/ bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata);
};
class mmsetyellow : public LLMemberListener<LLNetMap> //moymod
{
public:
/*virtual*/ bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata);
};
class mmsetcustom : public LLMemberListener<LLNetMap> //moymod
{
public:
/*virtual*/ bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata);
};
class LLEnableProfile : public LLMemberListener<LLNetMap>
{
public: