-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDeadPool.cpp
More file actions
47 lines (32 loc) · 755 Bytes
/
Copy pathDeadPool.cpp
File metadata and controls
47 lines (32 loc) · 755 Bytes
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
// DeadPool.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "Trig.h"
#include "Aim.h"
using namespace std;
Trig tBoy;
Aim aBoy;
bool isTrig = false;
bool isAim = false;
int main()
{
//aBoy.initialize();
while (true) {
// NumLock toggled?
while ((GetKeyState(VK_NUMLOCK) & 0x8001) != 0) {
if (!isTrig) { isTrig = tBoy.initialize(); }
if (!isAim) { isAim = aBoy.initialize(); }
// Mouse Right pressed?
if ((GetKeyState(VK_RBUTTON) & 0x100) != 0)
tBoy.activate();
//tBoy.printPos();
Sleep(50);
}
if (isTrig) {
cout << "INFO: Deactivated Trigger" << endl;
isTrig = false;
}
}
cin.get();
return 0;
}