re3/src/Radar.h

28 lines
488 B
C
Raw Normal View History

#pragma once
2019-06-14 23:34:19 +00:00
#include "Sprite2d.h"
enum eBlipType
{
BLIP_NONE,
BLIP_CAR,
BLIP_CHAR,
BLIP_OBJECT,
BLIP_COORD,
BLIP_CONTACT_POINT
};
class CRadar
{
2019-06-14 23:34:19 +00:00
public:
static Float &m_RadarRange;
static CVector2D &vec2DRadarOrigin;
public:
static void ClearBlipForEntity(eBlipType type, int32 id);
2019-06-14 23:34:19 +00:00
static void Draw3dMarkers();
static void DrawMap();
static void TransformRadarPointToScreenSpace(CVector2D * out, CVector2D * in);
static void DrawBlips();
static void DrawRadarMap();
};