yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::zelda3::anonymous_namespace{gfx_sheet_png.cc} Namespace Reference

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
 

Function Documentation

◆ BlockOrigin()

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().

Here is the call graph for this function:

◆ ToSheetColor()

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().

Here is the call graph for this function:

◆ LoadRoomWithPalettes()

absl::StatusOr< Room > yaze::zelda3::anonymous_namespace{gfx_sheet_png.cc}::LoadRoomWithPalettes ( Rom & rom,
GameData & data,
int room )

Variable Documentation

◆ kSheetWidth

constexpr int yaze::zelda3::anonymous_namespace{gfx_sheet_png.cc}::kSheetWidth = 128
constexpr

Definition at line 20 of file gfx_sheet_png.cc.

◆ kSheetHeight

constexpr int yaze::zelda3::anonymous_namespace{gfx_sheet_png.cc}::kSheetHeight = 32
constexpr

Definition at line 21 of file gfx_sheet_png.cc.

◆ kBlockSize

constexpr int yaze::zelda3::anonymous_namespace{gfx_sheet_png.cc}::kBlockSize = 16
constexpr

Definition at line 22 of file gfx_sheet_png.cc.

Referenced by BlockOrigin().