/*
  Created by Jenny White on 29.04.18.
  Copyright (c) 2018 nullworks. All rights reserved.
*/

#pragma once

#include <settings/Bool.hpp>
#include "common.hpp"

#define MENU_COLOR (menu_color)

// This is a temporary file to put code that needs moving/refactoring in.
extern bool *bSendPackets;
extern bool ignoreKeys;
extern std::array<int, 32> bruteint;
extern std::array<Timer, 32> timers;

extern Timer DelayTimer;
extern Timer LookAtPathTimer;
extern bool firstcm;
extern bool ignoredc;

extern bool calculated_can_shoot;
extern float prevflow;
extern int prevflowticks;
#if ENABLE_VISUALS
extern int spectator_target;
extern CLC_VoiceData *voicecrash;
#endif
extern settings::Boolean clean_chat;

extern settings::Boolean clean_screenshots;
extern settings::Boolean crypt_chat;
extern settings::Boolean nolerp;
extern float backup_lerp;
extern settings::Boolean disable_visuals;
extern settings::Int print_r;
extern settings::Int print_g;
extern settings::Int print_b;
extern Color menu_color;
extern int stored_buttons;
#if ENABLE_VISUALS
extern bool freecam_is_toggled;
#endif
std::string GetNamestealName(CSteamID steam_id);
namespace hacks::tf2::misc_aimbot
{
bool ShouldHitBuilding(CachedEntity *ent);
}
namespace hooked_methods
{
void sendAchievementKv(int value);
void sendIdentifyMessage(bool reply);
extern settings::Boolean identify;
} // namespace hooked_methods
