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 /gmod/hooks.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 'gmod/hooks.hpp')
| -rw-r--r-- | gmod/hooks.hpp | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/gmod/hooks.hpp b/gmod/hooks.hpp deleted file mode 100644 index e4a6239..0000000 --- a/gmod/hooks.hpp +++ /dev/null @@ -1,64 +0,0 @@ -#pragma once -#include <windows.h> - -#include "util.hpp" -#include "d3d.hpp" -#include "interface.hpp" -#include "netvar_proxy.hpp" - -namespace hooks -{ - //hook like the hooker that u are - - long __stdcall window_procedure( HWND, uint32_t, uint32_t, long ); - extern decltype( &window_procedure ) window_procedure_o; - - void __fastcall fire_bullets( void*, void*, fire_bullets_info* ); - extern decltype( &fire_bullets ) fire_bullets_o; - - void __fastcall lock_cursor( void*, void* ); - void __fastcall paint( void*, void*, int ); - void __fastcall render_view( void*, void*, CViewSetup&, int, int ); - void __fastcall paint_traverse( void*, void*, unsigned int, bool, bool ); - bool __fastcall create_move( void*, void*, float, user_cmd_t* ); - void __fastcall frame_stage_notify( void*, void*, ClientFrameStage_t ); - void __fastcall run_command( void*, void*, IClientEntity*, user_cmd_t*, IMoveHelper* ); - void __fastcall override_mouse_input( void*, void*, float*, float* ); - void __fastcall draw_model_execute( IVModelRender*, void*, void*, const DrawModelState_t&, const ModelRenderInfo_t&, matrix3x4* ); - void __fastcall scene_end( void*, void* ); - bool __fastcall is_hltv_proxy( void*, void* ); - bool __fastcall is_hltv( void* thisptr, uintptr_t pvs_entity ); - float __fastcall get_viewmodel_fov( void*, void* ); - void __fastcall get_screen_size( void*, void*, int&, int& ); - void __fastcall override_view( void* ecx_, void* edx_, CViewSetup* setup ); - void __fastcall emit_sound( void* ecx_, void* edx_, void* filter, int ent, int channel, const char* sound, uint32_t hash, - const char* sample, float volume, float attenuation, int seed, int flags, int pitch, const vec3_t* origin, - const vec3_t* direction, vec3_t* origins, bool update_pos, float sound_time, int speaker_entry ); - - bool __fastcall is_connected( void* ecx_, void* edx_ ); - - bool __fastcall in_prediction( void* ecx_, void* edx_ ); - - void __cdecl lby_proxy_fn( const CRecvProxyData* proxy_data_const, void* entity, void* output ); - void __cdecl last_shot_proxy_fn( const CRecvProxyData* proxy_data_const, void* entity, void* output ); - int __fastcall send_datagram( INetChannel* channel, void* edx, void* datagram ); - bool __fastcall is_paused( void* ecx_, void* edx_ ); - bool __fastcall do_post_screen_space_effects( void* ecx_, void* edx_, CViewSetup* setup ); - void __fastcall on_screen_size_changed( void* ecx_, void* edx_, int old_h, int old_w ); - void __fastcall play_sound( void* ecx_, void* edx_, const char* name ); - void __fastcall hud_process_input( void* ecx_, void* edx_, bool repaint ); - - int __fastcall debug_show_spread_get_int( void* ecx_, void* edx_ ); - - extern c_netvar_proxy lby_proxy; - extern c_netvar_proxy last_shot_proxy; - - //do we wanna only run menu in d3d or visuals too? - namespace d3d { - long __stdcall end_scene( IDirect3DDevice9* ); - long __stdcall reset( IDirect3DDevice9*, D3DPRESENT_PARAMETERS* ); - long __stdcall present( IDirect3DDevice9*, RECT*, RECT*, HWND, RGNDATA* ); - } - - extern bool commit( factory::c_gmod* ); -}
\ No newline at end of file |
