diff options
| author | jz0 <[email protected]> | 2020-05-03 22:38:59 +0300 |
|---|---|---|
| committer | jz0 <[email protected]> | 2020-05-03 22:38:59 +0300 |
| commit | fdb81a898151278a66af544dfae6bfcbbf9dc3d2 (patch) | |
| tree | 8884fc5c21b3daf0a32cc145c4488b9e708deec4 /source2-basehook/Include.hpp | |
| download | archived-source2-basehook-fdb81a898151278a66af544dfae6bfcbbf9dc3d2.tar.xz archived-source2-basehook-fdb81a898151278a66af544dfae6bfcbbf9dc3d2.zip | |
Initial commit
Diffstat (limited to 'source2-basehook/Include.hpp')
| -rw-r--r-- | source2-basehook/Include.hpp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/source2-basehook/Include.hpp b/source2-basehook/Include.hpp new file mode 100644 index 0000000..7430b70 --- /dev/null +++ b/source2-basehook/Include.hpp @@ -0,0 +1,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" + + + |