Port blit from Emerald

This commit is contained in:
PikalaxALT
2019-04-27 12:39:26 -04:00
parent 9e4b16b614
commit 523c53506d
8 changed files with 233 additions and 830 deletions
+1 -3
View File
@@ -2,13 +2,11 @@
#include "window.h"
#include "malloc.h"
#include "bg.h"
#include "blit.h"
EWRAM_DATA static struct Window* sWindowPtr = NULL;
EWRAM_DATA static u16 sWindowSize = 0;
extern void BlitBitmapRect4BitTo8Bit(struct Bitmap *src, struct Bitmap *dest, u16 srcX, u16 srcY, u16 destX, u16 destY, u16 width, u16 height, u8 colorKey, u8 paletteNum);
extern void FillBitmapRect8Bit(struct Bitmap *surface, u16 x, u16 y, u16 width, u16 height, u8 fillValue);
static u8 GetNumActiveWindowsOnBg8Bit(u8 bgId);
static void nullsub_9(void)