summaryrefslogblamecommitdiffstats
path: root/src/Radar.h
blob: f5afcd6e96fcd421a3be2b90f78ab39502880e62 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
            
                     













                          



                                           
                                                                 




                                                                                      
  
#pragma once
#include "Sprite2d.h"

enum eBlipType
{
	BLIP_NONE,
	BLIP_CAR,
	BLIP_CHAR,
	BLIP_OBJECT,
	BLIP_COORD,
	BLIP_CONTACT_POINT
};

class CRadar
{
public:
	static Float &m_RadarRange;
	static CVector2D &vec2DRadarOrigin;

public:
	static void ClearBlipForEntity(eBlipType type, int32 id);
	static void Draw3dMarkers();
	static void DrawMap();
	static void TransformRadarPointToScreenSpace(CVector2D * out, CVector2D * in);
	static void DrawBlips();
	static void DrawRadarMap();
};