-
Notifications
You must be signed in to change notification settings - Fork 0
/
Program.cs
59 lines (48 loc) · 1.64 KB
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
using glebi_tool;
using glebi_tool.cheat.Recoil;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Threading;
using System.IO;
namespace glebi_tool
{
static class Program
{
/// <summary>
/// Der Haupteinstiegspunkt für die Anwendung.
/// </summary>
///
public static bool g_enabled = false;
public static bool g_humanization = false;
public static float g_sensitivity = 0.42F;
public static float g_field_of_view = 90.0F;
public static WeaponIndex g_weapon_index;
public static Barrel g_barrel = Barrel.None;
public static Sight g_sight = Sight.None;
[STAThread]
static void Main()
{
glebi_tool.cheat.Recoil.Timer.QueryFrequency();
g_weapon_index = WeaponIndex.AR;
Thread mouse_thread = new Thread(MouseListener.Listen);
mouse_thread.Start();
if (!File.Exists(Environment.CurrentDirectory + "\\UnmanagedDMG.dll"))
{
try
{
File.WriteAllBytes(Environment.CurrentDirectory + "\\UnmanagedDMG.dll", Properties.Resources.UnmanagedDMG);
}
catch
{
MessageBox.Show("Error writing resources to disk.");
}
}
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new FormMainMenu());
}
}
}