diff options
author | StapleButter <thetotalworm@gmail.com> | 2017-02-02 01:18:03 +0100 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2017-02-02 01:18:03 +0100 |
commit | 7e9972e0378ca7a5499d16511f3a3b169d6a62e1 (patch) | |
tree | c77853b6ab7ccb5dd1ba2b914102386faa7899aa /GPU2D.h | |
parent | 6486d0e10d0af2f806676a8957d16350a4780e76 (diff) |
an attempt at shitty extended "tile+rotscale" BGs
Diffstat (limited to 'GPU2D.h')
-rw-r--r-- | GPU2D.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -48,10 +48,18 @@ private: u16 BGXPos[4]; u16 BGYPos[4]; + s32 BGXCenter[2]; + s32 BGYCenter[2]; + s16 BGRotA[2]; + s16 BGRotB[2]; + s16 BGRotC[2]; + s16 BGRotD[2]; + template<u32 bgmode> void DrawScanlineBGMode(u32 line, u32* spritebuf, u16* dst); void DrawScanline_Mode1(u32 line, u16* dst); - void DrawBG_Text_4bpp(u32 line, u16* dst, u32 num); + void DrawBG_Text(u32 line, u16* dst, u32 num); + void DrawBG_Extended(u32 line, u16* dst, u32 bgnum); void InterleaveSprites(u32* buf, u32 prio, u16* dst); void DrawSprites(u32 line, u32* dst); |