summaryrefslogtreecommitdiff
path: root/include/blit.h
diff options
context:
space:
mode:
authorgarak <garakmon@gmail.com>2018-10-19 16:05:14 -0400
committergarak <garakmon@gmail.com>2018-10-19 16:05:14 -0400
commit38fcc46abb36df72512f4b532d1379dab1c13af6 (patch)
treedf44258d7b5a65d2a75a146c7c01b6c683b023f9 /include/blit.h
parent901f3ff55715ec6bdeda5c711e7e73b4c38ab55a (diff)
parent95d8815721321f08714b97c59a97de3a59f1e0c7 (diff)
Merge remote-tracking branch 'upstream/master' into pan-constants
Diffstat (limited to 'include/blit.h')
-rw-r--r--include/blit.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/blit.h b/include/blit.h
index e7f384cc8..2fe99d7bd 100644
--- a/include/blit.h
+++ b/include/blit.h
@@ -1,6 +1,13 @@
#ifndef GUARD_BLIT_H
#define GUARD_BLIT_H
+struct Bitmap
+{
+ u8* pixels;
+ u32 width:16;
+ u32 height:16;
+};
+
void BlitBitmapRect4BitWithoutColorKey(struct Bitmap *src, struct Bitmap *dst, u16 srcX, u16 srcY, u16 dstX, u16 dstY, u16 width, u16 height);
void BlitBitmapRect4Bit(struct Bitmap *src, struct Bitmap *dst, u16 srcX, u16 srcY, u16 dstX, u16 dstY, u16 width, u16 height, u8 colorKey);
void FillBitmapRect4Bit(struct Bitmap *surface, u16 x, u16 y, u16 width, u16 height, u8 fillValue);