![]() |
DDNet documentation
|
#include <render_map.h>
Public Member Functions | |
| CTuneColorMapper () | |
| uint8_t | TuneNumberToColorIndex (uint8_t TuneNumber) |
| ColorRGBA | TuneColorIndexToColor (uint8_t TuneColorIndex) const |
| void | Reset () |
Private Attributes | |
| std::array< uint8_t, 255 > | m_aTuneNumberToColorIndex |
| uint8_t | m_NextTuneNumberIndex = 0 |
| CTuneColorMapper::CTuneColorMapper | ( | ) |
| void CTuneColorMapper::Reset | ( | ) |
| ColorRGBA CTuneColorMapper::TuneColorIndexToColor | ( | uint8_t | TuneColorIndex | ) | const |
| uint8_t CTuneColorMapper::TuneNumberToColorIndex | ( | uint8_t | TuneNumber | ) |
|
private |
|
private |