Contains classes for handling graphical data. More...
Namespaces | |
namespace | anonymous_namespace{bitmap.cc} |
namespace | lc_lz2 |
Contains the LC_LZ2 compression algorithm. | |
namespace | palette_group_internal |
Internal functions for loading palettes by group. | |
namespace | scad_format |
Loading from prototype SCAD format. | |
Classes | |
class | Bitmap |
Represents a bitmap image. More... | |
class | OamTile |
Object Attribute Memory tile abstraction container. More... | |
struct | PaletteGroup |
Represents a group of palettes. More... | |
struct | PaletteGroupMap |
Represents a mapping of palette groups. More... | |
struct | Paletteset |
Represents a set of palettes used in a SNES graphics system. More... | |
class | SnesColor |
SNES Color container. More... | |
class | SnesPalette |
Represents a palette of colors for the Super Nintendo Entertainment System (SNES). More... | |
class | Tile16 |
Tile composition of four 8x8 tiles. More... | |
class | Tile32 |
Tile composition of four 16x16 tiles. More... | |
struct | tile8 |
class | TileInfo |
SNES 16-bit tile metadata container. More... | |
class | Tilesheet |
Represents a tilesheet, which is a collection of tiles stored in a bitmap. More... | |
Typedefs | |
using | BitmapTable = std::unordered_map<int, gfx::Bitmap> |
using | tile8 = struct tile8 |
Enumerations | |
enum | BitmapFormat { kIndexed = 0 , k2bpp = 1 , k4bpp = 2 , k8bpp = 3 } |
enum | PaletteCategory { kSword , kShield , kClothes , kWorldColors , kAreaColors , kGlobalSprites , kSpritesAux1 , kSpritesAux2 , kSpritesAux3 , kDungeons , kWorldMap , kDungeonMap , kTriforce , kCrystal } |
enum class | TileType { Tile8 , Tile16 } |
Functions | |
snes_color | ConvertSNEStoRGB (uint16_t color_snes) |
uint16_t | ConvertRGBtoSNES (const snes_color &color) |
uint16_t | ConvertRGBtoSNES (const ImVec4 &color) |
SnesColor | ReadColorFromRom (int offset, const uint8_t *rom) |
std::vector< snes_color > | Extract (const char *data, unsigned int offset, unsigned int palette_size) |
std::vector< char > | Convert (const std::vector< snes_color > &palette) |
SnesColor | GetCgxColor (uint16_t color) |
std::vector< SnesColor > | GetColFileData (uint8_t *data) |
uint32_t | GetPaletteAddress (const std::string &group_name, size_t palette_index, size_t color_index) |
SnesPalette | ReadPaletteFromRom (int offset, int num_colors, const uint8_t *rom) |
std::array< float, 4 > | ToFloatArray (const SnesColor &color) |
absl::StatusOr< PaletteGroup > | CreatePaletteGroupFromColFile (std::vector< SnesColor > &palette_rows) |
absl::StatusOr< PaletteGroup > | CreatePaletteGroupFromLargePalette (SnesPalette &palette, int num_colors=8) |
Take a SNESPalette, divide it into palettes of 8 colors. | |
absl::Status | LoadAllPalettes (const std::vector< uint8_t > &rom_data, PaletteGroupMap &groups) |
Loads all the palettes for the game. | |
tile8 | UnpackBppTile (const std::vector< uint8_t > &data, const uint32_t offset, const uint32_t bpp) |
std::vector< uint8_t > | PackBppTile (const tile8 &tile, const uint32_t bpp) |
std::vector< uint8_t > | ConvertBpp (const std::vector< uint8_t > &tiles, uint32_t from_bpp, uint32_t to_bpp) |
std::vector< uint8_t > | Convert3bppTo4bpp (const std::vector< uint8_t > &tiles) |
std::vector< uint8_t > | Convert4bppTo3bpp (const std::vector< uint8_t > &tiles) |
std::vector< uint8_t > | SnesTo8bppSheet (const std::vector< uint8_t > &sheet, int bpp) |
std::vector< uint8_t > | Bpp8SnesToIndexed (std::vector< uint8_t > data, uint64_t bpp) |
uint16_t | TileInfoToWord (TileInfo tile_info) |
TileInfo | WordToTileInfo (uint16_t word) |
uint16_t | TileInfoToShort (TileInfo tile_info) |
TileInfo | GetTilesInfo (uint16_t tile) |
absl::StatusOr< Tilesheet > | CreateTilesheetFromGraphicsBuffer (const uint8_t *graphics_buffer, int width, int height, TileType tile_type, int sheet_id) |
Variables | |
constexpr Uint32 | SNES_PIXELFORMAT_INDEXED |
constexpr Uint32 | SNES_PIXELFORMAT_2BPP |
constexpr Uint32 | SNES_PIXELFORMAT_4BPP |
constexpr Uint32 | SNES_PIXELFORMAT_8BPP |
constexpr uint16_t | SNES_RED_MASK = 32 |
constexpr uint16_t | SNES_GREEN_MASK = 32 |
constexpr uint16_t | SNES_BLUE_MASK = 32 |
constexpr uint16_t | SNES_GREEN_SHIFT = 32 |
constexpr uint16_t | SNES_BLUE_SHIFT = 1024 |
constexpr int | NumberOfColors = 3143 |
constexpr uint8_t | kColorByteMax = 255 |
constexpr float | kColorByteMaxF = 255.f |
const absl::flat_hash_map< std::string, uint32_t > | kPaletteGroupAddressMap |
const absl::flat_hash_map< std::string, uint32_t > | kPaletteGroupColorCounts |
constexpr int | kNumPalettes = 14 |
constexpr const char * | kPaletteGroupAddressesKeys [] |
constexpr int | kOverworldPaletteMain = 0xDE6C8 |
constexpr int | kOverworldPaletteAux = 0xDE86C |
constexpr int | kOverworldPaletteAnimated = 0xDE604 |
constexpr int | kGlobalSpritesLW = 0xDD218 |
constexpr int | kGlobalSpritePalettesDW = 0xDD290 |
constexpr int | kArmorPalettes |
constexpr int | kSpritesPalettesAux1 = 0xDD39E |
constexpr int | kSpritesPalettesAux2 = 0xDD446 |
constexpr int | kSpritesPalettesAux3 = 0xDD4E0 |
constexpr int | kSwordPalettes = 0xDD630 |
constexpr int | kShieldPalettes = 0xDD648 |
constexpr int | kHudPalettes = 0xDD660 |
constexpr int | kDungeonMapPalettes = 0xDD70A |
constexpr int | kDungeonMainPalettes |
constexpr int | kDungeonMapBgPalettes = 0xDE544 |
constexpr int | kHardcodedGrassLW = 0x5FEA9 |
constexpr int | kHardcodedGrassDW = 0x05FEB3 |
constexpr int | kHardcodedGrassSpecial = 0x75640 |
constexpr int | kOverworldMiniMapPalettes = 0x55B27 |
constexpr int | kTriforcePalette = 0x64425 |
constexpr int | kCrystalPalette = 0xF4CD3 |
constexpr int | CustomAreaSpecificBGPalette |
constexpr int | CustomAreaSpecificBGASM = 0x140150 |
constexpr int | kCustomAreaSpecificBGEnabled = 0x140140 |
constexpr ushort | TilePriorityBit = 0x2000 |
constexpr ushort | TileHFlipBit = 0x4000 |
constexpr ushort | TileVFlipBit = 0x8000 |
constexpr ushort | TileNameMask = 0x03FF |
constexpr int | kTilesheetWidth = 128 |
constexpr int | kTilesheetHeight = 32 |
constexpr int | kTilesheetDepth = 8 |
constexpr uint8_t | kGraphicsBitmap [8] |
Contains classes for handling graphical data.
using yaze::app::gfx::BitmapTable = std::unordered_map<int, gfx::Bitmap> |
using yaze::app::gfx::tile8 = struct tile8 |
Definition at line 31 of file snes_tile.h.
Enumerator | |
---|---|
kSword | |
kShield | |
kClothes | |
kWorldColors | |
kAreaColors | |
kGlobalSprites | |
kSpritesAux1 | |
kSpritesAux2 | |
kSpritesAux3 | |
kDungeons | |
kWorldMap | |
kDungeonMap | |
kTriforce | |
kCrystal |
Definition at line 25 of file snes_palette.h.
|
strong |
Enumerator | |
---|---|
Tile8 | |
Tile16 |
Definition at line 16 of file tilesheet.h.
snes_color yaze::app::gfx::ConvertSNEStoRGB | ( | uint16_t | color_snes | ) |
Definition at line 20 of file snes_color.cc.
References snes_color::blue, snes_color::green, snes_color::red, SNES_BLUE_MASK, SNES_BLUE_SHIFT, SNES_GREEN_MASK, and SNES_RED_MASK.
Referenced by Extract(), yaze::app::gfx::SnesColor::set_snes(), yaze::app::gfx::SnesColor::SnesColor(), yaze::app::gfx::SnesPalette::SnesPalette(), and yaze::app::gfx::SnesPalette::SnesPalette().
uint16_t yaze::app::gfx::ConvertRGBtoSNES | ( | const snes_color & | color | ) |
Definition at line 34 of file snes_color.cc.
References snes_color::blue, snes_color::green, snes_color::red, SNES_BLUE_SHIFT, and SNES_GREEN_SHIFT.
Referenced by Convert(), ConvertRGBtoSNES(), yaze::app::editor::PaletteEditor::HandleColorPopup(), ReadPaletteFromRom(), yaze::app::gfx::SnesColor::set_rgb(), yaze::app::gfx::SnesColor::SnesColor(), yaze::app::gfx::SnesColor::SnesColor(), yaze::app::gui::SnesColorEdit4(), and yaze::app::gfx::SnesPalette::SnesPalette().
uint16_t yaze::app::gfx::ConvertRGBtoSNES | ( | const ImVec4 & | color | ) |
Definition at line 41 of file snes_color.cc.
References snes_color::blue, ConvertRGBtoSNES(), snes_color::green, kColorByteMax, and snes_color::red.
SnesColor yaze::app::gfx::ReadColorFromRom | ( | int | offset, |
const uint8_t * | rom ) |
Definition at line 49 of file snes_color.cc.
References snes_color::blue, snes_color::green, and snes_color::red.
Referenced by yaze::app::gfx::palette_group_internal::LoadGrassColors().
std::vector< snes_color > yaze::app::gfx::Extract | ( | const char * | data, |
unsigned int | offset, | ||
unsigned int | palette_size ) |
Definition at line 59 of file snes_color.cc.
References ConvertSNEStoRGB().
std::vector< char > yaze::app::gfx::Convert | ( | const std::vector< snes_color > & | palette | ) |
Definition at line 70 of file snes_color.cc.
References ConvertRGBtoSNES().
Referenced by yaze::test::gfx::TEST().
SnesColor yaze::app::gfx::GetCgxColor | ( | uint16_t | color | ) |
Definition at line 80 of file snes_color.cc.
References yaze::app::gfx::SnesColor::set_rgb().
Referenced by GetColFileData().
std::vector< SnesColor > yaze::app::gfx::GetColFileData | ( | uint8_t * | data | ) |
Definition at line 90 of file snes_color.cc.
References GetCgxColor().
Referenced by yaze::app::editor::GraphicsEditor::DrawPaletteControls().
uint32_t yaze::app::gfx::GetPaletteAddress | ( | const std::string & | group_name, |
size_t | palette_index, | ||
size_t | color_index ) |
Definition at line 208 of file snes_palette.cc.
References kPaletteGroupAddressMap, and kPaletteGroupColorCounts.
Referenced by yaze::app::Rom::SavePalette().
SnesPalette yaze::app::gfx::ReadPaletteFromRom | ( | int | offset, |
int | num_colors, | ||
const uint8_t * | rom ) |
Definition at line 269 of file snes_palette.cc.
References snes_color::blue, ConvertRGBtoSNES(), snes_color::green, and snes_color::red.
Referenced by yaze::app::gfx::palette_group_internal::Load3DObjectPalettes(), yaze::app::gfx::palette_group_internal::LoadArmorPalettes(), yaze::app::gfx::palette_group_internal::LoadDungeonMainPalettes(), yaze::app::gfx::palette_group_internal::LoadGlobalSpritePalettes(), yaze::app::gfx::palette_group_internal::LoadHUDPalettes(), yaze::app::gfx::palette_group_internal::LoadOverworldAnimatedPalettes(), yaze::app::gfx::palette_group_internal::LoadOverworldAuxiliaryPalettes(), yaze::app::gfx::palette_group_internal::LoadOverworldMainPalettes(), yaze::app::gfx::palette_group_internal::LoadOverworldMiniMapPalettes(), yaze::app::gfx::palette_group_internal::LoadShieldPalettes(), yaze::app::gfx::palette_group_internal::LoadSpriteAux1Palettes(), yaze::app::gfx::palette_group_internal::LoadSpriteAux2Palettes(), yaze::app::gfx::palette_group_internal::LoadSpriteAux3Palettes(), and yaze::app::gfx::palette_group_internal::LoadSwordPalettes().
std::array< float, 4 > yaze::app::gfx::ToFloatArray | ( | const SnesColor & | color | ) |
Definition at line 290 of file snes_palette.cc.
References yaze::app::gfx::SnesColor::rgb().
Referenced by yaze::app::editor::PaletteEditor::HandleColorPopup().
absl::StatusOr< PaletteGroup > yaze::app::gfx::CreatePaletteGroupFromColFile | ( | std::vector< SnesColor > & | palette_rows | ) |
Definition at line 299 of file snes_palette.cc.
References yaze::app::gfx::SnesPalette::AddColor(), and yaze::app::gfx::PaletteGroup::AddPalette().
Referenced by yaze::app::editor::GraphicsEditor::DrawPaletteControls().
absl::StatusOr< PaletteGroup > yaze::app::gfx::CreatePaletteGroupFromLargePalette | ( | SnesPalette & | palette, |
int | num_colors ) |
Take a SNESPalette, divide it into palettes of 8 colors.
Definition at line 312 of file snes_palette.cc.
References yaze::app::gfx::SnesPalette::AddColor(), yaze::app::gfx::PaletteGroup::AddPalette(), and yaze::app::gfx::SnesPalette::size().
Referenced by yaze::app::editor::DungeonEditor::Initialize().
absl::Status yaze::app::gfx::LoadAllPalettes | ( | const std::vector< uint8_t > & | rom_data, |
PaletteGroupMap & | groups ) |
Loads all the palettes for the game.
This function loads all the palettes for the game, including overworld, HUD, armor, swords, shields, sprites, dungeon, grass, and 3D object palettes. It also adds the loaded palettes to their respective palette groups.
Definition at line 330 of file snes_palette.cc.
References yaze::app::gfx::palette_group_internal::Load3DObjectPalettes(), yaze::app::gfx::palette_group_internal::LoadArmorPalettes(), yaze::app::gfx::palette_group_internal::LoadDungeonMainPalettes(), yaze::app::gfx::palette_group_internal::LoadGlobalSpritePalettes(), yaze::app::gfx::palette_group_internal::LoadGrassColors(), yaze::app::gfx::palette_group_internal::LoadHUDPalettes(), yaze::app::gfx::palette_group_internal::LoadOverworldAnimatedPalettes(), yaze::app::gfx::palette_group_internal::LoadOverworldAuxiliaryPalettes(), yaze::app::gfx::palette_group_internal::LoadOverworldMainPalettes(), yaze::app::gfx::palette_group_internal::LoadOverworldMiniMapPalettes(), yaze::app::gfx::palette_group_internal::LoadShieldPalettes(), yaze::app::gfx::palette_group_internal::LoadSpriteAux1Palettes(), yaze::app::gfx::palette_group_internal::LoadSpriteAux2Palettes(), yaze::app::gfx::palette_group_internal::LoadSpriteAux3Palettes(), yaze::app::gfx::palette_group_internal::LoadSwordPalettes(), and RETURN_IF_ERROR.
Referenced by yaze::app::Rom::LoadZelda3().
tile8 yaze::app::gfx::UnpackBppTile | ( | const std::vector< uint8_t > & | data, |
const uint32_t | offset, | ||
const uint32_t | bpp ) |
Definition at line 26 of file snes_tile.cc.
References yaze::app::gfx::tile8::data.
Referenced by ConvertBpp().
std::vector< uint8_t > yaze::app::gfx::PackBppTile | ( | const tile8 & | tile, |
const uint32_t | bpp ) |
Definition at line 83 of file snes_tile.cc.
References yaze::app::gfx::tile8::data.
Referenced by ConvertBpp().
std::vector< uint8_t > yaze::app::gfx::ConvertBpp | ( | const std::vector< uint8_t > & | tiles, |
uint32_t | from_bpp, | ||
uint32_t | to_bpp ) |
Definition at line 130 of file snes_tile.cc.
References PackBppTile(), and UnpackBppTile().
Referenced by Convert3bppTo4bpp(), and Convert4bppTo3bpp().
std::vector< uint8_t > yaze::app::gfx::Convert3bppTo4bpp | ( | const std::vector< uint8_t > & | tiles | ) |
Definition at line 144 of file snes_tile.cc.
References ConvertBpp().
std::vector< uint8_t > yaze::app::gfx::Convert4bppTo3bpp | ( | const std::vector< uint8_t > & | tiles | ) |
Definition at line 148 of file snes_tile.cc.
References ConvertBpp().
std::vector< uint8_t > yaze::app::gfx::SnesTo8bppSheet | ( | const std::vector< uint8_t > & | sheet, |
int | bpp ) |
Definition at line 152 of file snes_tile.cc.
References kGraphicsBitmap.
Referenced by yaze::app::editor::GraphicsEditor::DecompressImportData(), yaze::app::editor::GraphicsEditor::DecompressSuperDonkey(), yaze::app::editor::MessageEditor::Initialize(), yaze::app::Rom::Load2BppGraphics(), yaze::app::Rom::LoadAllGraphicsData(), and yaze::app::Rom::LoadLinkGraphics().
std::vector< uint8_t > yaze::app::gfx::Bpp8SnesToIndexed | ( | std::vector< uint8_t > | data, |
uint64_t | bpp ) |
Definition at line 205 of file snes_tile.cc.
Referenced by yaze::app::gfx::scad_format::LoadCgx().
uint16_t yaze::app::gfx::TileInfoToWord | ( | TileInfo | tile_info | ) |
Definition at line 307 of file snes_tile.cc.
References yaze::app::gfx::TileInfo::horizontal_mirror_, yaze::app::gfx::TileInfo::id_, yaze::app::gfx::TileInfo::over_, yaze::app::gfx::TileInfo::palette_, and yaze::app::gfx::TileInfo::vertical_mirror_.
Referenced by yaze::app::Rom::WriteTile16().
TileInfo yaze::app::gfx::WordToTileInfo | ( | uint16_t | word | ) |
Definition at line 324 of file snes_tile.cc.
Referenced by yaze::app::editor::ScreenEditor::LoadDungeonMapTile16(), and yaze::app::Rom::ReadTile16().
uint16_t yaze::app::gfx::TileInfoToShort | ( | TileInfo | tile_info | ) |
Definition at line 339 of file snes_tile.cc.
References yaze::app::gfx::TileInfo::horizontal_mirror_, yaze::app::gfx::TileInfo::id_, yaze::app::gfx::TileInfo::over_, yaze::app::gfx::TileInfo::palette_, TileHFlipBit, TileNameMask, TilePriorityBit, TileVFlipBit, and yaze::app::gfx::TileInfo::vertical_mirror_.
Referenced by yaze::app::gfx::scad_format::LoadScr().
TileInfo yaze::app::gfx::GetTilesInfo | ( | uint16_t | tile | ) |
Definition at line 370 of file snes_tile.cc.
References TileHFlipBit, TileNameMask, TilePriorityBit, and TileVFlipBit.
Referenced by yaze::app::zelda3::overworld::Overworld::AssembleMap16Tiles(), yaze::app::zelda3::screen::Inventory::Create(), yaze::app::gfx::scad_format::DrawScrWithCgx(), and yaze::app::gfx::scad_format::LoadScr().
absl::StatusOr< Tilesheet > yaze::app::gfx::CreateTilesheetFromGraphicsBuffer | ( | const uint8_t * | graphics_buffer, |
int | width, | ||
int | height, | ||
TileType | tile_type, | ||
int | sheet_id ) |
Definition at line 15 of file tilesheet.cc.
References yaze::app::gfx::Tilesheet::Init(), and yaze::app::gfx::Tilesheet::mutable_bitmap().
|
constexpr |
|
constexpr |
Definition at line 30 of file bitmap.h.
Referenced by yaze::app::gfx::anonymous_namespace{bitmap.cc}::GetSnesPixelFormat().
|
constexpr |
Definition at line 34 of file bitmap.h.
Referenced by yaze::app::gfx::anonymous_namespace{bitmap.cc}::GetSnesPixelFormat().
|
constexpr |
Definition at line 38 of file bitmap.h.
Referenced by yaze::app::gfx::anonymous_namespace{bitmap.cc}::GetSnesPixelFormat().
|
constexpr |
Definition at line 13 of file snes_color.cc.
Referenced by ConvertSNEStoRGB().
|
constexpr |
Definition at line 14 of file snes_color.cc.
Referenced by ConvertSNEStoRGB().
|
constexpr |
Definition at line 15 of file snes_color.cc.
Referenced by ConvertSNEStoRGB().
|
constexpr |
Definition at line 17 of file snes_color.cc.
Referenced by ConvertRGBtoSNES().
|
constexpr |
Definition at line 18 of file snes_color.cc.
Referenced by ConvertRGBtoSNES(), and ConvertSNEStoRGB().
|
constexpr |
Definition at line 14 of file snes_color.h.
|
constexpr |
Definition at line 25 of file snes_color.h.
Referenced by ConvertRGBtoSNES(), yaze::app::gfx::SnesColor::set_rgb(), and yaze::app::gfx::SnesColor::SnesColor().
|
constexpr |
Definition at line 26 of file snes_color.h.
Referenced by yaze::app::gfx::SnesColor::SnesColor().
const absl::flat_hash_map<std::string, uint32_t> yaze::app::gfx::kPaletteGroupAddressMap |
Definition at line 182 of file snes_palette.cc.
Referenced by GetPaletteAddress().
const absl::flat_hash_map<std::string, uint32_t> yaze::app::gfx::kPaletteGroupColorCounts |
Definition at line 200 of file snes_palette.cc.
Referenced by GetPaletteAddress().
|
constexpr |
Definition at line 23 of file snes_palette.h.
Referenced by yaze::app::editor::PaletteEditor::Update().
|
constexpr |
Definition at line 54 of file snes_palette.h.
Referenced by yaze::app::gui::Canvas::DrawContextMenu(), and yaze_get_color_from_paletteset().
|
constexpr |
Definition at line 61 of file snes_palette.h.
Referenced by yaze::app::gfx::palette_group_internal::LoadOverworldMainPalettes().
|
constexpr |
Definition at line 62 of file snes_palette.h.
Referenced by yaze::app::gfx::palette_group_internal::LoadOverworldAuxiliaryPalettes().
|
constexpr |
Definition at line 63 of file snes_palette.h.
Referenced by yaze::app::gfx::palette_group_internal::LoadOverworldAnimatedPalettes().
|
constexpr |
Definition at line 64 of file snes_palette.h.
Referenced by yaze::app::gfx::palette_group_internal::LoadGlobalSpritePalettes().
|
constexpr |
Definition at line 65 of file snes_palette.h.
Referenced by yaze::app::gfx::palette_group_internal::LoadGlobalSpritePalettes().
|
constexpr |
Definition at line 66 of file snes_palette.h.
Referenced by yaze::app::gfx::palette_group_internal::LoadArmorPalettes().
|
constexpr |
< Green, Blue, Red, Bunny, Electrocuted (15 colors each)
Definition at line 68 of file snes_palette.h.
Referenced by yaze::app::gfx::palette_group_internal::LoadSpriteAux1Palettes().
|
constexpr |
Definition at line 69 of file snes_palette.h.
Referenced by yaze::app::gfx::palette_group_internal::LoadSpriteAux2Palettes().
|
constexpr |
Definition at line 70 of file snes_palette.h.
Referenced by yaze::app::gfx::palette_group_internal::LoadSpriteAux3Palettes().
|
constexpr |
Definition at line 71 of file snes_palette.h.
Referenced by yaze::app::gfx::palette_group_internal::LoadSwordPalettes().
|
constexpr |
Definition at line 72 of file snes_palette.h.
Referenced by yaze::app::gfx::palette_group_internal::LoadShieldPalettes().
|
constexpr |
Definition at line 73 of file snes_palette.h.
Referenced by yaze::app::gfx::palette_group_internal::LoadHUDPalettes().
|
constexpr |
Definition at line 74 of file snes_palette.h.
|
constexpr |
Definition at line 75 of file snes_palette.h.
Referenced by yaze::app::gfx::palette_group_internal::LoadDungeonMainPalettes().
|
constexpr |
Definition at line 77 of file snes_palette.h.
|
constexpr |
Definition at line 80 of file snes_palette.h.
Referenced by yaze::app::gfx::palette_group_internal::LoadGrassColors().
|
constexpr |
Definition at line 81 of file snes_palette.h.
Referenced by yaze::app::gfx::palette_group_internal::LoadGrassColors().
|
constexpr |
Definition at line 82 of file snes_palette.h.
Referenced by yaze::app::gfx::palette_group_internal::LoadGrassColors().
|
constexpr |
Definition at line 83 of file snes_palette.h.
Referenced by yaze::app::gfx::palette_group_internal::LoadOverworldMiniMapPalettes().
|
constexpr |
Definition at line 84 of file snes_palette.h.
Referenced by yaze::app::gfx::palette_group_internal::Load3DObjectPalettes().
|
constexpr |
Definition at line 85 of file snes_palette.h.
Referenced by yaze::app::gfx::palette_group_internal::Load3DObjectPalettes().
|
constexpr |
Definition at line 86 of file snes_palette.h.
|
constexpr |
< 2 bytes for each overworld area (320)
Definition at line 89 of file snes_palette.h.
|
constexpr |
Definition at line 92 of file snes_palette.h.
|
constexpr |
Definition at line 15 of file snes_tile.cc.
Referenced by GetTilesInfo(), and TileInfoToShort().
|
constexpr |
Definition at line 18 of file snes_tile.cc.
Referenced by GetTilesInfo(), and TileInfoToShort().
|
constexpr |
Definition at line 21 of file snes_tile.cc.
Referenced by GetTilesInfo(), and TileInfoToShort().
|
constexpr |
Definition at line 24 of file snes_tile.cc.
Referenced by GetTilesInfo(), and TileInfoToShort().
|
constexpr |
Definition at line 14 of file snes_tile.h.
Referenced by yaze::app::editor::GraphicsEditor::DecompressImportData(), yaze::app::editor::GraphicsEditor::DecompressSuperDonkey(), yaze::app::Rom::LoadAllGraphicsData(), and yaze::app::Rom::LoadLinkGraphics().
|
constexpr |
Definition at line 15 of file snes_tile.h.
Referenced by yaze::app::editor::GraphicsEditor::DecompressSuperDonkey(), yaze::app::Rom::LoadAllGraphicsData(), yaze::app::Rom::LoadLinkGraphics(), and yaze::app::editor::GraphicsEditor::UpdateLinkGfxView().
|
constexpr |
Definition at line 16 of file snes_tile.h.
Referenced by yaze::app::editor::GraphicsEditor::DecompressImportData(), yaze::app::editor::GraphicsEditor::DecompressSuperDonkey(), yaze::app::Rom::LoadAllGraphicsData(), and yaze::app::Rom::LoadLinkGraphics().
|
constexpr |
Definition at line 18 of file snes_tile.h.
Referenced by SnesTo8bppSheet().