little cleanup on radar

This commit is contained in:
aap 2020-05-17 22:24:23 +02:00
parent 4ab49780b5
commit d4a429d986

View File

@ -26,27 +26,27 @@ enum eRadarSprite
RADAR_SPRITE_COORD_BLIP = -1,
#endif
RADAR_SPRITE_NONE = 0,
RADAR_SPRITE_ASUKA = 1,
RADAR_SPRITE_BOMB = 2,
RADAR_SPRITE_CAT = 3,
RADAR_SPRITE_CENTRE = 4,
RADAR_SPRITE_COPCAR = 5,
RADAR_SPRITE_DON = 6,
RADAR_SPRITE_EIGHT = 7,
RADAR_SPRITE_EL = 8,
RADAR_SPRITE_ICE = 9,
RADAR_SPRITE_JOEY = 10,
RADAR_SPRITE_KENJI = 11,
RADAR_SPRITE_LIZ = 12,
RADAR_SPRITE_LUIGI = 13,
RADAR_SPRITE_NORTH = 14,
RADAR_SPRITE_RAY = 15,
RADAR_SPRITE_SAL = 16,
RADAR_SPRITE_SAVE = 17,
RADAR_SPRITE_SPRAY = 18,
RADAR_SPRITE_TONY = 19,
RADAR_SPRITE_WEAPON = 20,
RADAR_SPRITE_COUNT = 21,
RADAR_SPRITE_ASUKA,
RADAR_SPRITE_BOMB,
RADAR_SPRITE_CAT,
RADAR_SPRITE_CENTRE,
RADAR_SPRITE_COPCAR,
RADAR_SPRITE_DON,
RADAR_SPRITE_EIGHT,
RADAR_SPRITE_EL,
RADAR_SPRITE_ICE,
RADAR_SPRITE_JOEY,
RADAR_SPRITE_KENJI,
RADAR_SPRITE_LIZ,
RADAR_SPRITE_LUIGI,
RADAR_SPRITE_NORTH,
RADAR_SPRITE_RAY,
RADAR_SPRITE_SAL,
RADAR_SPRITE_SAVE,
RADAR_SPRITE_SPRAY,
RADAR_SPRITE_TONY,
RADAR_SPRITE_WEAPON,
RADAR_SPRITE_COUNT
};
enum
@ -104,7 +104,7 @@ public:
static CSprite2d SpraySprite;
static CSprite2d TonySprite;
static CSprite2d WeaponSprite;
static CSprite2d *RadarSprites[21];
static CSprite2d *RadarSprites[RADAR_SPRITE_COUNT];
static float cachedCos;
static float cachedSin;
#ifdef MENU_MAP