diff options
| author | boris <wzn@moneybot.cc> | 2018-11-28 16:00:02 +1300 |
|---|---|---|
| committer | boris <wzn@moneybot.cc> | 2018-11-28 16:00:02 +1300 |
| commit | 3d412a4b30a9f7c7f51ea6562e694315948bd3da (patch) | |
| tree | 26d67dfd1f3e5fd12903ad13e85d0cb8bcf8f21c /internal_rewrite/CHLClient.hpp | |
| parent | e4729e4393d90271a3814c7a79950a660c48325a (diff) | |
cleaned up
in short, the cheat and loader are now separate solutions. unused stuff was moved into the legacy solution in case anyone wants to compile it or whatever.
i can change this back if you want to. also, i configured the loader to compile in x64, and have separate build types for linux and win64
Diffstat (limited to 'internal_rewrite/CHLClient.hpp')
| -rw-r--r-- | internal_rewrite/CHLClient.hpp | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/internal_rewrite/CHLClient.hpp b/internal_rewrite/CHLClient.hpp deleted file mode 100644 index 94d209f..0000000 --- a/internal_rewrite/CHLClient.hpp +++ /dev/null @@ -1,83 +0,0 @@ -#pragma once -#include "util.hpp" -#include "IClientEntityList.hpp" -#include "ClientClass.hpp" -#include "color.hpp" - -enum ClientFrameStage_t { - FRAME_UNDEFINED = -1, - FRAME_START, - FRAME_NET_UPDATE_START, - FRAME_NET_UPDATE_POSTDATAUPDATE_START, - FRAME_NET_UPDATE_POSTDATAUPDATE_END, - FRAME_NET_UPDATE_END, - FRAME_RENDER_START, - FRAME_RENDER_END -}; - -struct GlowObject_t { - IClientEntity* m_pEntity; - fclr_t color; - char junk0[ 8 ]; - float m_flBloomAmount; - char junk1[ 4 ]; - bool m_bRenderWhenOccluded; - bool m_bRenderWhenUnoccluded; - bool m_bFullBloom; - char junk2[ 14 ]; -}; - -struct GlowObjectManager_t { - GlowObject_t* DataPtr; //0000 - unsigned int Max; //0004 - unsigned int unk02; //0008 - unsigned int Count; //000C - unsigned int DataPtrBack; //0010 - int m_nFirstFreeSlot; //0014 - unsigned int unk1; //0018 - unsigned int unk2; //001C - unsigned int unk3; //0020 - unsigned int unk4; //0024 - unsigned int unk5; //0028 -}; - -class IBaseClientDLL -{ -public: - ClientClass* GetAllClasses( ) { - using fn = ClientClass*( __thiscall* )( void* ); - return util::get_vfunc< fn >( this, 8 )( this ); - } - - /* - DONTCARE - void SetCrosshairAngle( Vector& angle ) - { - typedef void( __thiscall* SetCrosshairAngleFn )( void*, Vector& ); - CallVFunction<SetCrosshairAngleFn>( this, 29 )( this, angle ); - } - - void HudProcessInput( bool enable ) - { - using fn = void( __thiscall* )( void*, bool ); - CallVFunction<fn>( this, 10 )( this, enable ); - } - - void HudUpdate( bool enable ) - { - using fn = void( __thiscall* )( void*, bool ); - CallVFunction<fn>( this, 11 )( this, enable ); - } - - void IN_ActivateMouse( ) - { - using fn = void( __thiscall* )( void* ); - CallVFunction<fn>( this, 15 )( this ); - } - - void IN_DeactivateMouse( ) - { - using fn = void( __thiscall* )( void* ); - CallVFunction<fn>( this, 16 )( this ); - }*/ -};
\ No newline at end of file |
