Disable warning, fix naming inconsistency for component & remove unused code

Rename Slowmotion.cpp to SlowMotion.cpp

Rename Slowmotion.hpp to SlowMotion.hpp

Modify comments and remove unused code
This commit is contained in:
FutureRave 2022-03-07 22:35:12 +00:00
parent 204a752a96
commit 0cf2ac2853
3 changed files with 3 additions and 9 deletions

View File

@ -91,4 +91,4 @@ namespace Components
Utils::Hook(0x4A54ED, SlowMotion::DrawConnectionInterruptedStub, HOOK_CALL).install()->quick();
Utils::Hook(0x4A54FB, SlowMotion::DrawConnectionInterruptedStub, HOOK_CALL).install()->quick();
}
}
}

View File

@ -54,14 +54,7 @@
#include <Xinput.h>
#pragma comment (lib, "xinput.lib")
// Usefull for debugging
template <size_t S> class Sizer { };
#define BindNum(x, y) Sizer<x> y;
#define Size_Of(x, y) BindNum(sizeof(x), y)
#define Offset_Of(x, y, z) BindNum(offsetof(x, y), z)
// Submodules
// Ignore the warnings, it's not our code!
// Ignore the warnings
#pragma warning(push)
#pragma warning(disable: 4005)
#pragma warning(disable: 4091)
@ -79,6 +72,7 @@ template <size_t S> class Sizer { };
#pragma warning(disable: 6258)
#pragma warning(disable: 6386)
#pragma warning(disable: 6387)
#pragma warning(disable: 26812)
#include <zlib.h>