diff --git a/premake5.lua b/premake5.lua index 90d8c71d..5ee43db2 100644 --- a/premake5.lua +++ b/premake5.lua @@ -204,7 +204,7 @@ workspace "iw4x" -- libtomcrypt project "libtomcrypt" language "C" - defines { "_LIB", "LTC_SOURCE" } + defines { "_LIB", "LTC_SOURCE", "LTC_NO_RSA_BLINDING" } includedirs { "./deps/libtomcrypt/src/headers" } files diff --git a/src/Components/Modules/Dvar.cpp b/src/Components/Modules/Dvar.cpp index 7547316d..0e18af4f 100644 --- a/src/Components/Modules/Dvar.cpp +++ b/src/Components/Modules/Dvar.cpp @@ -193,6 +193,12 @@ namespace Components static float volume = 1.0f; Utils::Hook::Set(0x408078, &volume); + // Uncheat ui_showList + Utils::Hook::Xor(0x6310DC, Game::dvar_flag::DVAR_FLAG_CHEAT); + + // Uncheat ui_debugMode + Utils::Hook::Xor(0x6312DE, Game::dvar_flag::DVAR_FLAG_CHEAT); + // Hook dvar 'name' registration Utils::Hook(0x40531C, Dvar::RegisterName, HOOK_CALL).Install()->Quick(); } diff --git a/src/Components/Modules/Node.cpp b/src/Components/Modules/Node.cpp index e6e521d9..d29d01b6 100644 --- a/src/Components/Modules/Node.cpp +++ b/src/Components/Modules/Node.cpp @@ -239,6 +239,8 @@ namespace Components //#ifdef USE_NODE_STUFF Assert_Size(Node::AddressEntry, 6); + //ltc_mp = tfm_desc; + Dvar::OnInit([] () { Node::Dedis.clear(); diff --git a/src/STDInclude.hpp b/src/STDInclude.hpp index 5b992a16..c019bfab 100644 --- a/src/STDInclude.hpp +++ b/src/STDInclude.hpp @@ -45,11 +45,19 @@ #pragma warning(disable: 6387) #define ZLIB_CONST + +//#define TFM_DESC +#define LTC_NO_FAST +#define LTC_NO_PROTOTYPES +#define LTC_NO_RSA_BLINDING + #define ASIO_STANDALONE + #include #include //#include #include +#include #pragma warning(pop)