aboutsummaryrefslogtreecommitdiff
path: root/source2-basehook/Include.hpp
blob: 7430b70eef532a3fed4e032c3f6a63ee7eca1008 (plain) (blame)
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
#pragma once
#define WIN32_LEAN_AND_MEAN       

#include <windows.h>
#include <string>
#include <memory>
#include <vector>
#include <cmath>

//Macros
#define Packed
#pragma pack(push,1)

#define Sig(Module, Signature)Utilities::FindPattern(Module, Signature)

template<typename Fn> inline Fn CallVfunc(const PVOID Virtual, int Index) { return (Fn) * (*(const PVOID**)Virtual + Index); }

//SDK
#include "Source2SDK/SDK.hpp"

//Base
#include "Console.hpp"
#include "Utilities/VMTHook.hpp"
#include "Utilities/Utilities.hpp"
#include "Base.hpp"

//Hooks
#include "Hooks/PaintTraverse.hpp"
#include "Hooks/CreateMove.hpp"
#include "Hooks/LevelInit.hpp"

//Engine renderer
#include "Renderer/Renderer.hpp"