35 lines
463 B
C++
35 lines
463 B
C++
/*
|
|
* Radar.hpp
|
|
*
|
|
* Created on: Mar 28, 2017
|
|
* Author: nullifiedcat
|
|
*/
|
|
|
|
#ifndef HACKS_RADAR_HPP_
|
|
#define HACKS_RADAR_HPP_
|
|
|
|
#include "common.hpp"
|
|
#include "visual/atlas.hpp"
|
|
|
|
namespace hacks
|
|
{
|
|
namespace tf
|
|
{
|
|
namespace radar
|
|
{
|
|
|
|
extern CatVar size;
|
|
extern CatVar zoom;
|
|
extern CatVar radar_enabled;
|
|
extern CatVar radar_x;
|
|
extern CatVar radar_y;
|
|
|
|
void Init();
|
|
std::pair<int, int> WorldToRadar(int x, int y);
|
|
void Draw();
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif /* HACKS_RADAR_HPP_ */
|