1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-26 12:22:41 +01:00

Extend BlipData with colour/size

This commit is contained in:
Jannik Vogel 2016-08-28 13:02:40 +02:00
parent 7d96f28ab9
commit c379c5d5e4

View File

@ -187,9 +187,12 @@ struct BlipData
// If target is null then use coord
glm::vec3 coord;
/* Texture for use in the radar */
std::string texture;
std::string texture; // Texture for use in the radar
uint32_t colour = 0; // Color value (index or RGBA)
bool dimmed = false; // Color dimming if not in RGBA mode
uint16_t size = 3; // Only used if texture is empty
enum DisplayMode
{
Hide = 0,