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

Represents a set of palettes used in a SNES graphics system. More...

#include <snes_palette.h>

Collaboration diagram for yaze::app::gfx::Paletteset:

Public Member Functions

 Paletteset ()=default
 Default constructor for Paletteset.
 
 Paletteset (gfx::SnesPalette main, gfx::SnesPalette animated, gfx::SnesPalette aux1, gfx::SnesPalette aux2, gfx::SnesColor background, gfx::SnesPalette hud, gfx::SnesPalette spr, gfx::SnesPalette spr2, gfx::SnesPalette comp)
 Constructor for Paletteset.
 

Public Attributes

gfx::SnesPalette main
 
gfx::SnesPalette animated
 
gfx::SnesPalette aux1
 
gfx::SnesPalette aux2
 
gfx::SnesColor background
 
gfx::SnesPalette hud
 
gfx::SnesPalette spr
 
gfx::SnesPalette spr2
 
gfx::SnesPalette composite
 

Detailed Description

Represents a set of palettes used in a SNES graphics system.

Definition at line 365 of file snes_palette.h.

Constructor & Destructor Documentation

◆ Paletteset() [1/2]

yaze::app::gfx::Paletteset::Paletteset ( )
default

Default constructor for Paletteset.

◆ Paletteset() [2/2]

yaze::app::gfx::Paletteset::Paletteset ( gfx::SnesPalette main,
gfx::SnesPalette animated,
gfx::SnesPalette aux1,
gfx::SnesPalette aux2,
gfx::SnesColor background,
gfx::SnesPalette hud,
gfx::SnesPalette spr,
gfx::SnesPalette spr2,
gfx::SnesPalette comp )
inline

Constructor for Paletteset.

Parameters
mainThe main palette.
animatedThe animated palette.
aux1The first auxiliary palette.
aux2The second auxiliary palette.
backgroundThe background color.
hudThe HUD palette.
sprThe sprite palette.
spr2The second sprite palette.
compThe composite palette.

Definition at line 383 of file snes_palette.h.

Member Data Documentation

◆ main

gfx::SnesPalette yaze::app::gfx::Paletteset::main

The main palette.

Definition at line 397 of file snes_palette.h.

◆ animated

gfx::SnesPalette yaze::app::gfx::Paletteset::animated

The animated palette.

Definition at line 398 of file snes_palette.h.

◆ aux1

gfx::SnesPalette yaze::app::gfx::Paletteset::aux1

The first auxiliary palette.

Definition at line 399 of file snes_palette.h.

◆ aux2

gfx::SnesPalette yaze::app::gfx::Paletteset::aux2

The second auxiliary palette.

Definition at line 400 of file snes_palette.h.

◆ background

gfx::SnesColor yaze::app::gfx::Paletteset::background

The background color.

Definition at line 401 of file snes_palette.h.

◆ hud

gfx::SnesPalette yaze::app::gfx::Paletteset::hud

The HUD palette.

Definition at line 402 of file snes_palette.h.

◆ spr

gfx::SnesPalette yaze::app::gfx::Paletteset::spr

The sprite palette.

Definition at line 403 of file snes_palette.h.

◆ spr2

gfx::SnesPalette yaze::app::gfx::Paletteset::spr2

The second sprite palette.

Definition at line 404 of file snes_palette.h.

◆ composite

gfx::SnesPalette yaze::app::gfx::Paletteset::composite

The composite palette.

Definition at line 405 of file snes_palette.h.


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