-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMainWindow.h
54 lines (47 loc) · 1.18 KB
/
MainWindow.h
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
#pragma once
// MainWindow dialog
#include "gta2.segments.fixed.exe.h"
enum TIMER {
TIMER_CAPTURE_MOUSE,
TIMER_PED_INFO
};
class MainWindow : public CDialogEx
{
DECLARE_DYNAMIC(MainWindow)
public:
MainWindow(CWnd* pParent = nullptr); // standard constructor
virtual ~MainWindow();
// Dialog Data
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_DIALOG1 };
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedOk();
afx_msg void OnBnClickedCancel();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnPaint();
bool firstPaint;
afx_msg void OnTimer(UINT_PTR nIDEvent);
afx_msg void OnDebugMakeInt3Crash();
CEdit m_log;
HWND m_gtaWindow;
void log(const WCHAR* fmt, ...);
afx_msg void OnCommandsHello();
afx_msg void OnCommandsCaptureMouse();
bool captureMouse;
void CaptureMouse();
afx_msg void OnSpawncarTank();
afx_msg void OnHotKey(UINT nHotKeyId, UINT nKey1, UINT nKey2);
afx_msg void OnSpawncarGt();
afx_msg void OnSpawnCarClick(UINT nID);
uint frames;
afx_msg void OnSpawncarGunjeep();
CEdit m_pedX;
CEdit m_pedY;
CEdit m_pedZ;
CEdit m_pedRot;
void PedInfo();
};