From c2a2445897af17adb56a32dcf111312763a575d4 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Mon, 2 Jul 2018 01:06:39 +0200 Subject: initial commit Signed-off-by: Toni Uhlig --- csgo_wh/include/D9DW.h | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100755 csgo_wh/include/D9DW.h (limited to 'csgo_wh/include/D9DW.h') diff --git a/csgo_wh/include/D9DW.h b/csgo_wh/include/D9DW.h new file mode 100755 index 0000000..0ce2a44 --- /dev/null +++ b/csgo_wh/include/D9DW.h @@ -0,0 +1,45 @@ +#ifndef DDRW_HPP_INCLUDED +#define DDRW_HPP_INCLUDED + +#include +#include +#include +#include + +#include "Game.h" +#include "D9DW_Config.h" +#include "D9DW_Text.h" +#include "D9DW_Rectangle.h" + + +#define MENU_DISABLE 0x1 +#define MENU_ESP 0x2 + + +class D9DW +{ + +private: + IDirect3DDevice9* pDevice; + + void drawESP(UINT32 idx, ENTITY *ent, FLOAT pos[3]); + + void doESP(Game *game); + + void __stdcall doMenu(Game *game, int startx, int starty, int heightpad); + +public: + D9DW_Text pTxt; + D9DW_Rectangle pRec; + + void Create(IDirect3DDevice9 *pDev); + + void Release(void); + + void __stdcall Render(Game* game, bool bActive); + + HRESULT checkDxDevice(void); + +}; + +#endif // DDRW_HPP_INCLUDED -- cgit v1.2.3