#include <array>#include <cstdint>#include <cstdlib>#include <cstring>#include <iostream>#include <string>#include <vector>#include "absl/status/status.h"#include "absl/status/statusor.h"#include "app/gfx/types/snes_color.h"#include "imgui/imgui.h"#include "util/macro.h"Go to the source code of this file.
Classes | |
| class | yaze::gfx::SnesPalette |
| Represents a palette of colors for the Super Nintendo Entertainment System (SNES). More... | |
| struct | yaze::gfx::PaletteGroup |
| Represents a group of palettes. More... | |
| struct | yaze::gfx::PaletteGroupMap |
| Represents a mapping of palette groups. More... | |
| struct | yaze::gfx::Paletteset |
| Represents a set of palettes used in a SNES graphics system. More... | |
| class | yaze::gfx::GfxContext |
| Shared graphical context across editors. More... | |
Namespaces | |
| namespace | yaze |
| Main namespace for the application. | |
| namespace | yaze::gfx |
| Contains classes for handling graphical data. | |
Functions | |
| uint32_t | yaze::gfx::GetPaletteAddress (const std::string &group_name, size_t palette_index, size_t color_index) |
| SnesPalette | yaze::gfx::ReadPaletteFromRom (int offset, int num_colors, const uint8_t *rom) |
| Read a palette from ROM data. | |
| std::array< float, 4 > | yaze::gfx::ToFloatArray (const SnesColor &color) |
| absl::StatusOr< PaletteGroup > | yaze::gfx::CreatePaletteGroupFromColFile (std::vector< SnesColor > &palette_rows) |
| absl::StatusOr< PaletteGroup > | yaze::gfx::CreatePaletteGroupFromLargePalette (SnesPalette &palette, int num_colors) |
| Create a PaletteGroup by dividing a large palette into sub-palettes. | |
| absl::Status | yaze::gfx::LoadAllPalettes (const std::vector< uint8_t > &rom_data, PaletteGroupMap &groups) |
| Loads all the palettes for the game. | |