1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-06-30 08:24:05 +00:00
GLideN64/src/RDP.h

30 lines
576 B
C
Raw Normal View History

#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;
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();
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);
#endif