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