-
Notifications
You must be signed in to change notification settings - Fork 0
/
Menu.h
43 lines (34 loc) · 1.32 KB
/
Menu.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
#pragma once
#define _CRT_SECURE_NO_WARNINGS
#include <Windows.h>
#include <iostream>
#include "d3d11draw/rD3D11.h"
#include "d3d11draw/pch.h"
#include "imgui/imgui_impl_dx11.h"
#include "imgui/imgui_impl_win32.h"
#include "sdk.h"
CameraRigController MenuPlayerCRC;
CharacterBody MenuPlayerCB;
CharacterMaster MenuPlayerCM;
template <typename T>
T* SetPointerTo(T*& _where,uintptr_t baseaddr, std::vector<uintptr_t>& vec);
////////////////////////////////////////////////////////////////
bool bCheatInit = false;
bool bInGame = false;
bool bKillByCoursor = false;
bool bCameraSettingsEnable = false;
bool bWriteInPY = false;
bool bCharacterSettingsWrite = false;
bool bGodModEnable = false;
bool initialized_imgui = false;
bool menuMainShow = false;
bool menuCameraSettingsShow = false;
bool menuCharacterSettingsShow = false;
ImGuiContext* context = 0;
WNDPROC oWndProc = NULL; // òåêóùèé õåíäë ïðîöåññà
HWND window1 = NULL;
typedef LRESULT(CALLBACK* WNDPROC)(HWND, UINT, WPARAM, LPARAM);
extern LRESULT ImGui_ImplWin32_WndProcHandler(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
void InitImgui(ID3D11Device* device, ID3D11DeviceContext* device_context);
void MenuMainFunc(ID3D11Device* device, ID3D11DeviceContext* device_context);
LRESULT __stdcall WndProc(const HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);