Functions | |
| std::pair< int, int > | BlockOrigin (int block) |
| SheetColor | ToSheetColor (const SDL_Color &color) |
| absl::StatusOr< Room > | LoadRoomWithPalettes (Rom &rom, GameData &data, int room) |
Variables | |
| constexpr int | kSheetWidth = 128 |
| constexpr int | kSheetHeight = 32 |
| constexpr int | kBlockSize = 16 |
| std::pair< int, int > yaze::zelda3::anonymous_namespace{gfx_sheet_png.cc}::BlockOrigin | ( | int | block | ) |
Definition at line 24 of file gfx_sheet_png.cc.
References BlockOrigin(), and kBlockSize.
Referenced by BlockOrigin().

| SheetColor yaze::zelda3::anonymous_namespace{gfx_sheet_png.cc}::ToSheetColor | ( | const SDL_Color & | color | ) |
Definition at line 28 of file gfx_sheet_png.cc.
References ToSheetColor().
Referenced by ToSheetColor().

| absl::StatusOr< Room > yaze::zelda3::anonymous_namespace{gfx_sheet_png.cc}::LoadRoomWithPalettes | ( | Rom & | rom, |
| GameData & | data, | ||
| int | room ) |
Definition at line 32 of file gfx_sheet_png.cc.
References yaze::gfx::PaletteGroupMap::dungeon_main, yaze::zelda3::kNumberOfRooms, yaze::zelda3::LoadRoomHeaderFromRom(), LoadRoomWithPalettes(), yaze::zelda3::GameData::palette_groups, yaze::zelda3::Room::SetGameData(), and yaze::gfx::PaletteGroup::size().
Referenced by LoadRoomWithPalettes().

|
constexpr |
Definition at line 20 of file gfx_sheet_png.cc.
|
constexpr |
Definition at line 21 of file gfx_sheet_png.cc.
|
constexpr |
Definition at line 22 of file gfx_sheet_png.cc.
Referenced by BlockOrigin().