aboutsummaryrefslogtreecommitdiff
path: root/render.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2023-05-06 10:39:19 +1000
committerquou <quou@disroot.org>2023-05-06 10:39:19 +1000
commit91aef268319a77ee8f5a082ca89264bf2671e212 (patch)
tree7deb9a4a9e928d4b78f7c3398e7d9c97a4649140 /render.h
parent2ab411c4b8855d11d48454a93262e8eae3ba7fc7 (diff)
Map rendering and camera movement.
Diffstat (limited to 'render.h')
-rw-r--r--render.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/render.h b/render.h
index be03f02..fc6fed1 100644
--- a/render.h
+++ b/render.h
@@ -84,4 +84,21 @@ void render_bitmap_col(
Colour colour
);
+void blit(
+ Bitmap* dst,
+ const Bitmap* src,
+ int x,
+ int y,
+ const Rectangle* rect
+);
+
+void blit_col(
+ Bitmap* dst,
+ const Bitmap* src,
+ int x,
+ int y,
+ const Rectangle* rect,
+ Colour colour
+);
+
#endif