This commit is contained in:
parent
9d9229b229
commit
e51e791184
@ -204,7 +204,7 @@ workspace "iw4x"
|
|||||||
-- libtomcrypt
|
-- libtomcrypt
|
||||||
project "libtomcrypt"
|
project "libtomcrypt"
|
||||||
language "C"
|
language "C"
|
||||||
defines { "_LIB", "LTC_SOURCE" }
|
defines { "_LIB", "LTC_SOURCE", "LTC_NO_RSA_BLINDING" }
|
||||||
includedirs { "./deps/libtomcrypt/src/headers" }
|
includedirs { "./deps/libtomcrypt/src/headers" }
|
||||||
|
|
||||||
files
|
files
|
||||||
|
@ -193,6 +193,12 @@ namespace Components
|
|||||||
static float volume = 1.0f;
|
static float volume = 1.0f;
|
||||||
Utils::Hook::Set<float*>(0x408078, &volume);
|
Utils::Hook::Set<float*>(0x408078, &volume);
|
||||||
|
|
||||||
|
// Uncheat ui_showList
|
||||||
|
Utils::Hook::Xor<BYTE>(0x6310DC, Game::dvar_flag::DVAR_FLAG_CHEAT);
|
||||||
|
|
||||||
|
// Uncheat ui_debugMode
|
||||||
|
Utils::Hook::Xor<BYTE>(0x6312DE, Game::dvar_flag::DVAR_FLAG_CHEAT);
|
||||||
|
|
||||||
// Hook dvar 'name' registration
|
// Hook dvar 'name' registration
|
||||||
Utils::Hook(0x40531C, Dvar::RegisterName, HOOK_CALL).Install()->Quick();
|
Utils::Hook(0x40531C, Dvar::RegisterName, HOOK_CALL).Install()->Quick();
|
||||||
}
|
}
|
||||||
|
@ -239,6 +239,8 @@ namespace Components
|
|||||||
//#ifdef USE_NODE_STUFF
|
//#ifdef USE_NODE_STUFF
|
||||||
Assert_Size(Node::AddressEntry, 6);
|
Assert_Size(Node::AddressEntry, 6);
|
||||||
|
|
||||||
|
//ltc_mp = tfm_desc;
|
||||||
|
|
||||||
Dvar::OnInit([] ()
|
Dvar::OnInit([] ()
|
||||||
{
|
{
|
||||||
Node::Dedis.clear();
|
Node::Dedis.clear();
|
||||||
|
@ -45,11 +45,19 @@
|
|||||||
#pragma warning(disable: 6387)
|
#pragma warning(disable: 6387)
|
||||||
|
|
||||||
#define ZLIB_CONST
|
#define ZLIB_CONST
|
||||||
|
|
||||||
|
//#define TFM_DESC
|
||||||
|
#define LTC_NO_FAST
|
||||||
|
#define LTC_NO_PROTOTYPES
|
||||||
|
#define LTC_NO_RSA_BLINDING
|
||||||
|
|
||||||
#define ASIO_STANDALONE
|
#define ASIO_STANDALONE
|
||||||
|
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
#include <curses.h>
|
#include <curses.h>
|
||||||
//#include <asio.hpp>
|
//#include <asio.hpp>
|
||||||
#include <json11.hpp>
|
#include <json11.hpp>
|
||||||
|
#include <tomcrypt.h>
|
||||||
|
|
||||||
#pragma warning(pop)
|
#pragma warning(pop)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user