From 3d412a4b30a9f7c7f51ea6562e694315948bd3da Mon Sep 17 00:00:00 2001 From: boris Date: Wed, 28 Nov 2018 16:00:02 +1300 Subject: 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 --- gmod/frame_stage_notify.cpp | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 gmod/frame_stage_notify.cpp (limited to 'gmod/frame_stage_notify.cpp') diff --git a/gmod/frame_stage_notify.cpp b/gmod/frame_stage_notify.cpp deleted file mode 100644 index c371eb0..0000000 --- a/gmod/frame_stage_notify.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include "hooks.hpp" -#include "context.hpp" -#include "settings.hpp" -#include "base_cheat.hpp" - - -void __fastcall hooks::frame_stage_notify( void* ecx_, void* edx_, ClientFrameStage_t stage ) { - static auto frame_stage_notify_o = g_gmod.m_chl->get_old_function< decltype( &hooks::frame_stage_notify ) >( 35 ); - if ( g_gmod.m_panic ) return frame_stage_notify_o( ecx_, edx_, stage ); - - g_ctx.m_stage = stage; - - switch( stage ) { - case FRAME_NET_UPDATE_START: - break; - case FRAME_NET_UPDATE_POSTDATAUPDATE_START: - break; - case FRAME_RENDER_START: - break; - case FRAME_RENDER_END: - break; - } - - frame_stage_notify_o( ecx_, edx_, stage ); -} \ No newline at end of file -- cgit v1.2.3