Example #1
0
 public RenderingContext(Device dx, GameWindow window)
 {
     this.Dx = dx;
     this.window = window;
     this.textSprite = new Sprite(dx);
     this.texrenderer = new TextureRenderer(dx);
 }
Example #2
0
 public GameController(Memory memory)
 {
     Memory = memory;
     Area = new AreaController(this);
     EntityListWrapper = new EntityListWrapper(this);
     Window = new GameWindow(memory.Process);
     Game = new TheGame(memory);
     Files = new FsController(memory);
 }
Example #3
0
 public PathOfExile(Memory memory)
 {
     this.Memory = memory;
     this.Area = new AreaController(this);
     this.EntityList = new EntityList(this);
     this.Window = new GameWindow(memory.Process);
     this.Internal = new TheGame(memory);
     this.Files = new FileIndex(memory);
 }
Example #4
0
 public TransparentDxOverlay(GameWindow window, SettingsRoot settings, EventScheduler es)
 {
     Settings = settings;
     InitializeComponent();
     BackColor = Color.Black;
     this.window = window;
     base.ShowIcon = false;
     base.FormClosing += new FormClosingEventHandler(TransparentDXOverlay_FormClosing);
     string textForTitle = Settings.Global.WindowName;
     Text = String.IsNullOrWhiteSpace(textForTitle) ? "ExileHUD" : textForTitle;
     base.FormBorderStyle = FormBorderStyle.None;
     base.Load += TransparentDXOverlay_Load;
     overseer = es;
 }
Example #5
0
        public TransparentDXOverlay(GameWindow window, Func<bool> fnGameEnded)
        {
            this.InitializeComponent();
            this.BackColor = Color.Black;
            this.window = window;
            base.ShowIcon = false;
            base.TopMost = true;
            base.FormClosing += new FormClosingEventHandler(this.TransparentDXOverlay_FormClosing);
            string textForTitle = Settings.GetString("Window.Name");
            this.Text = String.IsNullOrWhiteSpace(textForTitle) ? "ExileHUD" : textForTitle;
            base.FormBorderStyle = FormBorderStyle.None;
            base.Load += new EventHandler(this.TransparentDXOverlay_Load);

            fnHasGameEnded = fnGameEnded;
            this.poeGuard = new Thread(CheckGameStillRunningLoop);
            this.poeGuard.Start();
        }