-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathHooks.h
More file actions
47 lines (33 loc) · 1.08 KB
/
Copy pathHooks.h
File metadata and controls
47 lines (33 loc) · 1.08 KB
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
#pragma once
// It's actually in DLLMain but w/e
extern bool DoUnload;
#include "Utilities.h"
#include "Settings.h"
#include "EnginePrediction.h"
#include "VFTableHook.h"
#include "Hitmarkers.h"
#include "viewsetup.h"
#include "NightMode.h"
extern float lineLBY;
extern float lineRealAngle;
extern float lineFakeAngle;
extern int ResolverStage[65];
void ApplyKnifeHooks();
void Warning(const char* msg, ...);
typedef void(__stdcall *OverrideViewFn)(CViewSetup*);
extern OverrideViewFn oOverrideView;
namespace Hooks
{
void Initialise();
void UndoHooks();
// VMT Managers
extern U::Memory::VMTManager VMTPanel; // Hooking drawing functions
extern U::Memory::VMTManager VMTClient; // Maybe CreateMove
extern U::Memory::VMTManager VMTClientMode; // CreateMove for functionality
extern U::Memory::VMTManager VMTModelDraw; // DrawModelEx for chams
extern U::Memory::VMTManager VMTPrediction; // InPrediction for no vis recoil
extern U::Memory::VMTManager VMTMaterialSystem;
extern void __stdcall OverrideView(CViewSetup* vsView);
};
void ApplyNetVarsHooks();
void RemoveNetVarsHooks();