yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::app::gfx::PaletteGroupMap Struct Reference

Represents a mapping of palette groups. More...

#include <snes_palette.h>

Collaboration diagram for yaze::app::gfx::PaletteGroupMap:

Public Member Functions

auto get_group (const std::string &group_name)
 
template<typename Func >
absl::Status for_each (Func &&func)
 
void clear ()
 
bool empty ()
 

Public Attributes

PaletteGroup overworld_main
 
PaletteGroup overworld_aux
 
PaletteGroup overworld_animated
 
PaletteGroup hud
 
PaletteGroup global_sprites
 
PaletteGroup armors
 
PaletteGroup swords
 
PaletteGroup shields
 
PaletteGroup sprites_aux1
 
PaletteGroup sprites_aux2
 
PaletteGroup sprites_aux3
 
PaletteGroup dungeon_main
 
PaletteGroup grass
 
PaletteGroup object_3d
 
PaletteGroup overworld_mini_map
 

Detailed Description

Represents a mapping of palette groups.

Originally, this was an actual std::unordered_map but since the palette groups supported never change, it was changed to a struct with a method to get the group by name.

Definition at line 239 of file snes_palette.h.

Member Function Documentation

◆ get_group()

auto yaze::app::gfx::PaletteGroupMap::get_group ( const std::string & group_name)
inline

◆ for_each()

template<typename Func >
absl::Status yaze::app::gfx::PaletteGroupMap::for_each ( Func && func)
inline

◆ clear()

void yaze::app::gfx::PaletteGroupMap::clear ( )
inline

◆ empty()

bool yaze::app::gfx::PaletteGroupMap::empty ( )
inline

Member Data Documentation

◆ overworld_main

PaletteGroup yaze::app::gfx::PaletteGroupMap::overworld_main

◆ overworld_aux

PaletteGroup yaze::app::gfx::PaletteGroupMap::overworld_aux

◆ overworld_animated

PaletteGroup yaze::app::gfx::PaletteGroupMap::overworld_animated

◆ hud

PaletteGroup yaze::app::gfx::PaletteGroupMap::hud

◆ global_sprites

◆ armors

◆ swords

PaletteGroup yaze::app::gfx::PaletteGroupMap::swords

◆ shields

PaletteGroup yaze::app::gfx::PaletteGroupMap::shields

◆ sprites_aux1

PaletteGroup yaze::app::gfx::PaletteGroupMap::sprites_aux1

◆ sprites_aux2

PaletteGroup yaze::app::gfx::PaletteGroupMap::sprites_aux2

◆ sprites_aux3

PaletteGroup yaze::app::gfx::PaletteGroupMap::sprites_aux3

◆ dungeon_main

◆ grass

PaletteGroup yaze::app::gfx::PaletteGroupMap::grass

◆ object_3d

PaletteGroup yaze::app::gfx::PaletteGroupMap::object_3d

◆ overworld_mini_map

PaletteGroup yaze::app::gfx::PaletteGroupMap::overworld_mini_map

The documentation for this struct was generated from the following file: