22#ifndef BLADERUNNER_COLOR_H
23#define BLADERUNNER_COLOR_H
25#include "common/system.h"
27namespace BladeRunner {
31 static const uint8 map5BitsTo8Bits[32];
38 Color() : r(0.0f), g(0.0f), b(0.0f) {}
40 Color(
float r_,
float g_,
float b_) : r(r_), g(g_), b(b_) {}
42 static uint8 get8BitColorFrom5Bit(uint8 col5b);
45#include "common/pack-start.h"
53#include "common/pack-end.h"