Esempio n. 1
0
        public override void Load(IController hud)
        {
            base.Load(hud);

            Clusters = new Dictionary <IMonster, float>();

            Range            = 20f;
            ProgressMin      = 1d;
            IncludeOffScreen = true;
            ClustersMax      = 99;

            Decorator = new WorldDecoratorCollection(GroundDecorator = new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(155, 200, 200, 200, 1),
                Radius = Range
            },
                                                     MapDecorator = new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(50, 255, 0, 0, 0),
                ShadowBrush  = Hud.Render.CreateBrush(128, 0, 0, 0, 1),
                Radius       = Range,
                ShapePainter = new CircleShapePainter(Hud),
            },
                                                     LabelDecorator = new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(175, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 12, 255, 255, 255, 255, true, false, true)
            });
        }
Esempio n. 2
0
        public override void Load(IController hud)
        {
            base.Load(hud);


            baseMapShapeDecorator = new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(150, 0, 0, 0, 1),
                ShapePainter = new CircleShapePainter(Hud),
                Radius       = 75,
            };
            StatisticalRangeDecorator = new WorldDecoratorCollection(baseMapShapeDecorator);
        }
        public override void Load(IController hud)
        {
            base.Load(hud);
            ToggleKeyEvent  = Hud.Input.CreateKeyEvent(true, Key.LeftControl, true, false, false);
            DefaultTextFont = Hud.Render.CreateFont("tahoma", 9, 255, 180, 147, 109, false, false, 250, 0, 0, 0, true);
            OrangeTextFont  = Hud.Render.CreateFont("tahoma", 9, 255, 255, 128, 0, false, false, 250, 0, 0, 0, true);
            RedTextFont     = Hud.Render.CreateFont("tahoma", 9, 255, 255, 0, 0, false, false, 250, 0, 0, 0, true);

            TurnedOn                  = false;
            ShowMonstersCount         = true;
            ShowTotalProgression      = true;
            ShowTrashProgression      = true;
            ShowEliteProgression      = true;
            ShowRareMinionProgression = true;
            ShowRiftGlobeProgression  = true;
            ShowTime                  = true;
            ShowLlocustCount          = true;
            ShowHauntedCount          = true;
            ShowPalmedCount           = true;
            ShowPhoenixedCount        = false;
            ShowStrongarmedCount      = true;
            ShowPiranhasCount         = true;
            ShowCursedCount           = true;
            ShowKrysbinCount          = true;
            ShowPainEnhancerCount     = true;
            XWidth                   = 0.84f;
            YHeight                  = 0.61f;
            m_PowerBuff1             = Hud.Sno.Attributes.Power_Buff_1_Visual_Effect_None;
            m_PainEnhancerPrimarySno = Hud.Sno.SnoPowers.PainEnhancerPrimary.Sno;

            textBuilder = new StringBuilder();

            baseMapShapeDecorator = new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(150, 180, 147, 109, 1),
                ShapePainter = new CircleShapePainter(Hud),
                Radius       = 40,
            };
            StatisticalRangeDecorator = new WorldDecoratorCollection(baseMapShapeDecorator);
            currentYard          = yard;
            maxMapShapeDecorator = new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(150, 180, 147, 109, 1),
                ShapePainter = new CircleShapePainter(Hud),
                Radius       = 120,
            };
            MaxStatisticalRangeDecorator = new WorldDecoratorCollection(maxMapShapeDecorator);
        }
Esempio n. 4
0
        public override void Load(IController hud)
        {
            base.Load(hud);
            ToggleKeyEvent  = Hud.Input.CreateKeyEvent(true, Key.LeftControl, true, false, false);
            DefaultTextFont = Hud.Render.CreateFont("tahoma", 11, 255, 180, 147, 109, false, false, 250, 0, 0, 0, true);
            OrangeTextFont  = Hud.Render.CreateFont("tahoma", 11, 255, 255, 128, 0, false, false, 250, 0, 0, 0, true);
            RedTextFont     = Hud.Render.CreateFont("tahoma", 11, 255, 255, 0, 0, false, false, 250, 0, 0, 0, true);

            TurnedOn                  = false;
            ShowMonstersCount         = true;
            ShowTotalProgression      = true;
            ShowTrashProgression      = true;
            ShowEliteProgression      = true;
            ShowRareMinionProgression = false;
            ShowRiftGlobeProgression  = false;
            ShowTime                  = false;
            ShowLlocustCount          = true;
            ShowHauntedCount          = true;
            ShowPalmedCount           = true;
            ShowPhoenixedCount        = false;
            ShowStrongarmedCount      = true;

            XWidth      = 0.84f;
            YHeight     = 0.61f;
            textBuilder = new StringBuilder();

            baseMapShapeDecorator = new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(150, 180, 147, 109, 1),
                ShapePainter = new CircleShapePainter(Hud),
                Radius       = 40,
            };
            StatisticalRangeDecorator = new WorldDecoratorCollection(baseMapShapeDecorator);
            currentYard          = BaseYard;
            maxMapShapeDecorator = new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(150, 180, 147, 109, 1),
                ShapePainter = new CircleShapePainter(Hud),
                Radius       = 120,
            };
            MaxStatisticalRangeDecorator = new WorldDecoratorCollection(maxMapShapeDecorator);
        }