Add sprite to the waypoint marker

This commit is contained in:
Sergeanur
2021-08-02 14:45:37 +03:00
parent 858f913fac
commit 8ea411e4c5
4 changed files with 68 additions and 7 deletions

View File

@@ -47,6 +47,9 @@ enum eRadarSprite
RADAR_SPRITE_SPRAY,
RADAR_SPRITE_TONY,
RADAR_SPRITE_WEAPON,
#ifdef MENU_MAP
RADAR_SPRITE_WAYPOINT,
#endif
RADAR_SPRITE_COUNT
};
@@ -144,6 +147,7 @@ public:
static float cachedCos;
static float cachedSin;
#ifdef MENU_MAP
static CSprite2d WaypointSprite;
static int TargetMarkerId;
static CVector TargetMarkerPos;