2013-04-05 06:13:26 +00:00
|
|
|
#ifndef RDP_H
|
|
|
|
#define RDP_H
|
|
|
|
|
2014-11-22 13:39:10 +00:00
|
|
|
#define MAXCMD 0x100000
|
|
|
|
const unsigned int maxCMDMask = MAXCMD - 1;
|
|
|
|
|
2014-10-07 10:59:54 +00:00
|
|
|
typedef struct
|
|
|
|
{
|
2022-01-16 17:27:17 +00:00
|
|
|
word w0, w1, w2, w3;
|
|
|
|
word cmd_ptr;
|
|
|
|
word cmd_cur;
|
|
|
|
word cmd_data[MAXCMD + 32];
|
2014-10-07 10:59:54 +00:00
|
|
|
} RDPInfo;
|
|
|
|
|
|
|
|
extern RDPInfo RDP;
|
|
|
|
|
2013-04-05 06:13:26 +00:00
|
|
|
void RDP_Init();
|
2014-10-07 10:59:54 +00:00
|
|
|
void RDP_Half_1(u32 _c);
|
2022-01-16 17:27:17 +00:00
|
|
|
void RDP_TexRect(const Gwords words);
|
2014-10-07 10:59:54 +00:00
|
|
|
void RDP_ProcessRDPList();
|
2015-06-14 16:57:53 +00:00
|
|
|
void RDP_RepeatLastLoadBlock();
|
2022-01-16 17:27:17 +00:00
|
|
|
void RDP_SetScissor(const Gwords words);
|
|
|
|
void RDP_SetTImg(const Gwords words);
|
|
|
|
void RDP_LoadBlock(const Gwords words);
|
|
|
|
void RDP_SetTile(const Gwords words);
|
|
|
|
void RDP_SetTileSize(const Gwords words);
|
2013-04-05 06:13:26 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|