aboutsummaryrefslogtreecommitdiffstats
path: root/src/renderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer.h')
-rw-r--r--src/renderer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/renderer.h b/src/renderer.h
index a240b17..4620c27 100644
--- a/src/renderer.h
+++ b/src/renderer.h
@@ -43,8 +43,10 @@ void draw_filled_rect(size_t x0, size_t y0, size_t x1, size_t y1, u8 clr);
43 43
44// Draw a 8x8 tile starting at the (x, y) position. If the merge parameter is 44// Draw a 8x8 tile starting at the (x, y) position. If the merge parameter is
45// set, colors will be added together instead of replaced. This could lead to 45// set, colors will be added together instead of replaced. This could lead to
46// some merging issues if we are not careful with the chosen colors. 46// some merging issues if we are not careful with the chosen colors. The tile
47void draw_tile(size_t x, size_t y, Tile *tile, bool merge); 47// color will be multiplied by the given clr parameter, which is useful to
48// change the color of flat tiles.
49void draw_tile(size_t x, size_t y, Tile *tile, u8 clr, bool merge);
48 50
49// Fills the framebuffer with color 0. 51// Fills the framebuffer with color 0.
50void clear_screen(void); 52void clear_screen(void);