Internal functions for loading palettes by group. More...
Functions | |
absl::Status | LoadOverworldMainPalettes (const std::vector< uint8_t > &rom_data, gfx::PaletteGroupMap &palette_groups) |
absl::Status | LoadOverworldAuxiliaryPalettes (const std::vector< uint8_t > &rom_data, gfx::PaletteGroupMap &palette_groups) |
absl::Status | LoadOverworldAnimatedPalettes (const std::vector< uint8_t > &rom_data, gfx::PaletteGroupMap &palette_groups) |
absl::Status | LoadHUDPalettes (const std::vector< uint8_t > &rom_data, gfx::PaletteGroupMap &palette_groups) |
absl::Status | LoadGlobalSpritePalettes (const std::vector< uint8_t > &rom_data, gfx::PaletteGroupMap &palette_groups) |
absl::Status | LoadArmorPalettes (const std::vector< uint8_t > &rom_data, gfx::PaletteGroupMap &palette_groups) |
absl::Status | LoadSwordPalettes (const std::vector< uint8_t > &rom_data, gfx::PaletteGroupMap &palette_groups) |
absl::Status | LoadShieldPalettes (const std::vector< uint8_t > &rom_data, gfx::PaletteGroupMap &palette_groups) |
absl::Status | LoadSpriteAux1Palettes (const std::vector< uint8_t > &rom_data, gfx::PaletteGroupMap &palette_groups) |
absl::Status | LoadSpriteAux2Palettes (const std::vector< uint8_t > &rom_data, gfx::PaletteGroupMap &palette_groups) |
absl::Status | LoadSpriteAux3Palettes (const std::vector< uint8_t > &rom_data, gfx::PaletteGroupMap &palette_groups) |
absl::Status | LoadDungeonMainPalettes (const std::vector< uint8_t > &rom_data, gfx::PaletteGroupMap &palette_groups) |
absl::Status | LoadGrassColors (const std::vector< uint8_t > &rom_data, gfx::PaletteGroupMap &palette_groups) |
absl::Status | Load3DObjectPalettes (const std::vector< uint8_t > &rom_data, gfx::PaletteGroupMap &palette_groups) |
absl::Status | LoadOverworldMiniMapPalettes (const std::vector< uint8_t > &rom_data, gfx::PaletteGroupMap &palette_groups) |
Internal functions for loading palettes by group.
absl::Status yaze::app::gfx::palette_group_internal::LoadOverworldMainPalettes | ( | const std::vector< uint8_t > & | rom_data, |
gfx::PaletteGroupMap & | palette_groups ) |
Definition at line 28 of file snes_palette.cc.
References yaze::app::gfx::PaletteGroup::AddPalette(), yaze::app::gfx::kOverworldPaletteMain, yaze::app::gfx::PaletteGroupMap::overworld_main, and yaze::app::gfx::ReadPaletteFromRom().
Referenced by yaze::app::gfx::LoadAllPalettes().
absl::Status yaze::app::gfx::palette_group_internal::LoadOverworldAuxiliaryPalettes | ( | const std::vector< uint8_t > & | rom_data, |
gfx::PaletteGroupMap & | palette_groups ) |
Definition at line 39 of file snes_palette.cc.
References yaze::app::gfx::PaletteGroup::AddPalette(), yaze::app::gfx::kOverworldPaletteAux, yaze::app::gfx::PaletteGroupMap::overworld_aux, and yaze::app::gfx::ReadPaletteFromRom().
Referenced by yaze::app::gfx::LoadAllPalettes().
absl::Status yaze::app::gfx::palette_group_internal::LoadOverworldAnimatedPalettes | ( | const std::vector< uint8_t > & | rom_data, |
gfx::PaletteGroupMap & | palette_groups ) |
Definition at line 51 of file snes_palette.cc.
References yaze::app::gfx::PaletteGroup::AddPalette(), yaze::app::gfx::kOverworldPaletteAnimated, yaze::app::gfx::PaletteGroupMap::overworld_animated, and yaze::app::gfx::ReadPaletteFromRom().
Referenced by yaze::app::gfx::LoadAllPalettes().
absl::Status yaze::app::gfx::palette_group_internal::LoadHUDPalettes | ( | const std::vector< uint8_t > & | rom_data, |
gfx::PaletteGroupMap & | palette_groups ) |
Definition at line 62 of file snes_palette.cc.
References yaze::app::gfx::PaletteGroup::AddPalette(), yaze::app::gfx::PaletteGroupMap::hud, yaze::app::gfx::kHudPalettes, and yaze::app::gfx::ReadPaletteFromRom().
Referenced by yaze::app::gfx::LoadAllPalettes().
absl::Status yaze::app::gfx::palette_group_internal::LoadGlobalSpritePalettes | ( | const std::vector< uint8_t > & | rom_data, |
gfx::PaletteGroupMap & | palette_groups ) |
Definition at line 72 of file snes_palette.cc.
References yaze::app::gfx::PaletteGroup::AddPalette(), yaze::app::gfx::PaletteGroupMap::global_sprites, yaze::app::gfx::kGlobalSpritePalettesDW, yaze::app::gfx::kGlobalSpritesLW, and yaze::app::gfx::ReadPaletteFromRom().
Referenced by yaze::app::gfx::LoadAllPalettes().
absl::Status yaze::app::gfx::palette_group_internal::LoadArmorPalettes | ( | const std::vector< uint8_t > & | rom_data, |
gfx::PaletteGroupMap & | palette_groups ) |
Definition at line 82 of file snes_palette.cc.
References yaze::app::gfx::PaletteGroup::AddPalette(), yaze::app::gfx::PaletteGroupMap::armors, yaze::app::gfx::kArmorPalettes, and yaze::app::gfx::ReadPaletteFromRom().
Referenced by yaze::app::gfx::LoadAllPalettes().
absl::Status yaze::app::gfx::palette_group_internal::LoadSwordPalettes | ( | const std::vector< uint8_t > & | rom_data, |
gfx::PaletteGroupMap & | palette_groups ) |
Definition at line 92 of file snes_palette.cc.
References yaze::app::gfx::PaletteGroup::AddPalette(), yaze::app::gfx::kSwordPalettes, yaze::app::gfx::ReadPaletteFromRom(), and yaze::app::gfx::PaletteGroupMap::swords.
Referenced by yaze::app::gfx::LoadAllPalettes().
absl::Status yaze::app::gfx::palette_group_internal::LoadShieldPalettes | ( | const std::vector< uint8_t > & | rom_data, |
gfx::PaletteGroupMap & | palette_groups ) |
Definition at line 102 of file snes_palette.cc.
References yaze::app::gfx::PaletteGroup::AddPalette(), yaze::app::gfx::kShieldPalettes, yaze::app::gfx::ReadPaletteFromRom(), and yaze::app::gfx::PaletteGroupMap::shields.
Referenced by yaze::app::gfx::LoadAllPalettes().
absl::Status yaze::app::gfx::palette_group_internal::LoadSpriteAux1Palettes | ( | const std::vector< uint8_t > & | rom_data, |
gfx::PaletteGroupMap & | palette_groups ) |
Definition at line 112 of file snes_palette.cc.
References yaze::app::gfx::PaletteGroup::AddPalette(), yaze::app::gfx::kSpritesPalettesAux1, yaze::app::gfx::ReadPaletteFromRom(), and yaze::app::gfx::PaletteGroupMap::sprites_aux1.
Referenced by yaze::app::gfx::LoadAllPalettes().
absl::Status yaze::app::gfx::palette_group_internal::LoadSpriteAux2Palettes | ( | const std::vector< uint8_t > & | rom_data, |
gfx::PaletteGroupMap & | palette_groups ) |
Definition at line 122 of file snes_palette.cc.
References yaze::app::gfx::PaletteGroup::AddPalette(), yaze::app::gfx::kSpritesPalettesAux2, yaze::app::gfx::ReadPaletteFromRom(), and yaze::app::gfx::PaletteGroupMap::sprites_aux2.
Referenced by yaze::app::gfx::LoadAllPalettes().
absl::Status yaze::app::gfx::palette_group_internal::LoadSpriteAux3Palettes | ( | const std::vector< uint8_t > & | rom_data, |
gfx::PaletteGroupMap & | palette_groups ) |
Definition at line 132 of file snes_palette.cc.
References yaze::app::gfx::PaletteGroup::AddPalette(), yaze::app::gfx::kSpritesPalettesAux3, yaze::app::gfx::ReadPaletteFromRom(), and yaze::app::gfx::PaletteGroupMap::sprites_aux3.
Referenced by yaze::app::gfx::LoadAllPalettes().
absl::Status yaze::app::gfx::palette_group_internal::LoadDungeonMainPalettes | ( | const std::vector< uint8_t > & | rom_data, |
gfx::PaletteGroupMap & | palette_groups ) |
Definition at line 142 of file snes_palette.cc.
References yaze::app::gfx::PaletteGroup::AddPalette(), yaze::app::gfx::PaletteGroupMap::dungeon_main, yaze::app::gfx::kDungeonMainPalettes, and yaze::app::gfx::ReadPaletteFromRom().
Referenced by yaze::app::gfx::LoadAllPalettes().
absl::Status yaze::app::gfx::palette_group_internal::LoadGrassColors | ( | const std::vector< uint8_t > & | rom_data, |
gfx::PaletteGroupMap & | palette_groups ) |
Definition at line 152 of file snes_palette.cc.
References yaze::app::gfx::PaletteGroup::AddColor(), yaze::app::gfx::PaletteGroupMap::grass, yaze::app::gfx::kHardcodedGrassDW, yaze::app::gfx::kHardcodedGrassLW, yaze::app::gfx::kHardcodedGrassSpecial, and yaze::app::gfx::ReadColorFromRom().
Referenced by yaze::app::gfx::LoadAllPalettes().
absl::Status yaze::app::gfx::palette_group_internal::Load3DObjectPalettes | ( | const std::vector< uint8_t > & | rom_data, |
gfx::PaletteGroupMap & | palette_groups ) |
Definition at line 163 of file snes_palette.cc.
References yaze::app::gfx::PaletteGroup::AddPalette(), yaze::app::gfx::kCrystalPalette, yaze::app::gfx::kTriforcePalette, yaze::app::gfx::PaletteGroupMap::object_3d, and yaze::app::gfx::ReadPaletteFromRom().
Referenced by yaze::app::gfx::LoadAllPalettes().
absl::Status yaze::app::gfx::palette_group_internal::LoadOverworldMiniMapPalettes | ( | const std::vector< uint8_t > & | rom_data, |
gfx::PaletteGroupMap & | palette_groups ) |
Definition at line 173 of file snes_palette.cc.
References yaze::app::gfx::PaletteGroup::AddPalette(), yaze::app::gfx::kOverworldMiniMapPalettes, yaze::app::gfx::PaletteGroupMap::overworld_mini_map, and yaze::app::gfx::ReadPaletteFromRom().
Referenced by yaze::app::gfx::LoadAllPalettes().