29 lines
466 B
C++
29 lines
466 B
C++
#pragma once
|
|
|
|
#include "common.hpp"
|
|
namespace hacks::tf2::NavBot
|
|
{
|
|
bool init(bool first_cm);
|
|
namespace task
|
|
{
|
|
enum task : uint8_t
|
|
{
|
|
none = 0,
|
|
sniper_spot,
|
|
stay_near,
|
|
health,
|
|
ammo,
|
|
followbot,
|
|
outofbounds
|
|
};
|
|
constexpr std::array<task, 2> blocking_tasks{ followbot, outofbounds };
|
|
extern task current_task;
|
|
} // namespace task
|
|
struct bot_class_config
|
|
{
|
|
float min;
|
|
float preferred;
|
|
float max;
|
|
};
|
|
} // namespace hacks::tf2::NavBot
|