yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
corner_routines.h
Go to the documentation of this file.
1#ifndef YAZE_ZELDA3_DUNGEON_DRAW_ROUTINES_CORNER_ROUTINES_H
2#define YAZE_ZELDA3_DUNGEON_DRAW_ROUTINES_CORNER_ROUTINES_H
3
5
6namespace yaze {
7namespace zelda3 {
8namespace draw_routines {
9
10// Note: DrawWaterFace is declared in special_routines.h
11
23void DrawCorner4x4(const DrawContext& ctx);
24
35void Draw4x4Corner_BothBG(const DrawContext& ctx);
36
46void DrawWeirdCornerBottom_BothBG(const DrawContext& ctx);
47
57void DrawWeirdCornerTop_BothBG(const DrawContext& ctx);
58
66void DrawDiagonalCeilingTopLeft(const DrawContext& ctx);
67
71void DrawDiagonalCeilingBottomLeft(const DrawContext& ctx);
72
76void DrawDiagonalCeilingTopRight(const DrawContext& ctx);
77
81void DrawDiagonalCeilingBottomRight(const DrawContext& ctx);
82
88void RegisterCornerRoutines(std::vector<DrawRoutineInfo>& registry);
89
90} // namespace draw_routines
91} // namespace zelda3
92} // namespace yaze
93
94#endif // YAZE_ZELDA3_DUNGEON_DRAW_ROUTINES_CORNER_ROUTINES_H
void DrawWeirdCornerTop_BothBG(const DrawContext &ctx)
Draw a weird corner top pattern for both BG layers.
void DrawDiagonalCeilingTopLeft(const DrawContext &ctx)
Draw diagonal ceiling triangle anchored at top-left.
void RegisterCornerRoutines(std::vector< DrawRoutineInfo > &registry)
Register all corner draw routines to the registry.
void DrawCorner4x4(const DrawContext &ctx)
Draw a 4x4 grid corner pattern.
void DrawWeirdCornerBottom_BothBG(const DrawContext &ctx)
Draw a weird corner bottom pattern for both BG layers.
void DrawDiagonalCeilingBottomLeft(const DrawContext &ctx)
Draw diagonal ceiling triangle anchored at bottom-left.
void DrawDiagonalCeilingTopRight(const DrawContext &ctx)
Draw diagonal ceiling triangle anchored at top-right.
void Draw4x4Corner_BothBG(const DrawContext &ctx)
Draw a 4x4 corner for both BG layers.
void DrawDiagonalCeilingBottomRight(const DrawContext &ctx)
Draw diagonal ceiling triangle anchored at bottom-right.