资源简介
csgo c++源码
代码片段和文件信息
#include “hooks.hpp“
#include
#include “render.hpp“
#include “menu.hpp“
#include “options.hpp“
#include “helpers/input.hpp“
#include “helpers/utils.hpp“
#include “features/bhop.hpp“
#include “features/chams.hpp“
#include “features/visuals.hpp“
#include “features/glow.hpp“
#pragma intrinsic(_ReturnAddress)
namespace Hooks
{
vfunc_hook hlclient_hook;
vfunc_hook direct3d_hook;
vfunc_hook vguipanel_hook;
vfunc_hook vguisurf_hook;
vfunc_hook sound_hook;
vfunc_hook mdlrender_hook;
vfunc_hook clientmode_hook;
vfunc_hook sv_cheats;
void Initialize()
{
hlclient_hook.setup(g_CHLClient);
direct3d_hook.setup(g_D3DDevice9);
vguipanel_hook.setup(g_VGuiPanel);
vguisurf_hook.setup(g_VGuiSurface);
sound_hook.setup(g_EngineSound);
mdlrender_hook.setup(g_MdlRender);
clientmode_hook.setup(g_ClientMode);
ConVar* sv_cheats_con = g_CVar->FindVar(“sv_cheats“);
sv_cheats.setup(sv_cheats_con);
direct3d_hook.hook_index(index::EndScene hkEndScene);
direct3d_hook.hook_index(index::Reset hkReset);
hlclient_hook.hook_index(index::frameStageNotify hkframeStageNotify);
hlclient_hook.hook_index(index::CreateMove hkCreateMove_Proxy);
vguipanel_hook.hook_index(index::PaintTraverse hkPaintTraverse);
sound_hook.hook_index(index::EmitSound1 hkEmitSound1);
vguisurf_hook.hook_index(index::LockCursor hkLockCursor);
mdlrender_hook.hook_index(index::DrawModelExecute hkDrawModelExecute);
clientmode_hook.hook_index(index::DoPostScreenSpaceEffects hkDoPostScreenEffects);
clientmode_hook.hook_index(index::OverrideView hkOverrideView);
sv_cheats.hook_index(index::SvCheatsGetBool hkSvCheatsGetBool);
}
//--------------------------------------------------------------------------------
void Shutdown()
{
hlclient_hook.unhook_all();
direct3d_hook.unhook_all();
vguipanel_hook.unhook_all();
vguisurf_hook.unhook_all();
mdlrender_hook.unhook_all();
clientmode_hook.unhook_all();
Glow::Get().Shutdown();
}
//--------------------------------------------------------------------------------
long __stdcall hkEndScene(IDirect3DDevice9* pDevice)
{
auto oEndScene = direct3d_hook.get_original(index::EndScene);
static auto viewmodel_fov = g_CVar->FindVar(“viewmodel_fov“);
static auto mat_ambient_light_r = g_CVar->FindVar(“mat_ambient_light_r“);
static auto mat_ambient_light_g = g_CVar->FindVar(“mat_ambient_light_g“);
static auto mat_ambient_light_b = g_CVar->FindVar(“mat_ambient_light_b“);
static auto crosshair_cvar = g_CVar->FindVar(“crosshair“);
viewmodel_fov->m_fnChangeCallbacks.m_Size = 0;
viewmodel_fov->SetValue(g_Options.viewmodel_fov);
mat_ambient_light_r->SetValue(g_Options.mat_ambient_light_r);
mat_ambient_light_g->SetValue(g_Options.mat_ambient_light_g);
mat_ambient_light_b->SetValue(g_Options.mat_ambient_light_b);
crosshair_cvar->SetValue(!g_Options.esp_crosshair);
DWORD color
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-12-31 07:37 CSGOSimple-master\
文件 4926 2018-12-31 07:37 CSGOSimple-master\.gitignore
文件 1387 2018-12-31 07:37 CSGOSimple-master\CSGOSimple.DotSettings
文件 1905 2018-12-31 07:37 CSGOSimple-master\CSGOSimple.sln
文件 1157 2018-12-31 07:37 CSGOSimple-master\CSGOSimple.sln.DotSettings
目录 0 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\
文件 11167 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\CSGOSimple.vcxproj
文件 14043 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\CSGOSimple.vcxproj.filters
文件 301 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\IRefCounted.h
文件 11065 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\UI.cpp
文件 3466 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\datamap.hpp
文件 406082 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\droid.hpp
目录 0 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\features\
文件 602 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\features\bhop.cpp
文件 111 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\features\bhop.hpp
文件 6728 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\features\chams.cpp
文件 755 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\features\chams.hpp
文件 3652 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\features\glow.cpp
文件 192 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\features\glow.hpp
文件 13135 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\features\visuals.cpp
文件 944 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\features\visuals.hpp
目录 0 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\helpers\
文件 5235 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\helpers\input.cpp
文件 1241 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\helpers\input.hpp
文件 5055 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\helpers\math.cpp
文件 1184 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\helpers\math.hpp
文件 7779 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\helpers\utils.cpp
文件 1794 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\helpers\utils.hpp
文件 1346 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\helpers\vfunc_hook.cpp
文件 1463 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\helpers\vfunc_hook.hpp
文件 10343 2018-12-31 07:37 CSGOSimple-master\CSGOSimple\hooks.cpp
............此处省略106个文件信息
相关资源
- 十个网络驱动层封包截取防火墙源码
- mcp4531 数字电位器c语言驱动和电路
- AD5592驱动程序C语言和中文手册
- Windows设备驱动程序WDF开发源码
- C++事件驱动的银行模拟系统
- HDC1080驱动 温湿度 STM32 IIC I2C
- C程序设计第五版谭浩强PPT课件、课后
- MFC实现RS232串口通信程序和辅助程序
- STM32F030无刷电机驱动程序
- 组态王modbus协议驱动vc++
- STM32驱动NRF24L01的视频传输
- 数据结构与算法学习辅导及习题详解
- C++预装驱动工程源码
- 工程最优化设计学习辅导与习题解答
- 基于STM32的LED显示控制板卡驱动及GU
- FPGA nios驱动LCD12864实现uart以及菜单功
- C语言程序设计第四版谭浩强著教材
- 测试驱动嵌入式C语言开发中英文合集
- SMT32电机驱动(舵机和电机)
- 《概率论与数理统计辅导讲义-全国硕
- 《线性代数同步学习辅导》pdf 高清版
- ADS112C04 16位AD TM4模拟IIC驱动
- 《C程序设计(第五版)学习辅导》高
- c程序设计(第五版)学习辅导
- STM32上驱动基于IIC协议的OLED 128664 0.
- C语言程序设计第四版学习辅导(谭浩
- C语言程序设计学习指导+苏小红第2版
- Matrix Vision相机驱动 MV
- 哈工大软件工程硕士C辅导题
- SLE4442驱动源码
评论
共有 条评论