yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
diagonal_routines.h
Go to the documentation of this file.
1#ifndef YAZE_ZELDA3_DUNGEON_DRAW_ROUTINES_DIAGONAL_ROUTINES_H
2#define YAZE_ZELDA3_DUNGEON_DRAW_ROUTINES_DIAGONAL_ROUTINES_H
3
5
6namespace yaze {
7namespace zelda3 {
8namespace draw_routines {
9
19void DrawDiagonalAcute_1to16(const DrawContext& ctx);
20
30void DrawDiagonalGrave_1to16(const DrawContext& ctx);
31
40void DrawDiagonalAcute_1to16_BothBG(const DrawContext& ctx);
41
50void DrawDiagonalGrave_1to16_BothBG(const DrawContext& ctx);
51
57void RegisterDiagonalRoutines(std::vector<DrawRoutineInfo>& registry);
58
59} // namespace draw_routines
60} // namespace zelda3
61} // namespace yaze
62
63#endif // YAZE_ZELDA3_DUNGEON_DRAW_ROUTINES_DIAGONAL_ROUTINES_H
void RegisterDiagonalRoutines(std::vector< DrawRoutineInfo > &registry)
Register all diagonal draw routines to the registry.
void DrawDiagonalGrave_1to16_BothBG(const DrawContext &ctx)
Draw diagonal grave () pattern for both BG layers.
void DrawDiagonalAcute_1to16_BothBG(const DrawContext &ctx)
Draw diagonal acute (/) pattern for both BG layers.
void DrawDiagonalAcute_1to16(const DrawContext &ctx)
Draw diagonal acute (/) pattern - draws 5 tiles vertically, moves up-right.
void DrawDiagonalGrave_1to16(const DrawContext &ctx)
Draw diagonal grave () pattern - draws 5 tiles vertically, moves down-right.