mirror of
https://github.com/pret/pmd-red.git
synced 2024-11-27 15:00:33 +00:00
23 lines
547 B
C
23 lines
547 B
C
#ifndef GUARD_BG_H
|
|
#define GUARD_BG_H
|
|
|
|
struct BGControlStruct
|
|
{
|
|
u16 padding;
|
|
u16 unk2;
|
|
s16 hofs;
|
|
s16 vofs;
|
|
};
|
|
|
|
void SetBG0RegOffsets(s32 xoffset, s32 yoffset);
|
|
void SetBG1RegOffsets(s32 xoffset, s32 yoffset);
|
|
void SetBG2RegOffsets(s32 xoffset, s32 yoffset);
|
|
void SetBG3RegOffsets(s32 xoffset, s32 yoffset);
|
|
void SetBGRegOffsets(s32 reg, u32 xoffset, s32 yoffset);
|
|
void SetBGRegXOffset(s32 reg, s32 offset);
|
|
void SetBGRegYOffset(s32 reg, s32 offset);
|
|
void UpdateBGControlRegisters(void);
|
|
void SetBGOBJEnableFlags(u32 mask);
|
|
|
|
#endif
|