static void Main(string[] args)
{
Menu.AddItem(new MenuItem("toggle", "Enabled").SetValue(true));
Menu.AddItem(new MenuItem("predict", "Predict movements?").SetValue(true).SetTooltip("Predict movements, otherwise just show last known position."));
Menu.AddToMainMenu();
ScaleX = Drawing.Width / 1920f;
ScaleY = Drawing.Height / 1080f;
Text = new Font(
Drawing.Direct3DDevice9,
new FontDescription {
FaceName = "Arial",
Height = 15,
OutputPrecision = FontPrecision.Default,
Quality = FontQuality.Default
});
Game.OnUpdate += Update;
Drawing.OnDraw += Draw;
Drawing.OnPreReset += Drawing_OnPreReset;
Drawing.OnPostReset += Drawing_OnPostReset;
Drawing.OnEndScene += Drawing_OnEndScene;
AppDomain.CurrentDomain.DomainUnload += CurrentDomain_DomainUnload;
}