in progress: cxx17 namespaces
This commit is contained in:
parent
92c158806d
commit
554b382162
@ -13,11 +13,7 @@
|
||||
class ConVar;
|
||||
class IClientEntity;
|
||||
|
||||
namespace hacks
|
||||
{
|
||||
namespace shared
|
||||
{
|
||||
namespace aimbot
|
||||
namespace hacks::shared::aimbot
|
||||
{
|
||||
|
||||
// Used to store aimbot data to prevent calculating it again
|
||||
@ -61,5 +57,3 @@ void DoSlowAim(Vector &inputAngle);
|
||||
bool UpdateAimkey();
|
||||
float EffectiveTargetingRange();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,16 +9,10 @@
|
||||
|
||||
#include "common.hpp"
|
||||
|
||||
namespace hacks
|
||||
{
|
||||
namespace shared
|
||||
{
|
||||
namespace announcer
|
||||
namespace hacks::shared::announcer
|
||||
{
|
||||
|
||||
void playsound(const std::string &);
|
||||
void init();
|
||||
void shutdown();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -10,11 +10,7 @@
|
||||
class CatVar;
|
||||
class CUserCmd;
|
||||
|
||||
namespace hacks
|
||||
{
|
||||
namespace shared
|
||||
{
|
||||
namespace antiaim
|
||||
namespace hacks::shared::antiaim
|
||||
{
|
||||
|
||||
// TODO paste AA from AimTux
|
||||
@ -36,5 +32,3 @@ void SetSafeSpace(int safespace);
|
||||
bool ShouldAA(CUserCmd *cmd);
|
||||
void ProcessUserCmd(CUserCmd *cmd);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,15 +7,12 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace hacks
|
||||
{
|
||||
namespace tf2
|
||||
{
|
||||
namespace antibackstab
|
||||
namespace hacks::tf2::antibackstab
|
||||
{
|
||||
|
||||
extern bool noaa;
|
||||
|
||||
void CreateMove();
|
||||
|
||||
void PaintTraverse();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -13,11 +13,7 @@
|
||||
#include "ac/antiaim.hpp"
|
||||
#include "ac/bhop.hpp"
|
||||
|
||||
namespace hacks
|
||||
{
|
||||
namespace shared
|
||||
{
|
||||
namespace anticheat
|
||||
namespace hacks::shared::anticheat
|
||||
{
|
||||
|
||||
void Accuse(int eid, const std::string &hack, const std::string &details);
|
||||
@ -28,5 +24,3 @@ void CreateMove();
|
||||
void ResetPlayer(int index);
|
||||
void ResetEverything();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,16 +9,10 @@
|
||||
|
||||
#include "common.hpp"
|
||||
|
||||
namespace hacks
|
||||
{
|
||||
namespace tf2
|
||||
{
|
||||
namespace antidisguise
|
||||
namespace hacks::tf2::antidisguise
|
||||
{
|
||||
|
||||
extern CatVar enabled;
|
||||
|
||||
void Draw();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,15 +7,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace hacks
|
||||
{
|
||||
namespace tf2
|
||||
{
|
||||
namespace autobackstab
|
||||
namespace hacks::tf2::autobackstab
|
||||
{
|
||||
|
||||
void CreateMove();
|
||||
const Vector GetWorldSpaceCenter(CachedEntity *ent);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,13 +6,8 @@
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
namespace hacks
|
||||
{
|
||||
namespace shared
|
||||
{
|
||||
namespace deadringer
|
||||
namespace hacks::shared::deadringer
|
||||
{
|
||||
|
||||
void CreateMove();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,13 +9,8 @@
|
||||
|
||||
#include "common.hpp"
|
||||
|
||||
namespace hacks
|
||||
{
|
||||
namespace tf
|
||||
{
|
||||
namespace autodetonator
|
||||
namespace hacks::tf::autodetonator
|
||||
{
|
||||
|
||||
void CreateMove();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user