#include <snes_palette_layout.h>
Public Member Functions | |
| int | RecordCount (OverworldPaletteKind kind) const |
| absl::StatusOr< ResolvedPaletteRecord > | Resolve (OverworldPaletteKind kind, int selector, size_t normalized_rom_size) const |
Static Public Member Functions | |
| static OverworldPaletteLayout | Legacy () |
| static OverworldPaletteLayout | ProposedUnbound () |
Private Member Functions | |
| OverworldPaletteLayout (bool proposed) | |
Private Attributes | |
| bool | proposed_ |
Definition at line 48 of file snes_palette_layout.h.
|
inlineexplicitprivate |
Definition at line 59 of file snes_palette_layout.h.
Referenced by Legacy(), and ProposedUnbound().
|
static |
Definition at line 151 of file snes_palette.cc.
References OverworldPaletteLayout().
Referenced by yaze::gfx::palette_group_internal::LoadOverworldAuxiliaryPalettes(), yaze::gfx::palette_group_internal::LoadOverworldMainPalettes(), and yaze::gfx::PaletteManager::ResolveColorAddress().

|
static |
Definition at line 155 of file snes_palette.cc.
References OverworldPaletteLayout().

| int yaze::gfx::palette_group_internal::OverworldPaletteLayout::RecordCount | ( | OverworldPaletteKind | kind | ) | const |
Definition at line 159 of file snes_palette.cc.
References yaze::gfx::palette_group_internal::kMain, and proposed_.
Referenced by yaze::gfx::palette_group_internal::LoadOverworldPaletteRecords(), and Resolve().
| absl::StatusOr< ResolvedPaletteRecord > yaze::gfx::palette_group_internal::OverworldPaletteLayout::Resolve | ( | OverworldPaletteKind | kind, |
| int | selector, | ||
| size_t | normalized_rom_size ) const |
Definition at line 168 of file snes_palette.cc.
References yaze::PcToSnes(), RecordCount(), and yaze::gfx::palette_group_internal::ResolvePaletteRecord().
Referenced by yaze::gfx::palette_group_internal::LoadOverworldPaletteRecords().

|
private |
Definition at line 60 of file snes_palette_layout.h.
Referenced by RecordCount().