
Go to the source code of this file.
Namespaces | |
| namespace | yaze |
| Main namespace for the application. | |
| namespace | yaze::gfx |
| Contains classes for handling graphical data. | |
Functions | |
| snes_color | yaze::gfx::ConvertSnesToRgb (uint16_t snes_color) |
| Convert SNES 15-bit color to RGB (0-255 range) | |
| uint16_t | yaze::gfx::ConvertRgbToSnes (const snes_color &color) |
| Convert RGB (0-255) to SNES 15-bit color. | |
| uint16_t | yaze::gfx::ConvertRgbToSnes (const ImVec4 &color) |
| Convert ImVec4 (0.0-1.0) to SNES 15-bit color. | |
| SnesColor | yaze::gfx::ReadColorFromRom (int offset, const uint8_t *rom) |
| std::vector< snes_color > | yaze::gfx::Extract (const char *data, unsigned int offset, unsigned int palette_size) |
| std::vector< char > | yaze::gfx::Convert (const std::vector< snes_color > &palette) |
| SnesColor | yaze::gfx::GetCgxColor (uint16_t color) |
| std::vector< SnesColor > | yaze::gfx::GetColFileData (uint8_t *data) |
Variables | |
| constexpr uint16_t | yaze::gfx::SNES_RED_MASK = 32 |
| constexpr uint16_t | yaze::gfx::SNES_GREEN_MASK = 32 |
| constexpr uint16_t | yaze::gfx::SNES_BLUE_MASK = 32 |
| constexpr uint16_t | yaze::gfx::SNES_GREEN_SHIFT = 32 |
| constexpr uint16_t | yaze::gfx::SNES_BLUE_SHIFT = 1024 |