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

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::zelda3
 Zelda 3 specific classes and functions.
 
namespace  yaze::zelda3::draw_routines
 

Functions

void yaze::zelda3::draw_routines::DrawChest (const DrawContext &ctx, int chest_index)
 Draw chest object (big or small) with open/closed state support.
 
void yaze::zelda3::draw_routines::DrawNothing (const DrawContext &ctx)
 Draw nothing - represents invisible logic objects or placeholders.
 
void yaze::zelda3::draw_routines::CustomDraw (const DrawContext &ctx)
 Custom draw routine for special objects.
 
void yaze::zelda3::draw_routines::DrawDoorSwitcherer (const DrawContext &ctx)
 Draw door switcher object with state-based graphics.
 
void yaze::zelda3::draw_routines::DrawSomariaLine (const DrawContext &ctx)
 Draw Somaria line in various directions.
 
void yaze::zelda3::draw_routines::DrawWaterFace (const DrawContext &ctx)
 Draw water face pattern (2x2)
 
void yaze::zelda3::draw_routines::DrawLargeCanvasObject (const DrawContext &ctx, int width, int height)
 Draw large canvas object with arbitrary dimensions.
 
void yaze::zelda3::draw_routines::Draw4x4BlocksIn4x4SuperSquare (const DrawContext &ctx)
 Draw 4x4 solid blocks in a super square grid.
 
void yaze::zelda3::draw_routines::Draw3x3FloorIn4x4SuperSquare (const DrawContext &ctx)
 Draw 3x3 floor pattern in super square units.
 
void yaze::zelda3::draw_routines::Draw4x4FloorIn4x4SuperSquare (const DrawContext &ctx)
 Draw 4x4 floor pattern in super square units.
 
void yaze::zelda3::draw_routines::Draw4x4FloorOneIn4x4SuperSquare (const DrawContext &ctx)
 Draw single 4x4 floor pattern variant.
 
void yaze::zelda3::draw_routines::Draw4x4FloorTwoIn4x4SuperSquare (const DrawContext &ctx)
 Draw two 4x4 floor pattern variant.
 
void yaze::zelda3::draw_routines::DrawBigHole4x4_1to16 (const DrawContext &ctx)
 Draw 4x4 big hole pattern.
 
void yaze::zelda3::draw_routines::DrawSpike2x2In4x4SuperSquare (const DrawContext &ctx)
 Draw 2x2 spike pattern in super square units.
 
void yaze::zelda3::draw_routines::DrawTableRock4x4_1to16 (const DrawContext &ctx)
 Draw 4x4 table rock pattern.
 
void yaze::zelda3::draw_routines::DrawWaterOverlay8x8_1to16 (const DrawContext &ctx)
 Draw water overlay 8x8 pattern.
 
void yaze::zelda3::draw_routines::DrawInterRoomFatStairsUp (const DrawContext &ctx)
 Draw inter-room fat stairs going up (Type 2 object 0x12D)
 
void yaze::zelda3::draw_routines::DrawInterRoomFatStairsDownA (const DrawContext &ctx)
 Draw inter-room fat stairs going down A (Type 2 object 0x12E)
 
void yaze::zelda3::draw_routines::DrawInterRoomFatStairsDownB (const DrawContext &ctx)
 Draw inter-room fat stairs going down B (Type 2 object 0x12F)
 
void yaze::zelda3::draw_routines::DrawSpiralStairs (const DrawContext &ctx, bool going_up, bool is_upper)
 Draw spiral stairs (Type 2 objects 0x138-0x13B)
 
void yaze::zelda3::draw_routines::DrawAutoStairs (const DrawContext &ctx)
 Draw auto stairs (Type 2/3 objects 0x130-0x133, 0x21B-0x21D, 0x233)
 
void yaze::zelda3::draw_routines::DrawStraightInterRoomStairs (const DrawContext &ctx)
 Draw straight inter-room stairs (Type 3 objects 0x21E-0x229)
 
void yaze::zelda3::draw_routines::DrawPrisonCell (const DrawContext &ctx)
 Draw prison cell with bars (Type 3 objects 0x20D, 0x217)
 
void yaze::zelda3::draw_routines::DrawBigKeyLock (const DrawContext &ctx)
 Draw big key lock (Type 3 object 0x218)
 
void yaze::zelda3::draw_routines::DrawBombableFloor (const DrawContext &ctx)
 Draw bombable floor (Type 3 object 0x247)
 
void yaze::zelda3::draw_routines::DrawMovingWall (const DrawContext &ctx, bool is_west)
 Draw moving wall (Type 1 objects 0xCD, 0xCE)
 
void yaze::zelda3::draw_routines::DrawEmptyWaterFace (const DrawContext &ctx)
 Draw empty water face (Type 3 object 0x200)
 
void yaze::zelda3::draw_routines::DrawSpittingWaterFace (const DrawContext &ctx)
 Draw spitting water face (Type 3 object 0x201)
 
void yaze::zelda3::draw_routines::DrawDrenchingWaterFace (const DrawContext &ctx)
 Draw drenching water face (Type 3 object 0x202)
 
void yaze::zelda3::draw_routines::DrawClosedChestPlatform (const DrawContext &ctx)
 Draw closed chest platform (Type 1 object 0xC1)
 
void yaze::zelda3::draw_routines::DrawChestPlatformHorizontalWall (const DrawContext &ctx)
 Draw chest platform horizontal wall section.
 
void yaze::zelda3::draw_routines::DrawChestPlatformVerticalWall (const DrawContext &ctx)
 Draw chest platform vertical wall section.
 
void yaze::zelda3::draw_routines::RegisterSpecialRoutines (std::vector< DrawRoutineInfo > &registry)
 Register all special/miscellaneous draw routines to the registry.