public RenderingContext(Device dx, GameWindow window) { this.Dx = dx; this.window = window; this.textSprite = new Sprite(dx); this.texrenderer = new TextureRenderer(dx); }
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); }
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); }
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; }
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(); }