yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
draw_routine_types.cc File Reference
Include dependency graph for draw_routine_types.cc:

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::zelda3
 Zelda 3 specific classes and functions.
 
namespace  yaze::zelda3::DrawRoutineUtils
 Utility functions for tile writing used by all routines.
 

Functions

void yaze::zelda3::DrawRoutineUtils::WriteTile8 (gfx::BackgroundBuffer &bg, int tile_x, int tile_y, const gfx::TileInfo &tile_info)
 Write an 8x8 tile to the background buffer.
 
void yaze::zelda3::DrawRoutineUtils::DrawBlock2x2 (gfx::BackgroundBuffer &bg, int tile_x, int tile_y, std::span< const gfx::TileInfo > tiles, int offset=0)
 Draw a 2x2 block of tiles (16x16 pixels)
 
void yaze::zelda3::DrawRoutineUtils::DrawBlock2x4 (gfx::BackgroundBuffer &bg, int tile_x, int tile_y, std::span< const gfx::TileInfo > tiles, int offset=0)
 Draw a 2x4 block of tiles (16x32 pixels)
 
void yaze::zelda3::DrawRoutineUtils::DrawBlock4x2 (gfx::BackgroundBuffer &bg, int tile_x, int tile_y, std::span< const gfx::TileInfo > tiles, int offset=0)
 Draw a 4x2 block of tiles (32x16 pixels)
 
void yaze::zelda3::DrawRoutineUtils::DrawBlock4x4 (gfx::BackgroundBuffer &bg, int tile_x, int tile_y, std::span< const gfx::TileInfo > tiles, int offset=0)
 Draw a 4x4 block of tiles (32x32 pixels)