summaryrefslogblamecommitdiffstats
path: root/src/Radar.h
blob: 52d8a8832d5448f6bce21158d3ad143fb53ac405 (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();
};