-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathInterfaces.cpp
116 lines (88 loc) · 2.85 KB
/
Interfaces.cpp
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
#include "Interfaces.h"
IBaseClientDLL* pClient;
IInputSystem* pInputSystem;
IInputInternal* pInputInternal;
IEngineClient* pEngine;
IClientEntityList* pEntityList;
CClientState* pClientState;
NetworkChannel* net_channel;
IClientMode* pClientMode;
ISurface* pSurface;
IVDebugOverlay* pDebugOverlay;
IVPanel* pPanel;
IEngineTrace* pTrace;
ILocalize* pLocalize;
IMaterialSystem* pMaterial;
IVModelRender* pModelRender;
IPhysicsSurfaceProps* pPhysics;
CEffects* pEffects;
IVModelInfo* pModelInfo;
ICvar* pCvar;
CGlobalVars* pGlobalVars;
IGameEventManager2* pGameEvent;
CSGameRulesProxy** pGameRules;
C_CSPlayerResource** csPlayerResource;
IDirect3DDevice9* pD3device;
CGameUI* pGameui;
IPrediction* pPrediction;
IGameMovement* pGameMovement;
//ICommandLine* pCommandline;
IMoveHelper* pMoveHelper;
CInput* pInput;
IEngineSound* pSound;
CViewRender* pViewRender;
CGlowObjectManager* pGlowManager;
ISteamGameCoordinator* pSteamGameCoordinator;
CBaseHudChat * pChat;
//ISteamUser* g_pSteamUser;
MemAlloc* pMemAlloc;
ISteamClient * pSteamClient;
ISteamMatchmaking * pSteamMatchmaking;
ISteamUser * pSteamUser;
ISteamFriends * pSteamFriends;
LPDIRECT3DTEXTURE9 BackgroundTexture = NULL;
LPDIRECT3DTEXTURE9 UsericoTexture = NULL;
LPDIRECT3DTEXTURE9 LogoicoTexture = NULL;
LPDIRECT3DTEXTURE9 PasswordicoTexture = NULL;
LPDIRECT3DTEXTURE9 wheelTexture = NULL;
LPDIRECT3DTEXTURE9 speedoTexture = NULL;
LPDIRECT3DTEXTURE9 needleTexture = NULL;
LPDIRECT3DTEXTURE9 gasTexture = NULL;
LPDIRECT3DTEXTURE9 oilTexture = NULL;
LPDIRECT3DTEXTURE9 rearmirrorTexture = NULL;
ImFont * Fonts = nullptr; //
DWORD_PTR** dwPresent;
DWORD_PTR* dwAddress;
DWORD dwTemp;
int* pPredSeed;
std::unique_ptr<VMTHook>D3D9Hook;
std::unique_ptr<VMTHook>ClientModeHook;
std::unique_ptr<VMTHook>PanelHook;
std::unique_ptr<VMTHook>ClientHook;
std::unique_ptr<VMTHook>FireEventHook;
std::unique_ptr<VMTHook>InputInternalHook;
std::unique_ptr<VMTHook>PredictionHook;
std::unique_ptr<VMTHook>ModelRenderHook;
std::unique_ptr<VMTHook>MaterialHook;
std::unique_ptr<VMTHook>SoundHook;
std::unique_ptr<VMTHook>SurfaceHook;
std::unique_ptr<VMTHook>RenderViewHook;
//std::unique_ptr<VMTHook>NetChannelHook;
std::unique_ptr<VMTHook>SteamHook;
std::unique_ptr<VMTHook>SteamGameCoordinator;
std::unique_ptr<VMTHook>NetDataGram;
//std::unique_ptr<VMTHook>gameCoordinator;
//CSX::Hook::VTable SteamGameCoordinatorTable;
HFont esp_font;
bool SendPacket;
bool bSendPackett;
Vector lastTickViewAngles;
Present_t Present;
DWORD KeyValues_KeyValues;
DWORD KeyValues_LoadFromBuffer;
RecvVarProxyFn fnSequenceProxyFn;
bool* s_bOverridePostProcessingDisable = nullptr;
//CViewSetup mirror;
class MemAlloc;
void* WriteUsercmdDeltaToBufferReturn;
uintptr_t WriteUserCmds;