remove CatVar from headers
This commit is contained in:
parent
546e2b7268
commit
3778e66ecd
@ -11,26 +11,10 @@
|
|||||||
extern bool *bSendPackets;
|
extern bool *bSendPackets;
|
||||||
extern std::array<int, 32> bruteint;
|
extern std::array<int, 32> bruteint;
|
||||||
extern std::array<Timer, 32> timers;
|
extern std::array<Timer, 32> timers;
|
||||||
extern CatVar no_zoom;
|
|
||||||
extern CatVar clean_screenshots;
|
|
||||||
extern CatVar disable_visuals;
|
|
||||||
extern CatVar disconnect_reason;
|
|
||||||
extern CatVar crypt_chat;
|
|
||||||
extern CatVar minigun_jump;
|
|
||||||
extern CatVar nolerp;
|
|
||||||
extern CatVar joinclass;
|
|
||||||
extern CatVar jointeam;
|
|
||||||
extern CatVar fakelag_amount;
|
|
||||||
extern CatVar serverlag_amount;
|
|
||||||
extern CatVar servercrash;
|
|
||||||
extern CatVar debug_projectiles;
|
|
||||||
extern CatVar semiauto;
|
|
||||||
extern CatVar resolver;
|
|
||||||
extern CatVar engine_pred;
|
|
||||||
extern Timer DelayTimer;
|
extern Timer DelayTimer;
|
||||||
extern bool firstcm;
|
extern bool firstcm;
|
||||||
extern CatVar delay;
|
|
||||||
extern CatVar adjust;
|
|
||||||
extern float prevflow;
|
extern float prevflow;
|
||||||
extern int prevflowticks;
|
extern int prevflowticks;
|
||||||
#if ENABLE_VISUALS
|
#if ENABLE_VISUALS
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
class CatVar;
|
|
||||||
|
|
||||||
namespace backpacktf
|
namespace backpacktf
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -38,4 +38,4 @@ public:
|
|||||||
|
|
||||||
std::vector<CatCommand *> &commandRegistrationArray();
|
std::vector<CatCommand *> &commandRegistrationArray();
|
||||||
|
|
||||||
void RegisterCatVars();
|
void RegisterCatCommands();
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
class Vector;
|
class Vector;
|
||||||
class ConVar;
|
class ConVar;
|
||||||
class CatVar;
|
|
||||||
|
|
||||||
extern int g_AppID;
|
extern int g_AppID;
|
||||||
extern unsigned long tickcount;
|
extern unsigned long tickcount;
|
||||||
@ -20,21 +19,12 @@ extern ConVar *cl_interp_ratio;
|
|||||||
extern ConVar *cl_interp;
|
extern ConVar *cl_interp;
|
||||||
extern ConVar *cl_interpolate;
|
extern ConVar *cl_interpolate;
|
||||||
|
|
||||||
extern CatVar event_log;
|
|
||||||
extern CatVar cathook; // Master switch
|
|
||||||
extern bool *bSendPackets;
|
extern bool *bSendPackets;
|
||||||
extern CatVar show_antiaim;
|
|
||||||
extern CatVar force_thirdperson;
|
|
||||||
extern CatVar console_logging;
|
|
||||||
extern CatVar fast_outline;
|
|
||||||
extern CatVar roll_speedhack;
|
|
||||||
extern CatVar force_name;
|
|
||||||
extern char *force_name_newlined;
|
extern char *force_name_newlined;
|
||||||
extern bool need_name_change;
|
extern bool need_name_change;
|
||||||
extern int last_cmd_number;
|
extern int last_cmd_number;
|
||||||
|
|
||||||
extern char *disconnect_reason_newlined;
|
extern char *disconnect_reason_newlined;
|
||||||
extern CatVar disconnect_reason;
|
|
||||||
|
|
||||||
extern time_t time_injected;
|
extern time_t time_injected;
|
||||||
struct brutestruct
|
struct brutestruct
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
class CatVar;
|
|
||||||
class CUserCmd;
|
class CUserCmd;
|
||||||
|
|
||||||
namespace hacks::shared::antiaim
|
namespace hacks::shared::antiaim
|
||||||
|
@ -10,9 +10,6 @@
|
|||||||
namespace hacks::shared::autojoin
|
namespace hacks::shared::autojoin
|
||||||
{
|
{
|
||||||
|
|
||||||
extern CatVar auto_queue;
|
|
||||||
extern Timer queuetime;
|
|
||||||
|
|
||||||
void Update();
|
void Update();
|
||||||
void UpdateSearch();
|
void UpdateSearch();
|
||||||
}
|
}
|
||||||
|
@ -7,10 +7,6 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
class CatVar;
|
|
||||||
class InitRoutine;
|
|
||||||
|
|
||||||
namespace hacks::tf::autotaunt
|
namespace hacks::tf::autotaunt
|
||||||
{
|
{
|
||||||
extern InitRoutine init;
|
|
||||||
}
|
}
|
||||||
|
@ -54,8 +54,6 @@ struct CIncomingSequence
|
|||||||
};
|
};
|
||||||
typedef boost::circular_buffer_space_optimized<CIncomingSequence> circular_buf;
|
typedef boost::circular_buffer_space_optimized<CIncomingSequence> circular_buf;
|
||||||
extern circular_buf sequences;
|
extern circular_buf sequences;
|
||||||
extern CatVar latency;
|
|
||||||
extern CatVar enable;
|
|
||||||
extern int ticks;
|
extern int ticks;
|
||||||
extern BacktrackData headPositions[32][66];
|
extern BacktrackData headPositions[32][66];
|
||||||
extern BestTickData sorted_ticks[66];
|
extern BestTickData sorted_ticks[66];
|
||||||
|
@ -13,8 +13,6 @@ namespace hacks::shared::followbot
|
|||||||
// Followed entity, externed for highlight color
|
// Followed entity, externed for highlight color
|
||||||
extern int follow_target;
|
extern int follow_target;
|
||||||
extern bool followcart;
|
extern bool followcart;
|
||||||
extern CatVar followbot;
|
|
||||||
extern CatVar roambot;
|
|
||||||
extern CatCommand follow_steam;
|
extern CatCommand follow_steam;
|
||||||
extern unsigned steamid;
|
extern unsigned steamid;
|
||||||
void DrawTick();
|
void DrawTick();
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
|
|
||||||
#include "common.hpp"
|
#include "common.hpp"
|
||||||
|
|
||||||
class CatVar;
|
|
||||||
|
|
||||||
namespace hacks::shared::triggerbot
|
namespace hacks::shared::triggerbot
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -13,7 +13,6 @@ namespace hitrate
|
|||||||
extern int count_shots;
|
extern int count_shots;
|
||||||
extern int count_hits;
|
extern int count_hits;
|
||||||
extern int count_hits_head;
|
extern int count_hits_head;
|
||||||
extern CatVar hitrate_check;
|
|
||||||
|
|
||||||
void Update();
|
void Update();
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
class CatCommand;
|
class CatCommand;
|
||||||
class CatVar;
|
|
||||||
|
|
||||||
namespace ipc
|
namespace ipc
|
||||||
{
|
{
|
||||||
@ -32,13 +31,6 @@ constexpr unsigned stop_moving = 5;
|
|||||||
constexpr unsigned start_moving = 6;
|
constexpr unsigned start_moving = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern CatCommand connect;
|
|
||||||
extern CatCommand disconnect;
|
|
||||||
extern CatCommand exec;
|
|
||||||
extern CatCommand exec_all;
|
|
||||||
extern CatCommand lobby;
|
|
||||||
extern CatVar server_name;
|
|
||||||
|
|
||||||
constexpr unsigned cathook_magic_number = 0x0DEADCA7;
|
constexpr unsigned cathook_magic_number = 0x0DEADCA7;
|
||||||
|
|
||||||
struct server_data_s
|
struct server_data_s
|
||||||
|
@ -14,6 +14,4 @@ void queue_start();
|
|||||||
void queue_leave();
|
void queue_leave();
|
||||||
void dcandabandon();
|
void dcandabandon();
|
||||||
void abandon();
|
void abandon();
|
||||||
extern CatVar queue;
|
|
||||||
extern CatEnum queue_mode;
|
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
|
|
||||||
class CachedEntity;
|
class CachedEntity;
|
||||||
class Vector;
|
class Vector;
|
||||||
class CatVar;
|
|
||||||
class IClientEntity;
|
class IClientEntity;
|
||||||
class CatEnum;
|
class CatEnum;
|
||||||
class VMatrix;
|
class VMatrix;
|
||||||
|
@ -10,9 +10,6 @@
|
|||||||
#include <visual/atlas.hpp>
|
#include <visual/atlas.hpp>
|
||||||
#include "common.hpp"
|
#include "common.hpp"
|
||||||
|
|
||||||
class CatVar;
|
|
||||||
|
|
||||||
extern std::array<textures::sprite, 4> spinner_states;
|
extern std::array<textures::sprite, 4> spinner_states;
|
||||||
extern CatVar v9mode;
|
|
||||||
void InitSpinner();
|
void InitSpinner();
|
||||||
void DrawSpinner();
|
void DrawSpinner();
|
||||||
|
@ -24,6 +24,9 @@ static settings::Bool show_powerups{ "glow.show.powerups", "true" };
|
|||||||
static settings::Bool weapons_white{ "glow.white-weapons", "true" };
|
static settings::Bool weapons_white{ "glow.white-weapons", "true" };
|
||||||
static settings::Bool glowself{ "glow.self", "true" };
|
static settings::Bool glowself{ "glow.self", "true" };
|
||||||
static settings::Bool rainbow{ "glow.self-rainbow", "true" };
|
static settings::Bool rainbow{ "glow.self-rainbow", "true" };
|
||||||
|
static settings::Int blur_scale{ "glow.blur-scale", "5" };
|
||||||
|
// https://puu.sh/vobH4/5da8367aef.png
|
||||||
|
static settings::Int solid_when{ "glow.solid-when", "0" };
|
||||||
|
|
||||||
IMaterialSystem *materials = nullptr;
|
IMaterialSystem *materials = nullptr;
|
||||||
|
|
||||||
@ -331,12 +334,6 @@ void EffectGlow::EndRenderGlow()
|
|||||||
ptr->PopRenderTargetAndViewport();
|
ptr->PopRenderTargetAndViewport();
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://puu.sh/vobH4/5da8367aef.png
|
|
||||||
static CatEnum solid_when_enum({ "Never", "Always", "Invisible" });
|
|
||||||
static CatVar blur_scale(CV_INT, "glow_blur_scale", "5", "Blur amount",
|
|
||||||
"Ammount to blur the glow");
|
|
||||||
static CatVar solid_when(solid_when_enum, "glow_solid_when", "0", "Solid when",
|
|
||||||
"Glow will be solid when entity is...");
|
|
||||||
|
|
||||||
void EffectGlow::StartStenciling()
|
void EffectGlow::StartStenciling()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user