yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
downwards_routines.h
Go to the documentation of this file.
1#ifndef YAZE_ZELDA3_DUNGEON_DRAW_ROUTINES_DOWNWARDS_ROUTINES_H
2#define YAZE_ZELDA3_DUNGEON_DRAW_ROUTINES_DOWNWARDS_ROUTINES_H
3
5
6namespace yaze {
7namespace zelda3 {
8namespace draw_routines {
9
19void DrawDownwards2x2_1to15or32(const DrawContext& ctx);
20
30void DrawDownwards4x2_1to15or26(const DrawContext& ctx);
31
40void DrawDownwards4x2_1to16_BothBG(const DrawContext& ctx);
41
51void DrawDownwardsDecor4x2spaced4_1to16(const DrawContext& ctx);
52
61void DrawDownwards2x2_1to16(const DrawContext& ctx);
62
71void DrawDownwardsHasEdge1x1_1to16_plus3(const DrawContext& ctx);
72
81void DrawDownwardsEdge1x1_1to16(const DrawContext& ctx);
82
91void DrawDownwardsLeftCorners2x1_1to16_plus12(const DrawContext& ctx);
92
101void DrawDownwardsRightCorners2x1_1to16_plus12(const DrawContext& ctx);
102
106void DrawDownwardsFloor4x4_1to16(const DrawContext& ctx);
107
111void DrawDownwards1x1Solid_1to16_plus3(const DrawContext& ctx);
112
116void DrawDownwardsDecor4x4spaced2_1to16(const DrawContext& ctx);
117
121void DrawDownwardsPillar2x4spaced2_1to16(const DrawContext& ctx);
122
126void DrawDownwardsDecor3x4spaced4_1to16(const DrawContext& ctx);
127
131void DrawDownwardsDecor2x2spaced12_1to16(const DrawContext& ctx);
132
136void DrawDownwardsLine1x1_1to16plus1(const DrawContext& ctx);
137
141void DrawDownwardsDecor2x4spaced8_1to16(const DrawContext& ctx);
142
146void DrawDownwardsDecor3x4spaced2_1to16(const DrawContext& ctx);
147
151void DrawDownwardsBigRail3x1_1to16plus5(const DrawContext& ctx);
152
156void DrawDownwardsBlock2x2spaced2_1to16(const DrawContext& ctx);
157
161void DrawDownwardsCannonHole3x4_1to16(const DrawContext& ctx);
162
166void DrawDownwardsBar2x5_1to16(const DrawContext& ctx);
167
171void DrawDownwardsPots2x2_1to16(const DrawContext& ctx);
172
176void DrawDownwardsHammerPegs2x2_1to16(const DrawContext& ctx);
177
183void RegisterDownwardsRoutines(std::vector<DrawRoutineInfo>& registry);
184
185} // namespace draw_routines
186} // namespace zelda3
187} // namespace yaze
188
189#endif // YAZE_ZELDA3_DUNGEON_DRAW_ROUTINES_DOWNWARDS_ROUTINES_H
void DrawDownwards1x1Solid_1to16_plus3(const DrawContext &ctx)
Draw downwards 1x1 solid line with +3 extension.
void DrawDownwardsDecor2x4spaced8_1to16(const DrawContext &ctx)
Draw downwards 2x4 decoration with 8-tile spacing.
void DrawDownwards4x2_1to15or26(const DrawContext &ctx)
Draw 4x2 tiles downward pattern (1-15 or 26 iterations)
void DrawDownwardsEdge1x1_1to16(const DrawContext &ctx)
Draw 1x1 edge tiles downward (1-16 iterations)
void DrawDownwardsBar2x5_1to16(const DrawContext &ctx)
Draw downwards 2x5 bar pattern.
void DrawDownwardsDecor2x2spaced12_1to16(const DrawContext &ctx)
Draw downwards 2x2 decoration with 12-tile spacing.
void DrawDownwards2x2_1to15or32(const DrawContext &ctx)
Draw 2x2 tiles downward pattern (1-15 or 32 iterations)
void DrawDownwards2x2_1to16(const DrawContext &ctx)
Draw 2x2 tiles downward pattern (1-16 iterations)
void RegisterDownwardsRoutines(std::vector< DrawRoutineInfo > &registry)
Register all downwards draw routines to the registry.
void DrawDownwardsDecor4x4spaced2_1to16(const DrawContext &ctx)
Draw downwards 4x4 decoration with 2-tile spacing.
void DrawDownwardsHasEdge1x1_1to16_plus3(const DrawContext &ctx)
Draw 1x1 tiles with edge detection +3 downward.
void DrawDownwardsLine1x1_1to16plus1(const DrawContext &ctx)
Draw downwards 1x1 line with +1 extension.
void DrawDownwardsCannonHole3x4_1to16(const DrawContext &ctx)
Draw downwards cannon-hole 3x4 pattern.
void DrawDownwardsLeftCorners2x1_1to16_plus12(const DrawContext &ctx)
Draw left corner 2x1 tiles with +12 offset downward.
void DrawDownwardsPots2x2_1to16(const DrawContext &ctx)
Draw downwards 2x2 pots pattern.
void DrawDownwardsBlock2x2spaced2_1to16(const DrawContext &ctx)
Draw downwards 2x2 block pattern with 2-tile spacing.
void DrawDownwardsBigRail3x1_1to16plus5(const DrawContext &ctx)
Draw downwards big rail pattern (3x1 family, +5 extension)
void DrawDownwardsFloor4x4_1to16(const DrawContext &ctx)
Draw downwards 4x4 floor blocks.
void DrawDownwardsRightCorners2x1_1to16_plus12(const DrawContext &ctx)
Draw right corner 2x1 tiles with +12 offset downward.
void DrawDownwardsHammerPegs2x2_1to16(const DrawContext &ctx)
Draw downwards 2x2 hammer pegs pattern.
void DrawDownwardsDecor4x2spaced4_1to16(const DrawContext &ctx)
Draw 4x2 decoration downward with spacing (1-16 iterations)
void DrawDownwardsPillar2x4spaced2_1to16(const DrawContext &ctx)
Draw downwards 2x4 pillar with 2-tile spacing.
void DrawDownwardsDecor3x4spaced2_1to16(const DrawContext &ctx)
Draw downwards 3x4 decoration with 2-tile spacing.
void DrawDownwardsDecor3x4spaced4_1to16(const DrawContext &ctx)
Draw downwards 3x4 decoration with 4-tile spacing.
void DrawDownwards4x2_1to16_BothBG(const DrawContext &ctx)
Draw 4x2 tiles downward pattern for both BG layers.