예제 #1
0
        public override void Load(IController hud)
        {
            base.Load(hud);

            Order = 30000;

            ToggleKeyEvent = Hud.Input.CreateKeyEvent(true, Key.F6, false, false, false);

            BountyNameFont            = Hud.Render.CreateFont("tahoma", 7.5f, 230, 255, 230, 200, false, false, 160, 0, 0, 0, true);
            BountyNameCompletedFont   = Hud.Render.CreateFont("tahoma", 7.5f, 64, 255, 255, 255, false, false, false);
            BountyNameHighlightedFont = Hud.Render.CreateFont("tahoma", 7.5f, 255, 255, 255, 0, false, false, false);
            BountyWaypointAreaFont    = Hud.Render.CreateFont("tahoma", 7.0f, 170, 255, 255, 255, false, false, false);
            BountyTypeFont            = Hud.Render.CreateFont("tahoma", 6.5f, 96, 255, 255, 255, false, false, false);
            InprogressTimerFont       = Hud.Render.CreateFont("tahoma", 7.5f, 230, 170, 215, 255, true, false, true);

            Fader = new StandardFader(Hud, this);
        }
예제 #2
0
        public override void Load(IController hud)
        {
            base.Load(hud);

            Order = 30000;

            ToggleKeyEvent           = Hud.Input.CreateKeyEvent(true, Key.F6, false, false, false);
            TurnedOn                 = false;
            TurnOffWhenNewGameStarts = true;
            BountyTypes              = new List <BountyType> {
                BountyType.CompleteEvent, BountyType.ClearDungeon, BountyType.KillUnique, BountyType.KillBoss, BountyType.SpecialEvent
            };

            BountyNameFont            = Hud.Render.CreateFont("tahoma", 7.5f, 230, 255, 230, 200, false, false, 160, 0, 0, 0, true);
            BountyNameCompletedFont   = Hud.Render.CreateFont("tahoma", 7.5f, 64, 255, 255, 255, false, false, false);
            BountyNameHighlightedFont = Hud.Render.CreateFont("tahoma", 7.5f, 255, 255, 255, 0, false, false, false);
            BountyWaypointAreaFont    = Hud.Render.CreateFont("tahoma", 7.0f, 170, 255, 255, 255, false, false, false);
            BountyTypeFont            = Hud.Render.CreateFont("tahoma", 6.5f, 96, 255, 255, 255, false, false, false);
            InprogressTimerFont       = Hud.Render.CreateFont("tahoma", 7.5f, 230, 170, 215, 255, true, false, true);

            Fader = new StandardFader(Hud, this);
        }
예제 #3
0
        public override void Load(IController hud)
        {
            base.Load(hud);

            TextFont     = Hud.Render.CreateFont("tahoma", 12, 150, 252, 126, 0, true, false, 150, 0, 0, 0, false); // 100
            OutlineBrush = Hud.Render.CreateBrush(30, 252, 126, 0, 3);
            Fader        = new StandardFader(hud, this);
            midX         = Hud.Window.Size.Width / 2;
            midY         = Hud.Window.Size.Height / 2;

            ZeiMiniMapDecorator = new WorldDecoratorCollection(
                new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(70, 252, 126, 0, 1),
                ShapePainter = new CircleShapePainter(Hud),
                Radius       = 50,
            }
                );


            MiniMapVisorDecorator = new WorldDecoratorCollection(
                new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(255, 255, 255, 255, 1),
                ShapePainter = new PlusShapePainter(Hud),
                Radius       = 10,
            },

                new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(255, 255, 255, 255, 1),
                ShapePainter = new CircleShapePainter(Hud),
                Radius       = 5,
            }
                );
        }