2019-06-12 18:07:37 +00:00
|
|
|
#pragma once
|
2019-06-14 23:34:19 +00:00
|
|
|
#include "Sprite2d.h"
|
2019-06-12 18:07:37 +00:00
|
|
|
|
|
|
|
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:
|
2019-06-16 22:16:38 +00:00
|
|
|
static float &m_RadarRange;
|
2019-06-14 23:34:19 +00:00
|
|
|
static CVector2D &vec2DRadarOrigin;
|
|
|
|
|
2019-06-12 18:07:37 +00:00
|
|
|
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();
|
2019-06-12 18:07:37 +00:00
|
|
|
};
|