Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Data Structures | Macros | Typedefs
gbi_old.h File Reference

Go to the source code of this file.

Data Structures

struct  Vtx_t
 
struct  Vtx_tn
 
union  Vtx
 
struct  Vp_t
 
union  Vp
 
union  Mtx
 
struct  Gwords
 
union  Gfx
 
struct  Light_t
 
struct  Ambient_t
 
union  Ambient
 
union  Light
 
struct  Lights4
 
struct  LookAt
 
struct  Hilite_t
 
union  Hilite
 

Macros

#define GPACK_RGBA5551(r, g, b, a)
 
#define GPACK_ZDZ(z, dz)   ((z) << 2 | (dz))
 
#define G_SPNOOP   0x00
 
#define G_MTX   0x01
 
#define G_MOVEMEM   0x03
 
#define G_VTX   0x04
 
#define G_DL   0x06
 
#define G_LOAD_UCODE   0xAF
 
#define G_BRANCH_Z   0xB0
 
#define G_RDPHALF_CONT   0xB2
 
#define G_RDPHALF_2   0xB3
 
#define G_RDPHALF_1   0xB4
 
#define G_QUAD   0xB5
 
#define G_CLEARGEOMETRYMODE   0xB6
 
#define G_SETGEOMETRYMODE   0xB7
 
#define G_ENDDL   0xB8
 
#define G_TEXTURE   0xBB
 
#define G_MOVEWORD   0xBC
 
#define G_POPMTX   0xBD
 
#define G_CULLDL   0xBE
 
#define G_TRI1   0xBF
 
#define G_NOOP   0xC0
 
#define G_TEXRECT   0xE4
 
#define G_TEXRECTFLIP   0xE5
 
#define G_RDPLOADSYNC   0xE6
 
#define G_RDPPIPESYNC   0xE7
 
#define G_RDPTILESYNC   0xE8
 
#define G_RDPFULLSYNC   0xE9
 
#define G_SETKEYGB   0xEA
 
#define G_SETKEYR   0xEB
 
#define G_SETCONVERT   0xEC
 
#define G_SETSCISSOR   0xED
 
#define G_SETPRIMDEPTH   0xEE
 
#define G_RDPSETOTHERMODE   0xEF
 
#define G_LOADTLUT   0xF0
 
#define G_SETTILESIZE   0xF2
 
#define G_LOADBLOCK   0xF3
 
#define G_LOADTILE   0xF4
 
#define G_SETTILE   0xF5
 
#define G_FILLRECT   0xF6
 
#define G_SETFILLCOLOR   0xF7
 
#define G_SETFOGCOLOR   0xF8
 
#define G_SETBLENDCOLOR   0xF9
 
#define G_SETPRIMCOLOR   0xFA
 
#define G_SETENVCOLOR   0xFB
 
#define G_SETCOMBINE   0xFC
 
#define G_SETTIMG   0xFD
 
#define G_SETZIMG   0xFE
 
#define G_SETCIMG   0xFF
 
#define G_DL_PUSH   0x00
 
#define G_DL_NOPUSH   0x01
 
#define G_MDSFT_ALPHACOMPARE   0
 
#define G_MDSFT_ZSRCSEL   2
 
#define G_MDSFT_RENDERMODE   3
 
#define G_MDSFT_BLENDER   16
 
#define G_MDSFT_ALPHADITHER   4
 
#define G_MDSFT_RGBDITHER   6
 
#define G_MDSFT_COMBKEY   8
 
#define G_MDSFT_TEXTCONV   9
 
#define G_MDSFT_TEXTFILT   12
 
#define G_MDSFT_TEXTLUT   14
 
#define G_MDSFT_TEXTLOD   16
 
#define G_MDSFT_TEXTDETAIL   17
 
#define G_MDSFT_TEXTPERSP   19
 
#define G_MDSFT_CYCLETYPE   20
 
#define G_MDSFT_PIPELINE   23
 
#define G_ZBUFFER   0x00000001
 
#define G_TEXTURE_ENABLE   0x00000002
 
#define G_SHADE   0x00000004
 
#define G_SHADING_SMOOTH   0x00000200
 
#define G_CULL_FRONT   0x00001000
 
#define G_CULL_BACK   0x00002000
 
#define G_CULL_BOTH   0x00003000
 
#define G_FOG   0x00010000
 
#define G_LIGHTING   0x00020000
 
#define G_TEXTURE_GEN   0x00040000
 
#define G_TEXTURE_GEN_LINEAR   0x00080000
 
#define G_LOD   0x00100000
 
#define G_CLIPPING   0x00800000
 
#define G_IM_FMT_RGBA   0
 
#define G_IM_FMT_YUV   1
 
#define G_IM_FMT_CI   2
 
#define G_IM_FMT_IA   3
 
#define G_IM_FMT_I   4
 
#define G_IM_SIZ_4b   0
 
#define G_IM_SIZ_8b   1
 
#define G_IM_SIZ_16b   2
 
#define G_IM_SIZ_32b   3
 
#define G_IM_SIZ_DD   5
 
#define G_AC_NONE   (0 << 0)
 
#define G_AC_THRESHOLD   (1 << 0)
 
#define G_AC_DITHER   (3 << 0)
 
#define G_ZS_PIXEL   (0 << 2)
 
#define G_ZS_PRIM   (1 << 2)
 
#define G_CD_MAGICSQ   (0 << 6)
 
#define G_CD_BAYER   (1 << 6)
 
#define G_CD_NOISE   (2 << 6)
 
#define G_CK_NONE   (0 << 8)
 
#define G_CK_KEY   (1 << 8)
 
#define G_TC_CONV   (0 << 9)
 
#define G_TC_FILTCONV   (5 << 9)
 
#define G_TC_FILT   (6 << 9)
 
#define G_TF_POINT   (0 << 12)
 
#define G_TF_BILERP   (2 << 12)
 
#define G_TF_AVERAGE   (3 << 12)
 
#define G_TT_NONE   (0 << 14)
 
#define G_TT_RGBA16   (2 << 14)
 
#define G_TT_IA16   (3 << 14)
 
#define G_TL_TILE   (0 << 16)
 
#define G_TL_LOD   (1 << 16)
 
#define G_TD_CLAMP   (0 << 17)
 
#define G_TD_SHARPEN   (1 << 17)
 
#define G_TD_DETAIL   (2 << 17)
 
#define G_TP_NONE   (0 << 19)
 
#define G_TP_PERSP   (1 << 19)
 
#define G_CYC_1CYCLE   (0 << 20)
 
#define G_CYC_2CYCLE   (1 << 20)
 
#define G_CYC_COPY   (2 << 20)
 
#define G_CYC_FILL   (3 << 20)
 
#define G_PM_NPRIMITIVE   (0 << 23)
 
#define G_PM_1PRIMITIVE   (1 << 23)
 
#define G_SC_NON_INTERLACE   0
 
#define G_SC_ODD_INTERLACE   3
 
#define G_SC_EVEN_INTERLACE   2
 
#define G_TX_LOADTILE   7
 
#define G_TX_RENDERTILE   0
 
#define G_TX_NOMIRROR   0
 
#define G_TX_WRAP   0
 
#define G_TX_MIRROR   1
 
#define G_TX_CLAMP   2
 
#define G_TX_NOMASK   0
 
#define G_TX_NOLOD   0
 
#define G_TX_LDBLK_MAX_TXL   2047
 
#define G_MV_VIEWPORT   0x80
 
#define G_MV_LOOKATY   0x82
 
#define G_MV_LOOKATX   0x84
 
#define G_MV_L0   0x86
 
#define G_MV_L1   0x88
 
#define G_MV_L2   0x8A
 
#define G_MV_L3   0x8C
 
#define G_MV_L4   0x8E
 
#define G_MV_L5   0x90
 
#define G_MV_L6   0x92
 
#define G_MV_L7   0x94
 
#define G_MV_TXTATT   0x96
 
#define G_MV_MATRIX_1   0x9E
 
#define G_MV_MATRIX_2   0x98
 
#define G_MV_MATRIX_3   0x9A
 
#define G_MV_MATRIX_4   0x9C
 
#define G_SETOTHERMODE_L   0xB9
 
#define G_SETOTHERMODE_H   0xBA
 
#define AA_EN   0x8
 
#define Z_CMP   0x10
 
#define Z_UPD   0x20
 
#define IM_RD   0x40
 
#define CLR_ON_CVG   0x80
 
#define CVG_DST_CLAMP   0
 
#define CVG_DST_WRAP   0x100
 
#define CVG_DST_FULL   0x200
 
#define CVG_DST_SAVE   0x300
 
#define ZMODE_OPA   0
 
#define ZMODE_INTER   0x400
 
#define ZMODE_XLU   0x800
 
#define ZMODE_DEC   0xc00
 
#define CVG_X_ALPHA   0x1000
 
#define ALPHA_CVG_SEL   0x2000
 
#define FORCE_BL   0x4000
 
#define TEX_EDGE   0x0000
 
#define G_BL_CLR_IN   0
 
#define G_BL_CLR_MEM   1
 
#define G_BL_CLR_BL   2
 
#define G_BL_CLR_FOG   3
 
#define G_BL_1MA   0
 
#define G_BL_A_MEM   1
 
#define G_BL_A_IN   0
 
#define G_BL_A_FOG   1
 
#define G_BL_A_SHADE   2
 
#define G_BL_1   2
 
#define G_BL_0   3
 
#define GBL_c1(m1a, m1b, m2a, m2b)   (m1a) << 30 | (m1b) << 26 | (m2a) << 22 | (m2b) << 18
 
#define GBL_c2(m1a, m1b, m2a, m2b)   (m1a) << 28 | (m1b) << 24 | (m2a) << 20 | (m2b) << 16
 
#define RM_AA_ZB_OPA_SURF(clk)
 
#define RM_RA_ZB_OPA_SURF(clk)
 
#define RM_AA_ZB_XLU_SURF(clk)
 
#define RM_AA_ZB_OPA_DECAL(clk)
 
#define RM_RA_ZB_OPA_DECAL(clk)
 
#define RM_AA_ZB_XLU_DECAL(clk)
 
#define RM_AA_ZB_OPA_INTER(clk)
 
#define RM_RA_ZB_OPA_INTER(clk)
 
#define RM_AA_ZB_XLU_INTER(clk)
 
#define RM_AA_ZB_XLU_LINE(clk)
 
#define RM_AA_ZB_DEC_LINE(clk)
 
#define RM_AA_ZB_TEX_EDGE(clk)
 
#define RM_AA_ZB_TEX_INTER(clk)
 
#define RM_AA_ZB_SUB_SURF(clk)
 
#define RM_AA_ZB_PCL_SURF(clk)
 
#define RM_AA_ZB_OPA_TERR(clk)
 
#define RM_AA_ZB_TEX_TERR(clk)
 
#define RM_AA_ZB_SUB_TERR(clk)
 
#define RM_AA_OPA_SURF(clk)
 
#define RM_RA_OPA_SURF(clk)
 
#define RM_AA_XLU_SURF(clk)
 
#define RM_AA_XLU_LINE(clk)
 
#define RM_AA_DEC_LINE(clk)
 
#define RM_AA_TEX_EDGE(clk)
 
#define RM_AA_SUB_SURF(clk)
 
#define RM_AA_PCL_SURF(clk)
 
#define RM_AA_OPA_TERR(clk)
 
#define RM_AA_TEX_TERR(clk)
 
#define RM_AA_SUB_TERR(clk)
 
#define RM_ZB_OPA_SURF(clk)
 
#define RM_ZB_XLU_SURF(clk)
 
#define RM_ZB_OPA_DECAL(clk)
 
#define RM_ZB_XLU_DECAL(clk)
 
#define RM_ZB_CLD_SURF(clk)
 
#define RM_ZB_OVL_SURF(clk)
 
#define RM_ZB_PCL_SURF(clk)
 
#define RM_OPA_SURF(clk)
 
#define RM_XLU_SURF(clk)
 
#define RM_TEX_EDGE(clk)
 
#define RM_CLD_SURF(clk)
 
#define RM_PCL_SURF(clk)
 
#define RM_ADD(clk)
 
#define RM_NOOP(clk)   GBL_c##clk(0, 0, 0, 0)
 
#define RM_VISCVG(clk)
 
#define RM_OPA_CI(clk)
 
#define G_RM_AA_ZB_OPA_SURF   RM_AA_ZB_OPA_SURF(1)
 
#define G_RM_AA_ZB_OPA_SURF2   RM_AA_ZB_OPA_SURF(2)
 
#define G_RM_AA_ZB_XLU_SURF   RM_AA_ZB_XLU_SURF(1)
 
#define G_RM_AA_ZB_XLU_SURF2   RM_AA_ZB_XLU_SURF(2)
 
#define G_RM_AA_ZB_OPA_DECAL   RM_AA_ZB_OPA_DECAL(1)
 
#define G_RM_AA_ZB_OPA_DECAL2   RM_AA_ZB_OPA_DECAL(2)
 
#define G_RM_AA_ZB_XLU_DECAL   RM_AA_ZB_XLU_DECAL(1)
 
#define G_RM_AA_ZB_XLU_DECAL2   RM_AA_ZB_XLU_DECAL(2)
 
#define G_RM_AA_ZB_OPA_INTER   RM_AA_ZB_OPA_INTER(1)
 
#define G_RM_AA_ZB_OPA_INTER2   RM_AA_ZB_OPA_INTER(2)
 
#define G_RM_AA_ZB_XLU_INTER   RM_AA_ZB_XLU_INTER(1)
 
#define G_RM_AA_ZB_XLU_INTER2   RM_AA_ZB_XLU_INTER(2)
 
#define G_RM_AA_ZB_XLU_LINE   RM_AA_ZB_XLU_LINE(1)
 
#define G_RM_AA_ZB_XLU_LINE2   RM_AA_ZB_XLU_LINE(2)
 
#define G_RM_AA_ZB_DEC_LINE   RM_AA_ZB_DEC_LINE(1)
 
#define G_RM_AA_ZB_DEC_LINE2   RM_AA_ZB_DEC_LINE(2)
 
#define G_RM_AA_ZB_TEX_EDGE   RM_AA_ZB_TEX_EDGE(1)
 
#define G_RM_AA_ZB_TEX_EDGE2   RM_AA_ZB_TEX_EDGE(2)
 
#define G_RM_AA_ZB_TEX_INTER   RM_AA_ZB_TEX_INTER(1)
 
#define G_RM_AA_ZB_TEX_INTER2   RM_AA_ZB_TEX_INTER(2)
 
#define G_RM_AA_ZB_SUB_SURF   RM_AA_ZB_SUB_SURF(1)
 
#define G_RM_AA_ZB_SUB_SURF2   RM_AA_ZB_SUB_SURF(2)
 
#define G_RM_AA_ZB_PCL_SURF   RM_AA_ZB_PCL_SURF(1)
 
#define G_RM_AA_ZB_PCL_SURF2   RM_AA_ZB_PCL_SURF(2)
 
#define G_RM_AA_ZB_OPA_TERR   RM_AA_ZB_OPA_TERR(1)
 
#define G_RM_AA_ZB_OPA_TERR2   RM_AA_ZB_OPA_TERR(2)
 
#define G_RM_AA_ZB_TEX_TERR   RM_AA_ZB_TEX_TERR(1)
 
#define G_RM_AA_ZB_TEX_TERR2   RM_AA_ZB_TEX_TERR(2)
 
#define G_RM_AA_ZB_SUB_TERR   RM_AA_ZB_SUB_TERR(1)
 
#define G_RM_AA_ZB_SUB_TERR2   RM_AA_ZB_SUB_TERR(2)
 
#define G_RM_RA_ZB_OPA_SURF   RM_RA_ZB_OPA_SURF(1)
 
#define G_RM_RA_ZB_OPA_SURF2   RM_RA_ZB_OPA_SURF(2)
 
#define G_RM_RA_ZB_OPA_DECAL   RM_RA_ZB_OPA_DECAL(1)
 
#define G_RM_RA_ZB_OPA_DECAL2   RM_RA_ZB_OPA_DECAL(2)
 
#define G_RM_RA_ZB_OPA_INTER   RM_RA_ZB_OPA_INTER(1)
 
#define G_RM_RA_ZB_OPA_INTER2   RM_RA_ZB_OPA_INTER(2)
 
#define G_RM_AA_OPA_SURF   RM_AA_OPA_SURF(1)
 
#define G_RM_AA_OPA_SURF2   RM_AA_OPA_SURF(2)
 
#define G_RM_AA_XLU_SURF   RM_AA_XLU_SURF(1)
 
#define G_RM_AA_XLU_SURF2   RM_AA_XLU_SURF(2)
 
#define G_RM_AA_XLU_LINE   RM_AA_XLU_LINE(1)
 
#define G_RM_AA_XLU_LINE2   RM_AA_XLU_LINE(2)
 
#define G_RM_AA_DEC_LINE   RM_AA_DEC_LINE(1)
 
#define G_RM_AA_DEC_LINE2   RM_AA_DEC_LINE(2)
 
#define G_RM_AA_TEX_EDGE   RM_AA_TEX_EDGE(1)
 
#define G_RM_AA_TEX_EDGE2   RM_AA_TEX_EDGE(2)
 
#define G_RM_AA_SUB_SURF   RM_AA_SUB_SURF(1)
 
#define G_RM_AA_SUB_SURF2   RM_AA_SUB_SURF(2)
 
#define G_RM_AA_PCL_SURF   RM_AA_PCL_SURF(1)
 
#define G_RM_AA_PCL_SURF2   RM_AA_PCL_SURF(2)
 
#define G_RM_AA_OPA_TERR   RM_AA_OPA_TERR(1)
 
#define G_RM_AA_OPA_TERR2   RM_AA_OPA_TERR(2)
 
#define G_RM_AA_TEX_TERR   RM_AA_TEX_TERR(1)
 
#define G_RM_AA_TEX_TERR2   RM_AA_TEX_TERR(2)
 
#define G_RM_AA_SUB_TERR   RM_AA_SUB_TERR(1)
 
#define G_RM_AA_SUB_TERR2   RM_AA_SUB_TERR(2)
 
#define G_RM_RA_OPA_SURF   RM_RA_OPA_SURF(1)
 
#define G_RM_RA_OPA_SURF2   RM_RA_OPA_SURF(2)
 
#define G_RM_ZB_OPA_SURF   RM_ZB_OPA_SURF(1)
 
#define G_RM_ZB_OPA_SURF2   RM_ZB_OPA_SURF(2)
 
#define G_RM_ZB_XLU_SURF   RM_ZB_XLU_SURF(1)
 
#define G_RM_ZB_XLU_SURF2   RM_ZB_XLU_SURF(2)
 
#define G_RM_ZB_OPA_DECAL   RM_ZB_OPA_DECAL(1)
 
#define G_RM_ZB_OPA_DECAL2   RM_ZB_OPA_DECAL(2)
 
#define G_RM_ZB_XLU_DECAL   RM_ZB_XLU_DECAL(1)
 
#define G_RM_ZB_XLU_DECAL2   RM_ZB_XLU_DECAL(2)
 
#define G_RM_ZB_CLD_SURF   RM_ZB_CLD_SURF(1)
 
#define G_RM_ZB_CLD_SURF2   RM_ZB_CLD_SURF(2)
 
#define G_RM_ZB_OVL_SURF   RM_ZB_OVL_SURF(1)
 
#define G_RM_ZB_OVL_SURF2   RM_ZB_OVL_SURF(2)
 
#define G_RM_ZB_PCL_SURF   RM_ZB_PCL_SURF(1)
 
#define G_RM_ZB_PCL_SURF2   RM_ZB_PCL_SURF(2)
 
#define G_RM_OPA_SURF   RM_OPA_SURF(1)
 
#define G_RM_OPA_SURF2   RM_OPA_SURF(2)
 
#define G_RM_XLU_SURF   RM_XLU_SURF(1)
 
#define G_RM_XLU_SURF2   RM_XLU_SURF(2)
 
#define G_RM_CLD_SURF   RM_CLD_SURF(1)
 
#define G_RM_CLD_SURF2   RM_CLD_SURF(2)
 
#define G_RM_TEX_EDGE   RM_TEX_EDGE(1)
 
#define G_RM_TEX_EDGE2   RM_TEX_EDGE(2)
 
#define G_RM_PCL_SURF   RM_PCL_SURF(1)
 
#define G_RM_PCL_SURF2   RM_PCL_SURF(2)
 
#define G_RM_ADD   RM_ADD(1)
 
#define G_RM_ADD2   RM_ADD(2)
 
#define G_RM_NOOP   RM_NOOP(1)
 
#define G_RM_NOOP2   RM_NOOP(2)
 
#define G_RM_VISCVG   RM_VISCVG(1)
 
#define G_RM_VISCVG2   RM_VISCVG(2)
 
#define G_RM_OPA_CI   RM_OPA_CI(1)
 
#define G_RM_OPA_CI2   RM_OPA_CI(2)
 
#define G_RM_FOG_SHADE_A   GBL_c1(G_BL_CLR_FOG, G_BL_A_SHADE, G_BL_CLR_IN, G_BL_1MA)
 
#define G_RM_FOG_PRIM_A   GBL_c1(G_BL_CLR_FOG, G_BL_A_FOG, G_BL_CLR_IN, G_BL_1MA)
 
#define G_RM_PASS   GBL_c1(G_BL_CLR_IN, G_BL_0, G_BL_CLR_IN, G_BL_1)
 
#define G_MWO_NUMLIGHT   0x00
 
#define G_MW_NUMLIGHT   0x02
 
#define NUML(n)   (((n)+1)*32 + 0x80000000)
 
#define G_MW_PERSPNORM   0x0e
 
#define MAX(a, b)   ((a) > (b) ? (a) : (b))
 
#define MIN(a, b)   ((a) < (b) ? (a) : (b))
 
#define gDma1p(pkt, c, s, l, p)
 
#define gsDma1p(c, s, l, p)
 
#define gSPMatrix(pkt, m, p)
 
#define gsSPMatrix(m, p)
 
#define gSPVertex(pkt, v, n, v0)
 
#define gsSPVertex(v, n, v0)
 
#define gDPLoadSync(pkt)
 
#define gsDPLoadSync()
 
#define gDPPipeSync(pkt)
 
#define gsDPPipeSync()
 
#define gDPTileSync(pkt)
 
#define gsDPTileSync()
 
#define gDPFullSync(pkt)
 
#define gsDPFullSync()
 
#define gSPDisplayList(pkt, dl)
 
#define gsSPDisplayList(dl)
 
#define gSPBranchList(pkt, dl)   gDma1p(pkt, G_DL, dl, 0, G_DL_NOPUSH)
 
#define gsSPBranchList(pkt, dl)   gsDma1p(G_DL, dl, 0, G_DL_NOPUSH)
 
#define gSPEndDisplayList(pkt)
 
#define gsSPEndDisplayList()
 
#define gSPSetOtherMode(pkt, cmd, shift, length, data)
 
#define gsSPSetOtherMode(cmd, shift, length, data)
 
#define gDPSetCycleType(pkt, type)   gSPSetOtherMode(pkt, G_SETOTHERMODE_H, G_MDSFT_CYCLETYPE, 3, type)
 
#define gsDPSetCycleType(pkt, type)   gsSPSetOtherMode(G_SETOTHERMODE_H, G_MDSFT_CYCLETYPE, 3, type)
 
#define gDPPipelineMode(pkt, mode)   gSPSetOtherMode(pkt, G_SETOTHERMODE_H, 0x17, 2, mode)
 
#define gsDPPipelineMode(mode)   gsSPSetOtherMode(G_SETOTHERMODE_H, 0x17, 2, mode)
 
#define gDPSetScissor(pkt, mode, ulx, uly, lrx, lry)
 
#define gsDPSetScissor(mode, ulx, uly, lrx, lry)
 
#define gDPSetCombine(pkt, muxs0, muxs1)
 
#define gsDPSetCombine(muxs0, muxs1)
 
#define gDPSetTextureLOD(pkt, type)   gSPSetOtherMode(pkt, G_SETOTHERMODE_H, G_MDSFT_TEXTLOD, 2, type)
 
#define gsDPSetTextureLOD(type)   gsSPSetOtherMode(G_SETOTHERMODE_H, G_MDSFT_TEXTLOD, 2, type)
 
#define gDPSetTextureLUT(pkt, type)   gSPSetOtherMode(pkt, G_SETOTHERMODE_H, G_MDSFT_TEXTLUT, 3, type)
 
#define gsDPSetTextureLUT(type)   gsSPSetOtherMode(G_SETOTHERMODE_H, G_MDSFT_TEXTLUT, 3, type)
 
#define gDPSetTextureDetail(pkt, type)   gSPSetOtherMode(pkt, G_SETOTHERMODE_H, G_MDSFT_TEXTDETAIL, 3, type)
 
#define gsDPSetTextureDetail(type)   gsSPSetOtherMode(G_SETOTHERMODE_H, G_MDSFT_TEXTDETAIL, 3, type)
 
#define gDPSetTexturePersp(pkt, type)   gSPSetOtherMode(pkt, G_SETOTHERMODE_H, G_MDSFT_TEXTPERSP, 2, type)
 
#define gsDPSetTexturePersp(type)   gsSPSetOtherMode(G_SETOTHERMODE_H, G_MDSFT_TEXTPERSP, 2, type)
 
#define gDPSetTextureFilter(pkt, type)   gSPSetOtherMode(pkt, G_SETOTHERMODE_H, G_MDSFT_TEXTFILT, 3, type)
 
#define gsDPSetTextureFilter(type)   gsSPSetOtherMode(G_SETOTHERMODE_H, G_MDSFT_TEXTFILT, 3, type)
 
#define gDPSetTextureConvert(pkt, type)   gSPSetOtherMode(pkt, G_SETOTHERMODE_H, G_MDSFT_TEXTCONV, 4, type)
 
#define gsDPSetTextureConvert(type)   gsSPSetOtherMode(G_SETOTHERMODE_H, G_MDSFT_TEXTCONV, 4, type)
 
#define gDPSetCombineKey(pkt, type)   gSPSetOtherMode(pkt, G_SETOTHERMODE_H, G_MDSFT_COMBKEY, 2, type)
 
#define gsDPSetCombineKey(type)   gsSPSetOtherMode(G_SETOTHERMODE_H, G_MDSFT_COMBKEY, 2, type)
 
#define gDPSetColorDither(pkt, mode)   gSPSetOtherMode(pkt, G_SETOTHERMODE_H, G_MDSFT_RGBDITHER, 3, mode)
 
#define gsDPSetColorDither(mode)   gsSPSetOtherMode(G_SETOTHERMODE_H, G_MDSFT_RGBDITHER, 3, mode)
 
#define gDPSetFillColor(pkt, color)
 
#define gsDPSetFillColor(color)
 
#define gDPFillRectangle(pkt, ulx, uly, lrx, lry)
 
#define gsDPFillRectangle(ulx, uly, lrx, lry)
 
#define gDPSetAlphaCompare(pkt, type)   gSPSetOtherMode(pkt, G_SETOTHERMODE_L, G_MDSFT_ALPHACOMPARE, 3, type)
 
#define gsDPSetAlphaCompare(type)   gsSPSetOtherMode(G_SETOTHERMODE_L, G_MDSFT_ALPHACOMPARE, 3, type)
 
#define gDPSetDepthSource(pkt, src)   gSPSetOtherMode(pkt, G_SETOTHERMODE_L, G_MDSFT_ZSRCSEL, 2, src)
 
#define gsDPSetDepthSource(src)   gsSPSetOtherMode(G_SETOTHERMODE_L, G_MDSFT_ZSRCSEL, 2, src)
 
#define gDPSetRenderMode(pkt, c0, c1)   gSPSetOtherMode(pkt, G_SETOTHERMODE_L, G_MDSFT_RENDERMODE, 30, (c0) | (c1))
 
#define gsDPSetRenderMode(c0, c1)   gsSPSetOtherMode(G_SETOTHERMODE_L, G_MDSFT_RENDERMODE, 30, (c0) | (c1))
 
#define gSPClearGeometryMode(pkt, mode)
 
#define gsSPClearGeometryMode(pkt, mode)
 
#define gSPSetGeometryMode(pkt, word)
 
#define gsSPSetGeometryMode(word)
 
#define gSPNumLights(pkt, n)   gMoveWd(pkt, G_MW_NUMLIGHT, G_MWO_NUMLIGHT, NUML(n))
 
#define gsSPNumLights(n)   gsMoveWd(G_MW_NUMLIGHT, G_MWO_NUMLIGHT, NUML(n))
 
#define gSPTexture(pkt, sc, tc, level, tile, on)
 
#define gsSPTexture(sc, tc, level, tile, on)
 
#define gDPSetColorImage(pkt, fmt, size, width, image)
 
#define gsDPSetColorImage(fmt, size, width, image)
 
#define gDPSetTileSize(pkt, tile, uls, ult, lrs, lrt)
 
#define gsDPSetTileSize(tile, uls, ult, lrs, lrt)
 
#define gDPLoadBlock(pkt, tile, uls, ult, lrs, dxt)
 
#define gsDPLoadBlock(tile, uls, ult, lrs, dxt)
 
#define gDPSetTile(pkt, fmt, siz, line, tmem, tile, palette, cmt, maskt, shiftt, cms, masks, shifts)
 
#define gsDPSetTile(fmt, siz, line, tmem, tile, palette, cmt, maskt, shiftt, cms, masks, shifts)
 
#define gDPSetDepthImage(pkt, image)
 
#define gsDPSetDepthImage(image)
 
#define gDPSetPrimColor(pkt, m, l, r, g, b, a)
 
#define gsDPSetPrimColor(m, l, r, g, b, a)
 
#define gDPSetEnvColor(pkt, r, g, b, a)
 
#define gsDPSetEnvColor(r, g, b, a)
 
#define gDPSetTextureImage(pkt, fmt, size, width, img)
 
#define gsDPSetTextureImage(fmt, size, width, img)
 
#define gMoveWd(pkt, index, offset, data)
 
#define gsMoveWd(index, offset, data)
 
#define G_MTX_MODELVIEW   0x00
 
#define G_MTX_PROJECTION   0x01
 
#define G_MTX_MUL   0x00
 
#define G_MTX_LOAD   0x02
 
#define G_MTX_NOPUSH   0x00
 
#define G_MTX_PUSH   0x04
 
#define gSPPopMatrix(pkt, n)
 
#define gsSPPopMatrix(pkt, n)
 
#define gSPViewport(pkt, v)
 
#define gsSPViewport(v)
 
#define gSP1Triangle(pkt, v0, v1, v2, flag)
 
#define gsSP1Triangle(v0, v1, v2, flag)
 
#define gSPTextureRectangle(pkt, xl, yl, xh, yh, tile, s, t, dsdx, dtdy)
 
#define gsSPTextureRectangle(xl, yl, xh, yh, tile, s, t, dsdx, dtdy)
 
#define NUMLIGHTS_0   1
 
#define NUMLIGHTS_1   1
 
#define NUMLIGHTS_2   2
 
#define NUMLIGHTS_3   3
 
#define NUMLIGHTS_4   4
 
#define NUMLIGHTS_5   5
 
#define NUMLIGHTS_6   6
 
#define NUMLIGHTS_7   7
 
#define LIGHT_1   1
 
#define LIGHT_2   2
 
#define LIGHT_3   3
 
#define LIGHT_4   4
 
#define LIGHT_5   5
 
#define LIGHT_6   6
 
#define LIGHT_7   7
 
#define LIGHT_8   8
 
#define gSPLight(pkt, l, n)
 
#define gsSPLight(l, n)
 
#define gSPLookAtX(pkt, la)
 
#define gsSPLookAtX(la)
 
#define gSPLookAtY(pkt, la)
 
#define gsSPLookAtY(la)
 
#define gSPLookAt(pkt, la)
 
#define gsSPLookAt(la)
 
#define gSPPerspNormalize(pkt, s)
 
#define gsSPPerspNormalize(s)
 

Typedefs

typedef long int Mtx_t[4][4]
 

Macro Definition Documentation

◆ AA_EN

#define AA_EN   0x8

◆ ALPHA_CVG_SEL

#define ALPHA_CVG_SEL   0x2000

◆ CLR_ON_CVG

#define CLR_ON_CVG   0x80

◆ CVG_DST_CLAMP

#define CVG_DST_CLAMP   0

◆ CVG_DST_FULL

#define CVG_DST_FULL   0x200

◆ CVG_DST_SAVE

#define CVG_DST_SAVE   0x300

◆ CVG_DST_WRAP

#define CVG_DST_WRAP   0x100

◆ CVG_X_ALPHA

#define CVG_X_ALPHA   0x1000

◆ FORCE_BL

#define FORCE_BL   0x4000

◆ G_AC_DITHER

#define G_AC_DITHER   (3 << 0)

◆ G_AC_NONE

#define G_AC_NONE   (0 << 0)

◆ G_AC_THRESHOLD

#define G_AC_THRESHOLD   (1 << 0)

◆ G_BL_0

#define G_BL_0   3

◆ G_BL_1

#define G_BL_1   2

◆ G_BL_1MA

#define G_BL_1MA   0

◆ G_BL_A_FOG

#define G_BL_A_FOG   1

◆ G_BL_A_IN

#define G_BL_A_IN   0

◆ G_BL_A_MEM

#define G_BL_A_MEM   1

◆ G_BL_A_SHADE

#define G_BL_A_SHADE   2

◆ G_BL_CLR_BL

#define G_BL_CLR_BL   2

◆ G_BL_CLR_FOG

#define G_BL_CLR_FOG   3

◆ G_BL_CLR_IN

#define G_BL_CLR_IN   0

◆ G_BL_CLR_MEM

#define G_BL_CLR_MEM   1

◆ G_BRANCH_Z

#define G_BRANCH_Z   0xB0

◆ G_CD_BAYER

#define G_CD_BAYER   (1 << 6)

◆ G_CD_MAGICSQ

#define G_CD_MAGICSQ   (0 << 6)

◆ G_CD_NOISE

#define G_CD_NOISE   (2 << 6)

◆ G_CK_KEY

#define G_CK_KEY   (1 << 8)

◆ G_CK_NONE

#define G_CK_NONE   (0 << 8)

◆ G_CLEARGEOMETRYMODE

#define G_CLEARGEOMETRYMODE   0xB6

◆ G_CLIPPING

#define G_CLIPPING   0x00800000

◆ G_CULL_BACK

#define G_CULL_BACK   0x00002000

◆ G_CULL_BOTH

#define G_CULL_BOTH   0x00003000

◆ G_CULL_FRONT

#define G_CULL_FRONT   0x00001000

◆ G_CULLDL

#define G_CULLDL   0xBE

◆ G_CYC_1CYCLE

#define G_CYC_1CYCLE   (0 << 20)

◆ G_CYC_2CYCLE

#define G_CYC_2CYCLE   (1 << 20)

◆ G_CYC_COPY

#define G_CYC_COPY   (2 << 20)

◆ G_CYC_FILL

#define G_CYC_FILL   (3 << 20)

◆ G_DL

#define G_DL   0x06

◆ G_DL_NOPUSH

#define G_DL_NOPUSH   0x01

◆ G_DL_PUSH

#define G_DL_PUSH   0x00

◆ G_ENDDL

#define G_ENDDL   0xB8

◆ G_FILLRECT

#define G_FILLRECT   0xF6

◆ G_FOG

#define G_FOG   0x00010000

◆ G_IM_FMT_CI

#define G_IM_FMT_CI   2

◆ G_IM_FMT_I

#define G_IM_FMT_I   4

◆ G_IM_FMT_IA

#define G_IM_FMT_IA   3

◆ G_IM_FMT_RGBA

#define G_IM_FMT_RGBA   0

◆ G_IM_FMT_YUV

#define G_IM_FMT_YUV   1

◆ G_IM_SIZ_16b

#define G_IM_SIZ_16b   2

◆ G_IM_SIZ_32b

#define G_IM_SIZ_32b   3

◆ G_IM_SIZ_4b

#define G_IM_SIZ_4b   0

◆ G_IM_SIZ_8b

#define G_IM_SIZ_8b   1

◆ G_IM_SIZ_DD

#define G_IM_SIZ_DD   5

◆ G_LIGHTING

#define G_LIGHTING   0x00020000

◆ G_LOAD_UCODE

#define G_LOAD_UCODE   0xAF

◆ G_LOADBLOCK

#define G_LOADBLOCK   0xF3

◆ G_LOADTILE

#define G_LOADTILE   0xF4

◆ G_LOADTLUT

#define G_LOADTLUT   0xF0

◆ G_LOD

#define G_LOD   0x00100000

◆ G_MDSFT_ALPHACOMPARE

#define G_MDSFT_ALPHACOMPARE   0

◆ G_MDSFT_ALPHADITHER

#define G_MDSFT_ALPHADITHER   4

◆ G_MDSFT_BLENDER

#define G_MDSFT_BLENDER   16

◆ G_MDSFT_COMBKEY

#define G_MDSFT_COMBKEY   8

◆ G_MDSFT_CYCLETYPE

#define G_MDSFT_CYCLETYPE   20

◆ G_MDSFT_PIPELINE

#define G_MDSFT_PIPELINE   23

◆ G_MDSFT_RENDERMODE

#define G_MDSFT_RENDERMODE   3

◆ G_MDSFT_RGBDITHER

#define G_MDSFT_RGBDITHER   6

◆ G_MDSFT_TEXTCONV

#define G_MDSFT_TEXTCONV   9

◆ G_MDSFT_TEXTDETAIL

#define G_MDSFT_TEXTDETAIL   17

◆ G_MDSFT_TEXTFILT

#define G_MDSFT_TEXTFILT   12

◆ G_MDSFT_TEXTLOD

#define G_MDSFT_TEXTLOD   16

◆ G_MDSFT_TEXTLUT

#define G_MDSFT_TEXTLUT   14

◆ G_MDSFT_TEXTPERSP

#define G_MDSFT_TEXTPERSP   19

◆ G_MDSFT_ZSRCSEL

#define G_MDSFT_ZSRCSEL   2

◆ G_MOVEMEM

#define G_MOVEMEM   0x03

◆ G_MOVEWORD

#define G_MOVEWORD   0xBC

◆ G_MTX

#define G_MTX   0x01

◆ G_MTX_LOAD

#define G_MTX_LOAD   0x02

◆ G_MTX_MODELVIEW

#define G_MTX_MODELVIEW   0x00

◆ G_MTX_MUL

#define G_MTX_MUL   0x00

◆ G_MTX_NOPUSH

#define G_MTX_NOPUSH   0x00

◆ G_MTX_PROJECTION

#define G_MTX_PROJECTION   0x01

◆ G_MTX_PUSH

#define G_MTX_PUSH   0x04

◆ G_MV_L0

#define G_MV_L0   0x86

◆ G_MV_L1

#define G_MV_L1   0x88

◆ G_MV_L2

#define G_MV_L2   0x8A

◆ G_MV_L3

#define G_MV_L3   0x8C

◆ G_MV_L4

#define G_MV_L4   0x8E

◆ G_MV_L5

#define G_MV_L5   0x90

◆ G_MV_L6

#define G_MV_L6   0x92

◆ G_MV_L7

#define G_MV_L7   0x94

◆ G_MV_LOOKATX

#define G_MV_LOOKATX   0x84

◆ G_MV_LOOKATY

#define G_MV_LOOKATY   0x82

◆ G_MV_MATRIX_1

#define G_MV_MATRIX_1   0x9E

◆ G_MV_MATRIX_2

#define G_MV_MATRIX_2   0x98

◆ G_MV_MATRIX_3

#define G_MV_MATRIX_3   0x9A

◆ G_MV_MATRIX_4

#define G_MV_MATRIX_4   0x9C

◆ G_MV_TXTATT

#define G_MV_TXTATT   0x96

◆ G_MV_VIEWPORT

#define G_MV_VIEWPORT   0x80

◆ G_MW_NUMLIGHT

#define G_MW_NUMLIGHT   0x02

◆ G_MW_PERSPNORM

#define G_MW_PERSPNORM   0x0e

◆ G_MWO_NUMLIGHT

#define G_MWO_NUMLIGHT   0x00

◆ G_NOOP

#define G_NOOP   0xC0

◆ G_PM_1PRIMITIVE

#define G_PM_1PRIMITIVE   (1 << 23)

◆ G_PM_NPRIMITIVE

#define G_PM_NPRIMITIVE   (0 << 23)

◆ G_POPMTX

#define G_POPMTX   0xBD

◆ G_QUAD

#define G_QUAD   0xB5

◆ G_RDPFULLSYNC

#define G_RDPFULLSYNC   0xE9

◆ G_RDPHALF_1

#define G_RDPHALF_1   0xB4

◆ G_RDPHALF_2

#define G_RDPHALF_2   0xB3

◆ G_RDPHALF_CONT

#define G_RDPHALF_CONT   0xB2

◆ G_RDPLOADSYNC

#define G_RDPLOADSYNC   0xE6

◆ G_RDPPIPESYNC

#define G_RDPPIPESYNC   0xE7

◆ G_RDPSETOTHERMODE

#define G_RDPSETOTHERMODE   0xEF

◆ G_RDPTILESYNC

#define G_RDPTILESYNC   0xE8

◆ G_RM_AA_DEC_LINE

#define G_RM_AA_DEC_LINE   RM_AA_DEC_LINE(1)

◆ G_RM_AA_DEC_LINE2

#define G_RM_AA_DEC_LINE2   RM_AA_DEC_LINE(2)

◆ G_RM_AA_OPA_SURF

#define G_RM_AA_OPA_SURF   RM_AA_OPA_SURF(1)

◆ G_RM_AA_OPA_SURF2

#define G_RM_AA_OPA_SURF2   RM_AA_OPA_SURF(2)

◆ G_RM_AA_OPA_TERR

#define G_RM_AA_OPA_TERR   RM_AA_OPA_TERR(1)

◆ G_RM_AA_OPA_TERR2

#define G_RM_AA_OPA_TERR2   RM_AA_OPA_TERR(2)

◆ G_RM_AA_PCL_SURF

#define G_RM_AA_PCL_SURF   RM_AA_PCL_SURF(1)

◆ G_RM_AA_PCL_SURF2

#define G_RM_AA_PCL_SURF2   RM_AA_PCL_SURF(2)

◆ G_RM_AA_SUB_SURF

#define G_RM_AA_SUB_SURF   RM_AA_SUB_SURF(1)

◆ G_RM_AA_SUB_SURF2

#define G_RM_AA_SUB_SURF2   RM_AA_SUB_SURF(2)

◆ G_RM_AA_SUB_TERR

#define G_RM_AA_SUB_TERR   RM_AA_SUB_TERR(1)

◆ G_RM_AA_SUB_TERR2

#define G_RM_AA_SUB_TERR2   RM_AA_SUB_TERR(2)

◆ G_RM_AA_TEX_EDGE

#define G_RM_AA_TEX_EDGE   RM_AA_TEX_EDGE(1)

◆ G_RM_AA_TEX_EDGE2

#define G_RM_AA_TEX_EDGE2   RM_AA_TEX_EDGE(2)

◆ G_RM_AA_TEX_TERR

#define G_RM_AA_TEX_TERR   RM_AA_TEX_TERR(1)

◆ G_RM_AA_TEX_TERR2

#define G_RM_AA_TEX_TERR2   RM_AA_TEX_TERR(2)

◆ G_RM_AA_XLU_LINE

#define G_RM_AA_XLU_LINE   RM_AA_XLU_LINE(1)

◆ G_RM_AA_XLU_LINE2

#define G_RM_AA_XLU_LINE2   RM_AA_XLU_LINE(2)

◆ G_RM_AA_XLU_SURF

#define G_RM_AA_XLU_SURF   RM_AA_XLU_SURF(1)

◆ G_RM_AA_XLU_SURF2

#define G_RM_AA_XLU_SURF2   RM_AA_XLU_SURF(2)

◆ G_RM_AA_ZB_DEC_LINE

#define G_RM_AA_ZB_DEC_LINE   RM_AA_ZB_DEC_LINE(1)

◆ G_RM_AA_ZB_DEC_LINE2

#define G_RM_AA_ZB_DEC_LINE2   RM_AA_ZB_DEC_LINE(2)

◆ G_RM_AA_ZB_OPA_DECAL

#define G_RM_AA_ZB_OPA_DECAL   RM_AA_ZB_OPA_DECAL(1)

◆ G_RM_AA_ZB_OPA_DECAL2

#define G_RM_AA_ZB_OPA_DECAL2   RM_AA_ZB_OPA_DECAL(2)

◆ G_RM_AA_ZB_OPA_INTER

#define G_RM_AA_ZB_OPA_INTER   RM_AA_ZB_OPA_INTER(1)

◆ G_RM_AA_ZB_OPA_INTER2

#define G_RM_AA_ZB_OPA_INTER2   RM_AA_ZB_OPA_INTER(2)

◆ G_RM_AA_ZB_OPA_SURF

#define G_RM_AA_ZB_OPA_SURF   RM_AA_ZB_OPA_SURF(1)

◆ G_RM_AA_ZB_OPA_SURF2

#define G_RM_AA_ZB_OPA_SURF2   RM_AA_ZB_OPA_SURF(2)

◆ G_RM_AA_ZB_OPA_TERR

#define G_RM_AA_ZB_OPA_TERR   RM_AA_ZB_OPA_TERR(1)

◆ G_RM_AA_ZB_OPA_TERR2

#define G_RM_AA_ZB_OPA_TERR2   RM_AA_ZB_OPA_TERR(2)

◆ G_RM_AA_ZB_PCL_SURF

#define G_RM_AA_ZB_PCL_SURF   RM_AA_ZB_PCL_SURF(1)

◆ G_RM_AA_ZB_PCL_SURF2

#define G_RM_AA_ZB_PCL_SURF2   RM_AA_ZB_PCL_SURF(2)

◆ G_RM_AA_ZB_SUB_SURF

#define G_RM_AA_ZB_SUB_SURF   RM_AA_ZB_SUB_SURF(1)

◆ G_RM_AA_ZB_SUB_SURF2

#define G_RM_AA_ZB_SUB_SURF2   RM_AA_ZB_SUB_SURF(2)

◆ G_RM_AA_ZB_SUB_TERR

#define G_RM_AA_ZB_SUB_TERR   RM_AA_ZB_SUB_TERR(1)

◆ G_RM_AA_ZB_SUB_TERR2

#define G_RM_AA_ZB_SUB_TERR2   RM_AA_ZB_SUB_TERR(2)

◆ G_RM_AA_ZB_TEX_EDGE

#define G_RM_AA_ZB_TEX_EDGE   RM_AA_ZB_TEX_EDGE(1)

◆ G_RM_AA_ZB_TEX_EDGE2

#define G_RM_AA_ZB_TEX_EDGE2   RM_AA_ZB_TEX_EDGE(2)

◆ G_RM_AA_ZB_TEX_INTER

#define G_RM_AA_ZB_TEX_INTER   RM_AA_ZB_TEX_INTER(1)

◆ G_RM_AA_ZB_TEX_INTER2

#define G_RM_AA_ZB_TEX_INTER2   RM_AA_ZB_TEX_INTER(2)

◆ G_RM_AA_ZB_TEX_TERR

#define G_RM_AA_ZB_TEX_TERR   RM_AA_ZB_TEX_TERR(1)

◆ G_RM_AA_ZB_TEX_TERR2

#define G_RM_AA_ZB_TEX_TERR2   RM_AA_ZB_TEX_TERR(2)

◆ G_RM_AA_ZB_XLU_DECAL

#define G_RM_AA_ZB_XLU_DECAL   RM_AA_ZB_XLU_DECAL(1)

◆ G_RM_AA_ZB_XLU_DECAL2

#define G_RM_AA_ZB_XLU_DECAL2   RM_AA_ZB_XLU_DECAL(2)

◆ G_RM_AA_ZB_XLU_INTER

#define G_RM_AA_ZB_XLU_INTER   RM_AA_ZB_XLU_INTER(1)

◆ G_RM_AA_ZB_XLU_INTER2

#define G_RM_AA_ZB_XLU_INTER2   RM_AA_ZB_XLU_INTER(2)

◆ G_RM_AA_ZB_XLU_LINE

#define G_RM_AA_ZB_XLU_LINE   RM_AA_ZB_XLU_LINE(1)

◆ G_RM_AA_ZB_XLU_LINE2

#define G_RM_AA_ZB_XLU_LINE2   RM_AA_ZB_XLU_LINE(2)

◆ G_RM_AA_ZB_XLU_SURF

#define G_RM_AA_ZB_XLU_SURF   RM_AA_ZB_XLU_SURF(1)

◆ G_RM_AA_ZB_XLU_SURF2

#define G_RM_AA_ZB_XLU_SURF2   RM_AA_ZB_XLU_SURF(2)

◆ G_RM_ADD

#define G_RM_ADD   RM_ADD(1)

◆ G_RM_ADD2

#define G_RM_ADD2   RM_ADD(2)

◆ G_RM_CLD_SURF

#define G_RM_CLD_SURF   RM_CLD_SURF(1)

◆ G_RM_CLD_SURF2

#define G_RM_CLD_SURF2   RM_CLD_SURF(2)

◆ G_RM_FOG_PRIM_A

#define G_RM_FOG_PRIM_A   GBL_c1(G_BL_CLR_FOG, G_BL_A_FOG, G_BL_CLR_IN, G_BL_1MA)

◆ G_RM_FOG_SHADE_A

#define G_RM_FOG_SHADE_A   GBL_c1(G_BL_CLR_FOG, G_BL_A_SHADE, G_BL_CLR_IN, G_BL_1MA)

◆ G_RM_NOOP

#define G_RM_NOOP   RM_NOOP(1)

◆ G_RM_NOOP2

#define G_RM_NOOP2   RM_NOOP(2)

◆ G_RM_OPA_CI

#define G_RM_OPA_CI   RM_OPA_CI(1)

◆ G_RM_OPA_CI2

#define G_RM_OPA_CI2   RM_OPA_CI(2)

◆ G_RM_OPA_SURF

#define G_RM_OPA_SURF   RM_OPA_SURF(1)

◆ G_RM_OPA_SURF2

#define G_RM_OPA_SURF2   RM_OPA_SURF(2)

◆ G_RM_PASS

#define G_RM_PASS   GBL_c1(G_BL_CLR_IN, G_BL_0, G_BL_CLR_IN, G_BL_1)

◆ G_RM_PCL_SURF

#define G_RM_PCL_SURF   RM_PCL_SURF(1)

◆ G_RM_PCL_SURF2

#define G_RM_PCL_SURF2   RM_PCL_SURF(2)

◆ G_RM_RA_OPA_SURF

#define G_RM_RA_OPA_SURF   RM_RA_OPA_SURF(1)

◆ G_RM_RA_OPA_SURF2

#define G_RM_RA_OPA_SURF2   RM_RA_OPA_SURF(2)

◆ G_RM_RA_ZB_OPA_DECAL

#define G_RM_RA_ZB_OPA_DECAL   RM_RA_ZB_OPA_DECAL(1)

◆ G_RM_RA_ZB_OPA_DECAL2

#define G_RM_RA_ZB_OPA_DECAL2   RM_RA_ZB_OPA_DECAL(2)

◆ G_RM_RA_ZB_OPA_INTER

#define G_RM_RA_ZB_OPA_INTER   RM_RA_ZB_OPA_INTER(1)

◆ G_RM_RA_ZB_OPA_INTER2

#define G_RM_RA_ZB_OPA_INTER2   RM_RA_ZB_OPA_INTER(2)

◆ G_RM_RA_ZB_OPA_SURF

#define G_RM_RA_ZB_OPA_SURF   RM_RA_ZB_OPA_SURF(1)

◆ G_RM_RA_ZB_OPA_SURF2

#define G_RM_RA_ZB_OPA_SURF2   RM_RA_ZB_OPA_SURF(2)

◆ G_RM_TEX_EDGE

#define G_RM_TEX_EDGE   RM_TEX_EDGE(1)

◆ G_RM_TEX_EDGE2

#define G_RM_TEX_EDGE2   RM_TEX_EDGE(2)

◆ G_RM_VISCVG

#define G_RM_VISCVG   RM_VISCVG(1)

◆ G_RM_VISCVG2

#define G_RM_VISCVG2   RM_VISCVG(2)

◆ G_RM_XLU_SURF

#define G_RM_XLU_SURF   RM_XLU_SURF(1)

◆ G_RM_XLU_SURF2

#define G_RM_XLU_SURF2   RM_XLU_SURF(2)

◆ G_RM_ZB_CLD_SURF

#define G_RM_ZB_CLD_SURF   RM_ZB_CLD_SURF(1)

◆ G_RM_ZB_CLD_SURF2

#define G_RM_ZB_CLD_SURF2   RM_ZB_CLD_SURF(2)

◆ G_RM_ZB_OPA_DECAL

#define G_RM_ZB_OPA_DECAL   RM_ZB_OPA_DECAL(1)

◆ G_RM_ZB_OPA_DECAL2

#define G_RM_ZB_OPA_DECAL2   RM_ZB_OPA_DECAL(2)

◆ G_RM_ZB_OPA_SURF

#define G_RM_ZB_OPA_SURF   RM_ZB_OPA_SURF(1)

◆ G_RM_ZB_OPA_SURF2

#define G_RM_ZB_OPA_SURF2   RM_ZB_OPA_SURF(2)

◆ G_RM_ZB_OVL_SURF

#define G_RM_ZB_OVL_SURF   RM_ZB_OVL_SURF(1)

◆ G_RM_ZB_OVL_SURF2

#define G_RM_ZB_OVL_SURF2   RM_ZB_OVL_SURF(2)

◆ G_RM_ZB_PCL_SURF

#define G_RM_ZB_PCL_SURF   RM_ZB_PCL_SURF(1)

◆ G_RM_ZB_PCL_SURF2

#define G_RM_ZB_PCL_SURF2   RM_ZB_PCL_SURF(2)

◆ G_RM_ZB_XLU_DECAL

#define G_RM_ZB_XLU_DECAL   RM_ZB_XLU_DECAL(1)

◆ G_RM_ZB_XLU_DECAL2

#define G_RM_ZB_XLU_DECAL2   RM_ZB_XLU_DECAL(2)

◆ G_RM_ZB_XLU_SURF

#define G_RM_ZB_XLU_SURF   RM_ZB_XLU_SURF(1)

◆ G_RM_ZB_XLU_SURF2

#define G_RM_ZB_XLU_SURF2   RM_ZB_XLU_SURF(2)

◆ G_SC_EVEN_INTERLACE

#define G_SC_EVEN_INTERLACE   2

◆ G_SC_NON_INTERLACE

#define G_SC_NON_INTERLACE   0

◆ G_SC_ODD_INTERLACE

#define G_SC_ODD_INTERLACE   3

◆ G_SETBLENDCOLOR

#define G_SETBLENDCOLOR   0xF9

◆ G_SETCIMG

#define G_SETCIMG   0xFF

◆ G_SETCOMBINE

#define G_SETCOMBINE   0xFC

◆ G_SETCONVERT

#define G_SETCONVERT   0xEC

◆ G_SETENVCOLOR

#define G_SETENVCOLOR   0xFB

◆ G_SETFILLCOLOR

#define G_SETFILLCOLOR   0xF7

◆ G_SETFOGCOLOR

#define G_SETFOGCOLOR   0xF8

◆ G_SETGEOMETRYMODE

#define G_SETGEOMETRYMODE   0xB7

◆ G_SETKEYGB

#define G_SETKEYGB   0xEA

◆ G_SETKEYR

#define G_SETKEYR   0xEB

◆ G_SETOTHERMODE_H

#define G_SETOTHERMODE_H   0xBA

◆ G_SETOTHERMODE_L

#define G_SETOTHERMODE_L   0xB9

◆ G_SETPRIMCOLOR

#define G_SETPRIMCOLOR   0xFA

◆ G_SETPRIMDEPTH

#define G_SETPRIMDEPTH   0xEE

◆ G_SETSCISSOR

#define G_SETSCISSOR   0xED

◆ G_SETTILE

#define G_SETTILE   0xF5

◆ G_SETTILESIZE

#define G_SETTILESIZE   0xF2

◆ G_SETTIMG

#define G_SETTIMG   0xFD

◆ G_SETZIMG

#define G_SETZIMG   0xFE

◆ G_SHADE

#define G_SHADE   0x00000004

◆ G_SHADING_SMOOTH

#define G_SHADING_SMOOTH   0x00000200

◆ G_SPNOOP

#define G_SPNOOP   0x00

◆ G_TC_CONV

#define G_TC_CONV   (0 << 9)

◆ G_TC_FILT

#define G_TC_FILT   (6 << 9)

◆ G_TC_FILTCONV

#define G_TC_FILTCONV   (5 << 9)

◆ G_TD_CLAMP

#define G_TD_CLAMP   (0 << 17)

◆ G_TD_DETAIL

#define G_TD_DETAIL   (2 << 17)

◆ G_TD_SHARPEN

#define G_TD_SHARPEN   (1 << 17)

◆ G_TEXRECT

#define G_TEXRECT   0xE4

◆ G_TEXRECTFLIP

#define G_TEXRECTFLIP   0xE5

◆ G_TEXTURE

#define G_TEXTURE   0xBB

◆ G_TEXTURE_ENABLE

#define G_TEXTURE_ENABLE   0x00000002

◆ G_TEXTURE_GEN

#define G_TEXTURE_GEN   0x00040000

◆ G_TEXTURE_GEN_LINEAR

#define G_TEXTURE_GEN_LINEAR   0x00080000

◆ G_TF_AVERAGE

#define G_TF_AVERAGE   (3 << 12)

◆ G_TF_BILERP

#define G_TF_BILERP   (2 << 12)

◆ G_TF_POINT

#define G_TF_POINT   (0 << 12)

◆ G_TL_LOD

#define G_TL_LOD   (1 << 16)

◆ G_TL_TILE

#define G_TL_TILE   (0 << 16)

◆ G_TP_NONE

#define G_TP_NONE   (0 << 19)

◆ G_TP_PERSP

#define G_TP_PERSP   (1 << 19)

◆ G_TRI1

#define G_TRI1   0xBF

◆ G_TT_IA16

#define G_TT_IA16   (3 << 14)

◆ G_TT_NONE

#define G_TT_NONE   (0 << 14)

◆ G_TT_RGBA16

#define G_TT_RGBA16   (2 << 14)

◆ G_TX_CLAMP

#define G_TX_CLAMP   2

◆ G_TX_LDBLK_MAX_TXL

#define G_TX_LDBLK_MAX_TXL   2047

◆ G_TX_LOADTILE

#define G_TX_LOADTILE   7

◆ G_TX_MIRROR

#define G_TX_MIRROR   1

◆ G_TX_NOLOD

#define G_TX_NOLOD   0

◆ G_TX_NOMASK

#define G_TX_NOMASK   0

◆ G_TX_NOMIRROR

#define G_TX_NOMIRROR   0

◆ G_TX_RENDERTILE

#define G_TX_RENDERTILE   0

◆ G_TX_WRAP

#define G_TX_WRAP   0

◆ G_VTX

#define G_VTX   0x04

◆ G_ZBUFFER

#define G_ZBUFFER   0x00000001

◆ G_ZS_PIXEL

#define G_ZS_PIXEL   (0 << 2)

◆ G_ZS_PRIM

#define G_ZS_PRIM   (1 << 2)

◆ GBL_c1

#define GBL_c1 (   m1a,
  m1b,
  m2a,
  m2b 
)    (m1a) << 30 | (m1b) << 26 | (m2a) << 22 | (m2b) << 18

◆ GBL_c2

#define GBL_c2 (   m1a,
  m1b,
  m2a,
  m2b 
)    (m1a) << 28 | (m1b) << 24 | (m2a) << 20 | (m2b) << 16

◆ gDma1p

#define gDma1p (   pkt,
  c,
  s,
  l,
 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = (_SHIFTL((c), 24, 8) | _SHIFTL((p), 16, 8) | \
_SHIFTL((l), 0, 16)); \
_g->words.w1 = (unsigned int)(s); \
}
Definition: gbi_old.h:59
input is a non tagged type Internal error in function gen_type_str not a type tree s Cannot open file s Prototype should be moved after tag or a typedef declaration Please look for comments in the extracted header file The extracted header file includes prototypes static for which should be if you wish to include the header in a source file other than the originator ANSI C requires formal parameter before This extension is meant to be used for compatibility with varargs h(35) syntax error cannot initialize Was the struct ever after argument a legal assembly string The float option will be ignored in ANSI mode The float option is since otherwise program semantics would violate the ANSI standard In fp constants are always double with ANSI while with float the type of fp constants will depend on the context and may be float ANSI C support unavailable with C compiler bundled with RISC os The C compiler bundled with RISC os does not support ANSI C ANSI C support requires a separate license Ignored invalid warning s s ! Warning numbers must be in the range s to s The set of warning numbers in cfe is disjoint from the set of warning numbers in since accom warnings cannot be mapped one to one to cfe warnings s not handled as an intrinsic due to incompatible argument types __unalign only qualifies pointers __unalign indicates the object pointed at by pointer is but unlike both cannot qualify a base type index expression is an anachronism ANSI C doesn t support array index expressions in delete member cannot be of function or incomplete s
Definition: err.english.cc:1194
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
is assumed Missing member name in structure union In standard C each member declaration have a member name The missing member is assumed to not exist This variable is initialized twice Neither const or volatile have any effect on function results Qualifiers only apply to expressions designating an object that can be altered or signed or unsigned integer or an enumerated type with a value greater than zero Array size cannot be a long long Arrays with more than elements are not yet supported The array size must be either a signed or unsigned integer or an enumerated type with a value greater than zero bit field s width is not an integer constant The expression that specifies the width of a bit field shall be an integral constant unsigned int
Definition: err.english.cc:726

◆ gDPFillRectangle

#define gDPFillRectangle (   pkt,
  ulx,
  uly,
  lrx,
  lry 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_FILLRECT, 24, 8) \
| _SHIFTL((lrx), 14, 10) \
| _SHIFTL((lry), 2, 10); \
_g->words.w1 = _SHIFTL(0, 24, 8) \
| _SHIFTL((ulx), 14, 10) \
| _SHIFTL((uly), 2, 10); \
}
Definition: gbi_old.h:59
#define G_FILLRECT
Definition: gbi_old.h:116
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gDPFullSync

#define gDPFullSync (   pkt)
Value:
{ \
Gfx *_g = (Gfx *) (pkt); \
_g->words.w0 = _SHIFTL(G_RDPFULLSYNC, 24, 8); \
_g->words.w1 = 0x00000000; \
}
#define G_RDPFULLSYNC
Definition: gbi_old.h:104
Definition: gbi_old.h:59
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gDPLoadBlock

#define gDPLoadBlock (   pkt,
  tile,
  uls,
  ult,
  lrs,
  dxt 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_LOADBLOCK, 24, 8) \
| _SHIFTL((uls), 12, 12) \
| _SHIFTL((ult), 0, 12); \
_g->words.w1 = _SHIFTL((tile), 24, 3) \
| _SHIFTL((MIN((lrs),G_TX_LDBLK_MAX_TXL)), 12, 12) \
| _SHIFTL((dxt), 0, 12); \
}
Definition: gbi_old.h:59
#define G_LOADBLOCK
Definition: gbi_old.h:113
#define MIN(a, b)
Definition: gbi_old.h:623
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_TX_LDBLK_MAX_TXL
Definition: gbi_old.h:235

◆ gDPLoadSync

#define gDPLoadSync (   pkt)
Value:
{ \
Gfx *_g = (Gfx *) (pkt); \
_g->words.w0 = _SHIFTL(G_RDPLOADSYNC, 24, 8); \
_g->words.w1 = 0x00000000; \
}
#define G_RDPLOADSYNC
Definition: gbi_old.h:101
Definition: gbi_old.h:59
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gDPPipelineMode

#define gDPPipelineMode (   pkt,
  mode 
)    gSPSetOtherMode(pkt, G_SETOTHERMODE_H, 0x17, 2, mode)

◆ gDPPipeSync

#define gDPPipeSync (   pkt)
Value:
{ \
Gfx *_g = (Gfx *) (pkt); \
_g->words.w0 = _SHIFTL(G_RDPPIPESYNC, 24, 8); \
_g->words.w1 = 0x00000000; \
}
Definition: gbi_old.h:59
#define G_RDPPIPESYNC
Definition: gbi_old.h:102
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gDPSetAlphaCompare

#define gDPSetAlphaCompare (   pkt,
  type 
)    gSPSetOtherMode(pkt, G_SETOTHERMODE_L, G_MDSFT_ALPHACOMPARE, 3, type)

◆ gDPSetColorDither

#define gDPSetColorDither (   pkt,
  mode 
)    gSPSetOtherMode(pkt, G_SETOTHERMODE_H, G_MDSFT_RGBDITHER, 3, mode)

◆ gDPSetColorImage

#define gDPSetColorImage (   pkt,
  fmt,
  size,
  width,
  image 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_SETCIMG, 24, 8) \
| _SHIFTL((fmt), 21, 3) \
| _SHIFTL((size), 19, 2) \
| _SHIFTL((width)-1, 0, 12); \
_g->words.w1 = (image); \
}
Definition: gbi_old.h:59
#define G_SETCIMG
Definition: gbi_old.h:125
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gDPSetCombine

#define gDPSetCombine (   pkt,
  muxs0,
  muxs1 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_SETCOMBINE, 24, 8) \
| _SHIFTL((muxs0), 0, 24); \
_g->words.w1 = (muxs1); \
}
Definition: gbi_old.h:59
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_SETCOMBINE
Definition: gbi_old.h:122

◆ gDPSetCombineKey

#define gDPSetCombineKey (   pkt,
  type 
)    gSPSetOtherMode(pkt, G_SETOTHERMODE_H, G_MDSFT_COMBKEY, 2, type)

◆ gDPSetCycleType

#define gDPSetCycleType (   pkt,
  type 
)    gSPSetOtherMode(pkt, G_SETOTHERMODE_H, G_MDSFT_CYCLETYPE, 3, type)

◆ gDPSetDepthImage

#define gDPSetDepthImage (   pkt,
  image 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_SETZIMG, 24, 8); \
_g->words.w1 = (image); \
}
Definition: gbi_old.h:59
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_SETZIMG
Definition: gbi_old.h:124

◆ gDPSetDepthSource

#define gDPSetDepthSource (   pkt,
  src 
)    gSPSetOtherMode(pkt, G_SETOTHERMODE_L, G_MDSFT_ZSRCSEL, 2, src)

◆ gDPSetEnvColor

#define gDPSetEnvColor (   pkt,
  r,
  g,
  b,
  a 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_SETENVCOLOR, 24, 8); \
_g->words.w1 = _SHIFTL((r), 24, 8) \
| _SHIFTL((g), 16, 8) \
| _SHIFTL((b), 8, 8) \
| _SHIFTL((a), 0, 8); \
}
Definition: gbi_old.h:59
#define G_SETENVCOLOR
Definition: gbi_old.h:121
at end of structure union member declaration In standard C each member declaration must be terminated by a
Definition: err.english.cc:690
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gDPSetFillColor

#define gDPSetFillColor (   pkt,
  color 
)
Value:
{ \
Gfx *_g = (Gfx *) (pkt); \
_g->words.w0 = _SHIFTL(G_SETFILLCOLOR, 24, 8); \
_g->words.w1 = color; \
}
Definition: gbi_old.h:59
#define G_SETFILLCOLOR
Definition: gbi_old.h:117
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gDPSetPrimColor

#define gDPSetPrimColor (   pkt,
  m,
  l,
  r,
  g,
  b,
  a 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_SETPRIMCOLOR, 24, 8) \
| _SHIFTL(m, 8, 8) \
| _SHIFTL(l, 0, 8); \
_g->words.w1 = _SHIFTL(r, 24, 8) \
| _SHIFTL(g, 16, 8) \
| _SHIFTL(b, 8, 8) \
| _SHIFTL(a, 0, 8); \
}
Definition: gbi_old.h:59
at end of structure union member declaration In standard C each member declaration must be terminated by a
Definition: err.english.cc:690
#define G_SETPRIMCOLOR
Definition: gbi_old.h:120
def m
Definition: first-diff.py:153
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gDPSetRenderMode

#define gDPSetRenderMode (   pkt,
  c0,
  c1 
)    gSPSetOtherMode(pkt, G_SETOTHERMODE_L, G_MDSFT_RENDERMODE, 30, (c0) | (c1))

◆ gDPSetScissor

#define gDPSetScissor (   pkt,
  mode,
  ulx,
  uly,
  lrx,
  lry 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_SETSCISSOR, 24, 8) \
| _SHIFTL((int)((float)(ulx)*4.0f), 12, 12) \
| _SHIFTL((int)((float)(uly)*4.0f), 0, 12); \
_g->words.w1 = _SHIFTL((mode), 24, 8) \
| _SHIFTL((int)((float)(lrx)*4.0f), 12, 12) \
| _SHIFTL((int)((float)(lry)*4.0f), 0, 12); \
}
Definition: gbi_old.h:59
#define G_SETSCISSOR
Definition: gbi_old.h:108
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gDPSetTextureConvert

#define gDPSetTextureConvert (   pkt,
  type 
)    gSPSetOtherMode(pkt, G_SETOTHERMODE_H, G_MDSFT_TEXTCONV, 4, type)

◆ gDPSetTextureDetail

#define gDPSetTextureDetail (   pkt,
  type 
)    gSPSetOtherMode(pkt, G_SETOTHERMODE_H, G_MDSFT_TEXTDETAIL, 3, type)

◆ gDPSetTextureFilter

#define gDPSetTextureFilter (   pkt,
  type 
)    gSPSetOtherMode(pkt, G_SETOTHERMODE_H, G_MDSFT_TEXTFILT, 3, type)

◆ gDPSetTextureImage

#define gDPSetTextureImage (   pkt,
  fmt,
  size,
  width,
  img 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_SETTIMG, 24, 8) \
| _SHIFTL((fmt), 21, 3) \
| _SHIFTL((size), 19, 2) \
| _SHIFTL((width)-1, 0, 12); \
_g->words.w1 = (u32)(img); \
}
Definition: gbi_old.h:59
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_SETTIMG
Definition: gbi_old.h:123
unsigned int u32
Definition: ultratypes.h:16

◆ gDPSetTextureLOD

#define gDPSetTextureLOD (   pkt,
  type 
)    gSPSetOtherMode(pkt, G_SETOTHERMODE_H, G_MDSFT_TEXTLOD, 2, type)

◆ gDPSetTextureLUT

#define gDPSetTextureLUT (   pkt,
  type 
)    gSPSetOtherMode(pkt, G_SETOTHERMODE_H, G_MDSFT_TEXTLUT, 3, type)

◆ gDPSetTexturePersp

#define gDPSetTexturePersp (   pkt,
  type 
)    gSPSetOtherMode(pkt, G_SETOTHERMODE_H, G_MDSFT_TEXTPERSP, 2, type)

◆ gDPSetTile

#define gDPSetTile (   pkt,
  fmt,
  siz,
  line,
  tmem,
  tile,
  palette,
  cmt,
  maskt,
  shiftt,
  cms,
  masks,
  shifts 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_SETTILE, 24, 8) \
| _SHIFTL((fmt), 21, 3) \
| _SHIFTL((siz), 19, 2) \
| _SHIFTL((line), 9, 9) \
| _SHIFTL((tmem), 0, 9); \
_g->words.w1 = _SHIFTL((tile), 24, 3) \
| _SHIFTL((palette), 20, 4) \
| _SHIFTL((cmt), 18, 2) \
| _SHIFTL((maskt), 14, 4) \
| _SHIFTL((shiftt), 10, 4) \
| _SHIFTL((cms), 8, 2) \
| _SHIFTL((masks), 4, 4) \
| _SHIFTL((shifts), 0, 4); \
}
Definition: gbi_old.h:59
#define G_SETTILE
Definition: gbi_old.h:115
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gDPSetTileSize

#define gDPSetTileSize (   pkt,
  tile,
  uls,
  ult,
  lrs,
  lrt 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_SETTILESIZE, 24, 8) \
| _SHIFTL(uls, 12, 12) \
| _SHIFTL(ult, 0, 12); \
_g->words.w1 = _SHIFTL(tile, 24, 3) \
| _SHIFTL(lrs, 12, 12) \
| _SHIFTL(lrt, 0, 12); \
}
Definition: gbi_old.h:59
#define G_SETTILESIZE
Definition: gbi_old.h:112
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gDPTileSync

#define gDPTileSync (   pkt)
Value:
{ \
Gfx *_g = (Gfx *) (pkt); \
_g->words.w0 = _SHIFTL(G_RDPTILESYNC, 24, 8); \
_g->words.w1 = 0x00000000; \
}
#define G_RDPTILESYNC
Definition: gbi_old.h:103
Definition: gbi_old.h:59
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gMoveWd

#define gMoveWd (   pkt,
  index,
  offset,
  data 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_MOVEWORD, 24, 8) \
| _SHIFTL((offset), 8, 16) \
| _SHIFTL((index), 0, 8); \
_g->words.w1 = (u32)(data); \
}
Definition: gbi_old.h:59
data
Definition: seq_decoder.py:292
#define G_MOVEWORD
Definition: gbi_old.h:94
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
unsigned int u32
Definition: ultratypes.h:16

◆ GPACK_RGBA5551

#define GPACK_RGBA5551 (   r,
  g,
  b,
  a 
)
Value:
((((r) << 8) & 0xF800) | \
(((g) << 3) & 0x07C0) | \
(((b) >> 2) & 0x003E) | \
((a) & 0x0001))
at end of structure union member declaration In standard C each member declaration must be terminated by a
Definition: err.english.cc:690

◆ GPACK_ZDZ

#define GPACK_ZDZ (   z,
  dz 
)    ((z) << 2 | (dz))

◆ gsDma1p

#define gsDma1p (   c,
  s,
  l,
 
)
Value:
{ \
_g->words.w0 = (_SHIFTL((c), 24, 8) | _SHIFTL((p), 16, 8) | \
_SHIFTL((l), 0, 16)); \
_g->words.w1 = (unsigned int)(s); \
}
input is a non tagged type Internal error in function gen_type_str not a type tree s Cannot open file s Prototype should be moved after tag or a typedef declaration Please look for comments in the extracted header file The extracted header file includes prototypes static for which should be if you wish to include the header in a source file other than the originator ANSI C requires formal parameter before This extension is meant to be used for compatibility with varargs h(35) syntax error cannot initialize Was the struct ever after argument a legal assembly string The float option will be ignored in ANSI mode The float option is since otherwise program semantics would violate the ANSI standard In fp constants are always double with ANSI while with float the type of fp constants will depend on the context and may be float ANSI C support unavailable with C compiler bundled with RISC os The C compiler bundled with RISC os does not support ANSI C ANSI C support requires a separate license Ignored invalid warning s s ! Warning numbers must be in the range s to s The set of warning numbers in cfe is disjoint from the set of warning numbers in since accom warnings cannot be mapped one to one to cfe warnings s not handled as an intrinsic due to incompatible argument types __unalign only qualifies pointers __unalign indicates the object pointed at by pointer is but unlike both cannot qualify a base type index expression is an anachronism ANSI C doesn t support array index expressions in delete member cannot be of function or incomplete s
Definition: err.english.cc:1194
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
is assumed Missing member name in structure union In standard C each member declaration have a member name The missing member is assumed to not exist This variable is initialized twice Neither const or volatile have any effect on function results Qualifiers only apply to expressions designating an object that can be altered or signed or unsigned integer or an enumerated type with a value greater than zero Array size cannot be a long long Arrays with more than elements are not yet supported The array size must be either a signed or unsigned integer or an enumerated type with a value greater than zero bit field s width is not an integer constant The expression that specifies the width of a bit field shall be an integral constant unsigned int
Definition: err.english.cc:726

◆ gsDPFillRectangle

#define gsDPFillRectangle (   ulx,
  uly,
  lrx,
  lry 
)
Value:
{ \
_g->words.w0 = _SHIFTL(G_FILLRECT, 24, 8) \
| _SHIFTL((lrx), 14, 10) \
| _SHIFTL((lry), 2, 10); \
_g->words.w1 = _SHIFTL(0, 24, 8) \
| _SHIFTL((ulx), 14, 10) \
| _SHIFTL((uly), 2, 10); \
}
#define G_FILLRECT
Definition: gbi_old.h:116
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gsDPFullSync

#define gsDPFullSync ( )
Value:
{ \
_g->words.w0 = _SHIFTL(G_RDPFULLSYNC, 24, 8); \
_g->words.w1 = 0x00000000; \
}
#define G_RDPFULLSYNC
Definition: gbi_old.h:104
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gsDPLoadBlock

#define gsDPLoadBlock (   tile,
  uls,
  ult,
  lrs,
  dxt 
)
Value:
{ \
_g->words.w0 = _SHIFTL(G_LOADBLOCK, 24, 8) \
| _SHIFTL((uls), 12, 12) \
| _SHIFTL((ult), 0, 12); \
_g->words.w1 = _SHIFTL((tile), 24, 3) \
| _SHIFTL((MIN((lrs),G_TX_LDBLK_MAX_TXL)), 12, 12) \
| _SHIFTL((dxt), 0, 12); \
}
#define G_LOADBLOCK
Definition: gbi_old.h:113
#define MIN(a, b)
Definition: gbi_old.h:623
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_TX_LDBLK_MAX_TXL
Definition: gbi_old.h:235

◆ gsDPLoadSync

#define gsDPLoadSync ( )
Value:
{ \
_g->words.w0 = _SHIFTL(G_RDPLOADSYNC, 24, 8); \
_g->words.w1 = 0x00000000; \
}
#define G_RDPLOADSYNC
Definition: gbi_old.h:101
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gsDPPipelineMode

#define gsDPPipelineMode (   mode)    gsSPSetOtherMode(G_SETOTHERMODE_H, 0x17, 2, mode)

◆ gsDPPipeSync

#define gsDPPipeSync ( )
Value:
{ \
_g->words.w0 = _SHIFTL(G_RDPPIPESYNC, 24, 8); \
_g->words.w1 = 0x00000000; \
}
#define G_RDPPIPESYNC
Definition: gbi_old.h:102
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gsDPSetAlphaCompare

#define gsDPSetAlphaCompare (   type)    gsSPSetOtherMode(G_SETOTHERMODE_L, G_MDSFT_ALPHACOMPARE, 3, type)

◆ gsDPSetColorDither

#define gsDPSetColorDither (   mode)    gsSPSetOtherMode(G_SETOTHERMODE_H, G_MDSFT_RGBDITHER, 3, mode)

◆ gsDPSetColorImage

#define gsDPSetColorImage (   fmt,
  size,
  width,
  image 
)
Value:
{ \
_g->words.w0 = _SHIFTL(G_SETCIMG, 24, 8) \
| _SHIFTL((fmt), 21, 3) \
| _SHIFTL((size), 19, 2) \
| _SHIFTL((width)-1, 0, 12); \
_g->words.w1 = (image); \
}
#define G_SETCIMG
Definition: gbi_old.h:125
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gsDPSetCombine

#define gsDPSetCombine (   muxs0,
  muxs1 
)
Value:
{ \
_g->words.w0 = _SHIFTL(G_SETCOMBINE, 24, 8) \
| _SHIFTL((muxs0), 0, 24); \
_g->words.w1 = (muxs1); \
}
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_SETCOMBINE
Definition: gbi_old.h:122

◆ gsDPSetCombineKey

#define gsDPSetCombineKey (   type)    gsSPSetOtherMode(G_SETOTHERMODE_H, G_MDSFT_COMBKEY, 2, type)

◆ gsDPSetCycleType

#define gsDPSetCycleType (   pkt,
  type 
)    gsSPSetOtherMode(G_SETOTHERMODE_H, G_MDSFT_CYCLETYPE, 3, type)

◆ gsDPSetDepthImage

#define gsDPSetDepthImage (   image)
Value:
{ \
_g->words.w0 = _SHIFTL(G_SETZIMG, 24, 8); \
_g->words.w1 = (image); \
}
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_SETZIMG
Definition: gbi_old.h:124

◆ gsDPSetDepthSource

#define gsDPSetDepthSource (   src)    gsSPSetOtherMode(G_SETOTHERMODE_L, G_MDSFT_ZSRCSEL, 2, src)

◆ gsDPSetEnvColor

#define gsDPSetEnvColor (   r,
  g,
  b,
  a 
)
Value:
{ \
_g->words.w0 = _SHIFTL(G_SETENVCOLOR, 24, 8); \
_g->words.w1 = _SHIFTL((r), 24, 8) \
| _SHIFTL((g), 16, 8) \
| _SHIFTL((b), 8, 8) \
| _SHIFTL((a), 0, 8); \
}
#define G_SETENVCOLOR
Definition: gbi_old.h:121
at end of structure union member declaration In standard C each member declaration must be terminated by a
Definition: err.english.cc:690
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gsDPSetFillColor

#define gsDPSetFillColor (   color)
Value:
{ \
_g->words.w0 = _SHIFTL(G_SETFILLCOLOR, 24, 8); \
_g->words.w1 = color; \
}
#define G_SETFILLCOLOR
Definition: gbi_old.h:117
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gsDPSetPrimColor

#define gsDPSetPrimColor (   m,
  l,
  r,
  g,
  b,
  a 
)
Value:
{ \
_g->words.w0 = _SHIFTL(G_SETPRIMCOLOR, 24, 8) \
| _SHIFTL(m, 8, 8) \
| _SHIFTL(l, 0, 8); \
_g->words.w1 = _SHIFTL(r, 24, 8) \
| _SHIFTL(g, 16, 8) \
| _SHIFTL(b, 8, 8) \
| _SHIFTL(a, 0, 8); \
}
at end of structure union member declaration In standard C each member declaration must be terminated by a
Definition: err.english.cc:690
#define G_SETPRIMCOLOR
Definition: gbi_old.h:120
def m
Definition: first-diff.py:153
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gsDPSetRenderMode

#define gsDPSetRenderMode (   c0,
  c1 
)    gsSPSetOtherMode(G_SETOTHERMODE_L, G_MDSFT_RENDERMODE, 30, (c0) | (c1))

◆ gsDPSetScissor

#define gsDPSetScissor (   mode,
  ulx,
  uly,
  lrx,
  lry 
)
Value:
{ \
_g->words.w0 = _SHIFTL(G_SETSCISSOR, 24, 8) \
| _SHIFTL((int)((float)(ulx)*4.0f), 12, 12) \
| _SHIFTL((int)((float)(uly)*4.0f), 0, 12); \
_g->words.w1 = _SHIFTL((mode), 24, 8) \
| _SHIFTL((int)((float)(lrx)*4.0f), 12, 12) \
| _SHIFTL((int)((float)(lry)*4.0f), 0, 12); \
}
#define G_SETSCISSOR
Definition: gbi_old.h:108
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gsDPSetTextureConvert

#define gsDPSetTextureConvert (   type)    gsSPSetOtherMode(G_SETOTHERMODE_H, G_MDSFT_TEXTCONV, 4, type)

◆ gsDPSetTextureDetail

#define gsDPSetTextureDetail (   type)    gsSPSetOtherMode(G_SETOTHERMODE_H, G_MDSFT_TEXTDETAIL, 3, type)

◆ gsDPSetTextureFilter

#define gsDPSetTextureFilter (   type)    gsSPSetOtherMode(G_SETOTHERMODE_H, G_MDSFT_TEXTFILT, 3, type)

◆ gsDPSetTextureImage

#define gsDPSetTextureImage (   fmt,
  size,
  width,
  img 
)
Value:
{ \
_g->words.w0 = _SHIFTL(G_SETTIMG, 24, 8) \
| _SHIFTL((fmt), 21, 3) \
| _SHIFTL((size), 19, 2) \
| _SHIFTL((width)-1, 0, 12); \
_g->words.w1 = (u32)(img); \
}
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_SETTIMG
Definition: gbi_old.h:123
unsigned int u32
Definition: ultratypes.h:16

◆ gsDPSetTextureLOD

#define gsDPSetTextureLOD (   type)    gsSPSetOtherMode(G_SETOTHERMODE_H, G_MDSFT_TEXTLOD, 2, type)

◆ gsDPSetTextureLUT

#define gsDPSetTextureLUT (   type)    gsSPSetOtherMode(G_SETOTHERMODE_H, G_MDSFT_TEXTLUT, 3, type)

◆ gsDPSetTexturePersp

#define gsDPSetTexturePersp (   type)    gsSPSetOtherMode(G_SETOTHERMODE_H, G_MDSFT_TEXTPERSP, 2, type)

◆ gsDPSetTile

#define gsDPSetTile (   fmt,
  siz,
  line,
  tmem,
  tile,
  palette,
  cmt,
  maskt,
  shiftt,
  cms,
  masks,
  shifts 
)
Value:
{ \
_g->words.w0 = _SHIFTL(G_SETTILE, 24, 8) \
| _SHIFTL((fmt), 21, 3) \
| _SHIFTL((siz), 19, 2) \
| _SHIFTL((line), 9, 9) \
| _SHIFTL((tmem), 0, 9); \
_g->words.w1 = _SHIFTL((tile), 24, 3) \
| _SHIFTL((palette), 20, 4) \
| _SHIFTL((cmt), 18, 2) \
| _SHIFTL((maskt), 14, 4) \
| _SHIFTL((shiftt), 10, 4) \
| _SHIFTL((cms), 8, 2) \
| _SHIFTL((masks), 4, 4) \
| _SHIFTL((shifts), 0, 4); \
}
#define G_SETTILE
Definition: gbi_old.h:115
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gsDPSetTileSize

#define gsDPSetTileSize (   tile,
  uls,
  ult,
  lrs,
  lrt 
)
Value:
{ \
_g->words.w0 = _SHIFTL(G_SETTILESIZE, 24, 8) \
| _SHIFTL(uls, 12, 12) \
| _SHIFTL(ult, 0, 12); \
_g->words.w1 = _SHIFTL(tile, 24, 3) \
| _SHIFTL(lrs, 12, 12) \
| _SHIFTL(lrt, 0, 12); \
}
#define G_SETTILESIZE
Definition: gbi_old.h:112
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gsDPTileSync

#define gsDPTileSync ( )
Value:
{ \
_g->words.w0 = _SHIFTL(G_RDPTILESYNC, 24, 8); \
_g->words.w1 = 0x00000000; \
}
#define G_RDPTILESYNC
Definition: gbi_old.h:103
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gsMoveWd

#define gsMoveWd (   index,
  offset,
  data 
)
Value:
{ \
_g->words.w0 = _SHIFTL(G_MOVEWORD, 24, 8) \
| _SHIFTL((offset), 8, 16) \
| _SHIFTL((index), 0, 8); \
_g->words.w1 = (u32)(data); \
}
data
Definition: seq_decoder.py:292
#define G_MOVEWORD
Definition: gbi_old.h:94
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
unsigned int u32
Definition: ultratypes.h:16

◆ gSP1Triangle

#define gSP1Triangle (   pkt,
  v0,
  v1,
  v2,
  flag 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_TRI1, 24, 8); \
_g->words.w1 = _SHIFTL((flag), 24, 8) \
| _SHIFTL((v0)*10, 16, 8) \
| _SHIFTL((v1)*10, 8, 8) \
| _SHIFTL((v2)*10, 0, 8); \
}
Definition: gbi_old.h:59
#define G_TRI1
Definition: gbi_old.h:97
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gSPBranchList

#define gSPBranchList (   pkt,
  dl 
)    gDma1p(pkt, G_DL, dl, 0, G_DL_NOPUSH)

◆ gSPClearGeometryMode

#define gSPClearGeometryMode (   pkt,
  mode 
)
Value:
{ \
Gfx *_g = (Gfx *) (pkt); \
_g->words.w0 = _SHIFTL(G_CLEARGEOMETRYMODE, 24, 8); \
_g->words.w1 = mode; \
}
Definition: gbi_old.h:59
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_CLEARGEOMETRYMODE
Definition: gbi_old.h:90

◆ gSPDisplayList

#define gSPDisplayList (   pkt,
  dl 
)
Value:
{ \
Gfx *_g = (Gfx *) (pkt); \
_g->words.w0 = _SHIFTL(G_DL, 24, 8); \
_g->words.w1 = (u32)(dl); \
}
#define G_DL
Definition: gbi_old.h:76
Definition: gbi_old.h:59
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
unsigned int u32
Definition: ultratypes.h:16

◆ gSPEndDisplayList

#define gSPEndDisplayList (   pkt)
Value:
{ \
Gfx *_g = (Gfx *) (pkt); \
_g->words.w0 = _SHIFTL(G_ENDDL, 24, 8); \
_g->words.w1 = 0x00000000; \
}
#define G_ENDDL
Definition: gbi_old.h:92
Definition: gbi_old.h:59
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gSPLight

#define gSPLight (   pkt,
  l,
 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_MOVEMEM, 24, 8) \
| _SHIFTL(((n)-1)*2+G_MV_L0, 16, 8) \
| _SHIFTL(sizeof(Light), 0, 16); \
_g->words.w1 = (u32)(l); \
}
Definition: gbi_old.h:59
#define G_MV_L0
Definition: gbi_old.h:240
Definition: gbi_old.h:1474
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_MOVEMEM
Definition: gbi_old.h:74
unsigned int u32
Definition: ultratypes.h:16

◆ gSPLookAt

#define gSPLookAt (   pkt,
  la 
)
Value:
{ \
gSPLookAtX((pkt), (la)) \
gSPLookAtY((pkt), (char *)(la)+16) \
}

◆ gSPLookAtX

#define gSPLookAtX (   pkt,
  la 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_MOVEMEM, 24, 8) \
| _SHIFTL(G_MV_LOOKATX, 16, 8) \
| _SHIFTL(sizeof(Light), 0, 16); \
_g->words.w1 = (u32)(la); \
}
#define G_MV_LOOKATX
Definition: gbi_old.h:239
Definition: gbi_old.h:59
Definition: gbi_old.h:1474
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_MOVEMEM
Definition: gbi_old.h:74
unsigned int u32
Definition: ultratypes.h:16

◆ gSPLookAtY

#define gSPLookAtY (   pkt,
  la 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_MOVEMEM, 24, 8) \
| _SHIFTL(G_MV_LOOKATY, 16, 8) \
| _SHIFTL(sizeof(Light), 0, 16); \
_g->words.w1 = (u32)(la); \
}
Definition: gbi_old.h:59
#define G_MV_LOOKATY
Definition: gbi_old.h:238
Definition: gbi_old.h:1474
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_MOVEMEM
Definition: gbi_old.h:74
unsigned int u32
Definition: ultratypes.h:16

◆ gSPMatrix

#define gSPMatrix (   pkt,
  m,
 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_MTX, 24, 8) \
| _SHIFTL((p), 16, 8) \
| _SHIFTL(sizeof(Mtx), 0, 16); \
_g->words.w1 = (u32)(m); \
}
#define G_MTX
Definition: gbi_old.h:73
Definition: gbi_old.h:59
def m
Definition: first-diff.py:153
Definition: gbi_old.h:46
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
unsigned int u32
Definition: ultratypes.h:16

◆ gSPNumLights

#define gSPNumLights (   pkt,
 
)    gMoveWd(pkt, G_MW_NUMLIGHT, G_MWO_NUMLIGHT, NUML(n))

◆ gSPPerspNormalize

#define gSPPerspNormalize (   pkt,
  s 
)
Value:
{ \
Gfx *g = pkt; \
g->words.w0 = _SHIFTL(G_RDPHALF_1, 24, 8); \
g->words.w1 = s; \
}
#define G_RDPHALF_1
Definition: gbi_old.h:88
input is a non tagged type Internal error in function gen_type_str not a type tree s Cannot open file s Prototype should be moved after tag or a typedef declaration Please look for comments in the extracted header file The extracted header file includes prototypes static for which should be if you wish to include the header in a source file other than the originator ANSI C requires formal parameter before This extension is meant to be used for compatibility with varargs h(35) syntax error cannot initialize Was the struct ever after argument a legal assembly string The float option will be ignored in ANSI mode The float option is since otherwise program semantics would violate the ANSI standard In fp constants are always double with ANSI while with float the type of fp constants will depend on the context and may be float ANSI C support unavailable with C compiler bundled with RISC os The C compiler bundled with RISC os does not support ANSI C ANSI C support requires a separate license Ignored invalid warning s s ! Warning numbers must be in the range s to s The set of warning numbers in cfe is disjoint from the set of warning numbers in since accom warnings cannot be mapped one to one to cfe warnings s not handled as an intrinsic due to incompatible argument types __unalign only qualifies pointers __unalign indicates the object pointed at by pointer is but unlike both cannot qualify a base type index expression is an anachronism ANSI C doesn t support array index expressions in delete member cannot be of function or incomplete s
Definition: err.english.cc:1194
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gSPPopMatrix

#define gSPPopMatrix (   pkt,
 
)
Value:
{ \
Gfx *_g = (Gfx *) (pkt); \
_g->words.w0 = 0xBD000000; \
_g->words.w1 = (n); \
}
Definition: gbi_old.h:59

◆ gSPSetGeometryMode

#define gSPSetGeometryMode (   pkt,
  word 
)
Value:
{ \
Gfx *_g = (Gfx *) (pkt); \
_g->words.w0 = _SHIFTL(G_SETGEOMETRYMODE, 24, 8); \
_g->words.w1 = word; \
}
Definition: gbi_old.h:59
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_SETGEOMETRYMODE
Definition: gbi_old.h:91

◆ gSPSetOtherMode

#define gSPSetOtherMode (   pkt,
  cmd,
  shift,
  length,
  data 
)
Value:
{ \
Gfx *_g = (Gfx *) (pkt); \
_g->words.w0 = _SHIFTL((cmd), 24, 8) \
| _SHIFTL((shift), 8, 8) \
| _SHIFTL(((length)-1), 0, 8); \
_g->words.w1 = (data); \
}
Definition: gbi_old.h:59
data
Definition: seq_decoder.py:292
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gSPTexture

#define gSPTexture (   pkt,
  sc,
  tc,
  level,
  tile,
  on 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_TEXTURE, 24, 8) \
| _SHIFTL(0, 16, 8) \
| _SHIFTL((level), 11, 3) \
| _SHIFTL((tile), 8, 3) \
| _SHIFTL((on), 0, 8); \
_g->words.w1 = _SHIFTL((sc), 16, 16) \
| _SHIFTL((tc), 0, 16); \
}
Definition: gbi_old.h:59
#define G_TEXTURE
Definition: gbi_old.h:93
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gSPTextureRectangle

#define gSPTextureRectangle (   pkt,
  xl,
  yl,
  xh,
  yh,
  tile,
  s,
  t,
  dsdx,
  dtdy 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_TEXRECT, 24, 8) \
| _SHIFTL((xh), 12, 12) \
| _SHIFTL((yh), 0, 12); \
_g->words.w1 = _SHIFTL((tile), 24, 3) \
| _SHIFTL((xl), 12, 12) \
| _SHIFTL((yl), 0, 12); \
} \
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_RDPHALF_2, 24, 8); \
_g->words.w1 = _SHIFTL((s), 16, 16) \
| _SHIFTL((t), 0, 16); \
} \
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_RDPHALF_CONT, 24, 8); \
_g->words.w1 = _SHIFTL((dsdx), 16, 16) \
| _SHIFTL((dtdy), 0, 16); \
}
Definition: gbi_old.h:59
#define G_TEXRECT
Definition: gbi_old.h:99
#define G_RDPHALF_CONT
Definition: gbi_old.h:83
input is a non tagged type Internal error in function gen_type_str not a type tree s Cannot open file s Prototype should be moved after tag or a typedef declaration Please look for comments in the extracted header file The extracted header file includes prototypes static for which should be if you wish to include the header in a source file other than the originator ANSI C requires formal parameter before This extension is meant to be used for compatibility with varargs h(35) syntax error cannot initialize Was the struct ever after argument a legal assembly string The float option will be ignored in ANSI mode The float option is since otherwise program semantics would violate the ANSI standard In fp constants are always double with ANSI while with float the type of fp constants will depend on the context and may be float ANSI C support unavailable with C compiler bundled with RISC os The C compiler bundled with RISC os does not support ANSI C ANSI C support requires a separate license Ignored invalid warning s s ! Warning numbers must be in the range s to s The set of warning numbers in cfe is disjoint from the set of warning numbers in since accom warnings cannot be mapped one to one to cfe warnings s not handled as an intrinsic due to incompatible argument types __unalign only qualifies pointers __unalign indicates the object pointed at by pointer is but unlike both cannot qualify a base type index expression is an anachronism ANSI C doesn t support array index expressions in delete member cannot be of function or incomplete s
Definition: err.english.cc:1194
#define G_RDPHALF_2
Definition: gbi_old.h:87
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gSPVertex

#define gSPVertex (   pkt,
  v,
  n,
  v0 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_VTX, 24, 8) \
| _SHIFTL(((n)-1) << 4 | (v0), 16, 8) \
| _SHIFTL(sizeof(Vtx)*(n), 0, 16); \
_g->words.w1 = (u32)(v); \
}
Definition: gbi_old.h:59
Definition: gbi_old.h:25
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_VTX
Definition: gbi_old.h:75
unsigned int u32
Definition: ultratypes.h:16

◆ gSPViewport

#define gSPViewport (   pkt,
 
)
Value:
{ \
Gfx *_g = (Gfx *)(pkt); \
_g->words.w0 = _SHIFTL(G_MOVEMEM, 24, 8) \
| _SHIFTL(G_MV_VIEWPORT, 16, 8) \
| _SHIFTL(sizeof(Vp), 0, 16); \
_g->words.w1 = (u32)(v); \
}
Definition: gbi_old.h:59
#define G_MV_VIEWPORT
Definition: gbi_old.h:237
Definition: gbi_old.h:39
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_MOVEMEM
Definition: gbi_old.h:74
unsigned int u32
Definition: ultratypes.h:16

◆ gsSP1Triangle

#define gsSP1Triangle (   v0,
  v1,
  v2,
  flag 
)
Value:
{ \
_g->words.w0 = _SHIFTL(G_TRI1, 24, 8); \
_g->words.w1 = _SHIFTL((flag), 24, 8) \
| _SHIFTL((v0)*10, 16, 8) \
| _SHIFTL((v1)*10, 8, 8) \
| _SHIFTL((v2)*10, 0, 8); \
}
#define G_TRI1
Definition: gbi_old.h:97
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gsSPBranchList

#define gsSPBranchList (   pkt,
  dl 
)    gsDma1p(G_DL, dl, 0, G_DL_NOPUSH)

◆ gsSPClearGeometryMode

#define gsSPClearGeometryMode (   pkt,
  mode 
)
Value:
{ \
_g->words.w0 = _SHIFTL(G_CLEARGEOMETRYMODE, 24, 8); \
_g->words.w1 = mode; \
}
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_CLEARGEOMETRYMODE
Definition: gbi_old.h:90

◆ gsSPDisplayList

#define gsSPDisplayList (   dl)
Value:
{ \
_g->words.w0 = _SHIFTL(G_DL, 24, 8); \
_g->words.w1 = (u32)(dl); \
}
#define G_DL
Definition: gbi_old.h:76
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
unsigned int u32
Definition: ultratypes.h:16

◆ gsSPEndDisplayList

#define gsSPEndDisplayList ( )
Value:
{ \
_g->words.w0 = _SHIFTL(G_ENDDL, 24, 8); \
_g->words.w1 = 0x00000000; \
}
#define G_ENDDL
Definition: gbi_old.h:92
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gsSPLight

#define gsSPLight (   l,
 
)
Value:
{ \
_g->words.w0 = _SHIFTL(G_MOVEMEM, 24, 8) \
| _SHIFTL(((n)-1)*2+G_MV_L0, 16, 8) \
| _SHIFTL(sizeof(Light), 0, 16); \
_g->words.w1 = (u32)(l); \
}
#define G_MV_L0
Definition: gbi_old.h:240
Definition: gbi_old.h:1474
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_MOVEMEM
Definition: gbi_old.h:74
unsigned int u32
Definition: ultratypes.h:16

◆ gsSPLookAt

#define gsSPLookAt (   la)
Value:
{ \
gsSPLookAtX((la)) \
gsSPLookAtY((char *)(la)+16) \
}

◆ gsSPLookAtX

#define gsSPLookAtX (   la)
Value:
{ \
_g->words.w0 = _SHIFTL(G_MOVEMEM, 24, 8) \
| _SHIFTL(G_MV_LOOKATX, 16, 8) \
| _SHIFTL(sizeof(Light), 0, 16); \
_g->words.w1 = (u32)(la); \
}
#define G_MV_LOOKATX
Definition: gbi_old.h:239
Definition: gbi_old.h:1474
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_MOVEMEM
Definition: gbi_old.h:74
unsigned int u32
Definition: ultratypes.h:16

◆ gsSPLookAtY

#define gsSPLookAtY (   la)
Value:
{ \
_g->words.w0 = _SHIFTL(G_MOVEMEM, 24, 8) \
| _SHIFTL(G_MV_LOOKATY, 16, 8) \
| _SHIFTL(sizeof(Light), 0, 16); \
_g->words.w1 = (u32)(la); \
}
#define G_MV_LOOKATY
Definition: gbi_old.h:238
Definition: gbi_old.h:1474
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_MOVEMEM
Definition: gbi_old.h:74
unsigned int u32
Definition: ultratypes.h:16

◆ gsSPMatrix

#define gsSPMatrix (   m,
 
)
Value:
{ \
_g->words.w0 = _SHIFTL(G_MTX, 24, 8) \
| _SHIFTL((p), 16, 8) \
| _SHIFTL(sizeof(Mtx), 0, 16); \
_g->words.w1 = (u32)(m); \
}
#define G_MTX
Definition: gbi_old.h:73
def m
Definition: first-diff.py:153
Definition: gbi_old.h:46
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
unsigned int u32
Definition: ultratypes.h:16

◆ gsSPNumLights

#define gsSPNumLights (   n)    gsMoveWd(G_MW_NUMLIGHT, G_MWO_NUMLIGHT, NUML(n))

◆ gsSPPerspNormalize

#define gsSPPerspNormalize (   s)
Value:
{ \
g->words.w0 = _SHIFTL(G_RDPHALF_1, 24, 8); \
g->words.w1 = s; \
}
#define G_RDPHALF_1
Definition: gbi_old.h:88
input is a non tagged type Internal error in function gen_type_str not a type tree s Cannot open file s Prototype should be moved after tag or a typedef declaration Please look for comments in the extracted header file The extracted header file includes prototypes static for which should be if you wish to include the header in a source file other than the originator ANSI C requires formal parameter before This extension is meant to be used for compatibility with varargs h(35) syntax error cannot initialize Was the struct ever after argument a legal assembly string The float option will be ignored in ANSI mode The float option is since otherwise program semantics would violate the ANSI standard In fp constants are always double with ANSI while with float the type of fp constants will depend on the context and may be float ANSI C support unavailable with C compiler bundled with RISC os The C compiler bundled with RISC os does not support ANSI C ANSI C support requires a separate license Ignored invalid warning s s ! Warning numbers must be in the range s to s The set of warning numbers in cfe is disjoint from the set of warning numbers in since accom warnings cannot be mapped one to one to cfe warnings s not handled as an intrinsic due to incompatible argument types __unalign only qualifies pointers __unalign indicates the object pointed at by pointer is but unlike both cannot qualify a base type index expression is an anachronism ANSI C doesn t support array index expressions in delete member cannot be of function or incomplete s
Definition: err.english.cc:1194
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gsSPPopMatrix

#define gsSPPopMatrix (   pkt,
 
)
Value:
{ \
_g->words.w0 = 0xBD000000; \
_g->words.w1 = (n); \
}

◆ gsSPSetGeometryMode

#define gsSPSetGeometryMode (   word)
Value:
{ \
_g->words.w0 = _SHIFTL(G_SETGEOMETRYMODE, 24, 8); \
_g->words.w1 = word; \
}
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_SETGEOMETRYMODE
Definition: gbi_old.h:91

◆ gsSPSetOtherMode

#define gsSPSetOtherMode (   cmd,
  shift,
  length,
  data 
)
Value:
{ \
_g->words.w0 = _SHIFTL((cmd), 24, 8) \
| _SHIFTL((shift), 8, 8) \
| _SHIFTL(((length)-1), 0, 8); \
_g->words.w1 = (data); \
}
data
Definition: seq_decoder.py:292
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gsSPTexture

#define gsSPTexture (   sc,
  tc,
  level,
  tile,
  on 
)
Value:
{ \
_g->words.w0 = _SHIFTL(G_TEXTURE, 24, 8) \
| _SHIFTL(0, 16, 8) \
| _SHIFTL((level), 11, 3) \
| _SHIFTL((tile), 8, 3) \
| _SHIFTL((on), 0, 8); \
_g->words.w1 = _SHIFTL((sc), 16, 16) \
| _SHIFTL((tc), 0, 16); \
}
#define G_TEXTURE
Definition: gbi_old.h:93
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gsSPTextureRectangle

#define gsSPTextureRectangle (   xl,
  yl,
  xh,
  yh,
  tile,
  s,
  t,
  dsdx,
  dtdy 
)
Value:
{ \
_g->words.w0 = _SHIFTL(G_TEXRECT, 24, 8) \
| _SHIFTL((xh), 12, 12) \
| _SHIFTL((yh), 0, 12); \
_g->words.w1 = _SHIFTL((tile), 24, 3) \
| _SHIFTL((xl), 12, 12) \
| _SHIFTL((yl), 0, 12); \
} \
{ \
_g->words.w0 = _SHIFTL(G_RDPHALF_2, 24, 8); \
_g->words.w1 = _SHIFTL((s), 16, 16) \
| _SHIFTL((t), 0, 16); \
} \
{ \
_g->words.w0 = _SHIFTL(G_RDPHALF_CONT, 24, 8); \
_g->words.w1 = _SHIFTL((dsdx), 16, 16) \
| _SHIFTL((dtdy), 0, 16); \
}
#define G_TEXRECT
Definition: gbi_old.h:99
#define G_RDPHALF_CONT
Definition: gbi_old.h:83
input is a non tagged type Internal error in function gen_type_str not a type tree s Cannot open file s Prototype should be moved after tag or a typedef declaration Please look for comments in the extracted header file The extracted header file includes prototypes static for which should be if you wish to include the header in a source file other than the originator ANSI C requires formal parameter before This extension is meant to be used for compatibility with varargs h(35) syntax error cannot initialize Was the struct ever after argument a legal assembly string The float option will be ignored in ANSI mode The float option is since otherwise program semantics would violate the ANSI standard In fp constants are always double with ANSI while with float the type of fp constants will depend on the context and may be float ANSI C support unavailable with C compiler bundled with RISC os The C compiler bundled with RISC os does not support ANSI C ANSI C support requires a separate license Ignored invalid warning s s ! Warning numbers must be in the range s to s The set of warning numbers in cfe is disjoint from the set of warning numbers in since accom warnings cannot be mapped one to one to cfe warnings s not handled as an intrinsic due to incompatible argument types __unalign only qualifies pointers __unalign indicates the object pointed at by pointer is but unlike both cannot qualify a base type index expression is an anachronism ANSI C doesn t support array index expressions in delete member cannot be of function or incomplete s
Definition: err.english.cc:1194
#define G_RDPHALF_2
Definition: gbi_old.h:87
#define _SHIFTL(v, s, w)
Definition: mbi.h:47

◆ gsSPVertex

#define gsSPVertex (   v,
  n,
  v0 
)
Value:
{ \
_g->words.w0 = _SHIFTL(G_VTX, 24, 8) \
| _SHIFTL(((n)-1) << 4 | (v0), 16, 8) \
| _SHIFTL(sizeof(Vtx)*(n), 0, 16); \
_g->words.w1 = (u32)(v); \
}
Definition: gbi_old.h:25
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_VTX
Definition: gbi_old.h:75
unsigned int u32
Definition: ultratypes.h:16

◆ gsSPViewport

#define gsSPViewport (   v)
Value:
{ \
_g->words.w0 = _SHIFTL(G_MOVEMEM, 24, 8) \
| _SHIFTL(G_MV_VIEWPORT, 16, 8) \
| _SHIFTL(sizeof(Vp), 0, 16); \
_g->words.w1 = (u32)(v); \
}
#define G_MV_VIEWPORT
Definition: gbi_old.h:237
Definition: gbi_old.h:39
#define _SHIFTL(v, s, w)
Definition: mbi.h:47
#define G_MOVEMEM
Definition: gbi_old.h:74
unsigned int u32
Definition: ultratypes.h:16

◆ IM_RD

#define IM_RD   0x40

◆ LIGHT_1

#define LIGHT_1   1

◆ LIGHT_2

#define LIGHT_2   2

◆ LIGHT_3

#define LIGHT_3   3

◆ LIGHT_4

#define LIGHT_4   4

◆ LIGHT_5

#define LIGHT_5   5

◆ LIGHT_6

#define LIGHT_6   6

◆ LIGHT_7

#define LIGHT_7   7

◆ LIGHT_8

#define LIGHT_8   8

◆ MAX

#define MAX (   a,
 
)    ((a) > (b) ? (a) : (b))

◆ MIN

#define MIN (   a,
 
)    ((a) < (b) ? (a) : (b))

◆ NUML

#define NUML (   n)    (((n)+1)*32 + 0x80000000)

◆ NUMLIGHTS_0

#define NUMLIGHTS_0   1

◆ NUMLIGHTS_1

#define NUMLIGHTS_1   1

◆ NUMLIGHTS_2

#define NUMLIGHTS_2   2

◆ NUMLIGHTS_3

#define NUMLIGHTS_3   3

◆ NUMLIGHTS_4

#define NUMLIGHTS_4   4

◆ NUMLIGHTS_5

#define NUMLIGHTS_5   5

◆ NUMLIGHTS_6

#define NUMLIGHTS_6   6

◆ NUMLIGHTS_7

#define NUMLIGHTS_7   7

◆ RM_AA_DEC_LINE

#define RM_AA_DEC_LINE (   clk)
Value:
ALPHA_CVG_SEL | FORCE_BL | ZMODE_OPA | \
#define G_BL_1MA
Definition: gbi_old.h:281
#define ZMODE_OPA
Definition: gbi_old.h:268
#define AA_EN
Definition: gbi_old.h:259
#define CVG_DST_FULL
Definition: gbi_old.h:266
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define FORCE_BL
Definition: gbi_old.h:274
#define CVG_X_ALPHA
Definition: gbi_old.h:272
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_AA_OPA_SURF

#define RM_AA_OPA_SURF (   clk)
Value:
ZMODE_OPA | ALPHA_CVG_SEL | \
#define ALPHA_CVG_SEL
Definition: gbi_old.h:273
#define G_BL_A_MEM
Definition: gbi_old.h:282
#define AA_EN
Definition: gbi_old.h:259
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define CVG_DST_CLAMP
Definition: gbi_old.h:264
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_AA_OPA_TERR

#define RM_AA_OPA_TERR (   clk)
Value:
ZMODE_OPA | ALPHA_CVG_SEL | \
#define G_BL_1MA
Definition: gbi_old.h:281
#define ALPHA_CVG_SEL
Definition: gbi_old.h:273
#define AA_EN
Definition: gbi_old.h:259
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define CVG_DST_CLAMP
Definition: gbi_old.h:264
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_AA_PCL_SURF

#define RM_AA_PCL_SURF (   clk)
Value:
ZMODE_OPA | G_AC_DITHER | \
#define G_BL_1MA
Definition: gbi_old.h:281
#define AA_EN
Definition: gbi_old.h:259
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define CVG_DST_CLAMP
Definition: gbi_old.h:264
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262
#define G_AC_DITHER
Definition: gbi_old.h:179

◆ RM_AA_SUB_SURF

#define RM_AA_SUB_SURF (   clk)
Value:
ZMODE_OPA | ALPHA_CVG_SEL | \
#define ALPHA_CVG_SEL
Definition: gbi_old.h:273
#define G_BL_A_MEM
Definition: gbi_old.h:282
#define AA_EN
Definition: gbi_old.h:259
#define CVG_DST_FULL
Definition: gbi_old.h:266
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_AA_SUB_TERR

#define RM_AA_SUB_TERR (   clk)
Value:
ZMODE_OPA | ALPHA_CVG_SEL | \
#define G_BL_1MA
Definition: gbi_old.h:281
#define ALPHA_CVG_SEL
Definition: gbi_old.h:273
#define AA_EN
Definition: gbi_old.h:259
#define CVG_DST_FULL
Definition: gbi_old.h:266
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_AA_TEX_EDGE

#define RM_AA_TEX_EDGE (   clk)
Value:
CVG_X_ALPHA | ALPHA_CVG_SEL | ZMODE_OPA | TEX_EDGE | \
#define TEX_EDGE
Definition: gbi_old.h:275
#define ALPHA_CVG_SEL
Definition: gbi_old.h:273
#define ZMODE_OPA
Definition: gbi_old.h:268
#define G_BL_A_MEM
Definition: gbi_old.h:282
#define AA_EN
Definition: gbi_old.h:259
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define CVG_DST_CLAMP
Definition: gbi_old.h:264
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_AA_TEX_TERR

#define RM_AA_TEX_TERR (   clk)
Value:
CVG_X_ALPHA | ALPHA_CVG_SEL | ZMODE_OPA | TEX_EDGE | \
#define G_BL_1MA
Definition: gbi_old.h:281
#define TEX_EDGE
Definition: gbi_old.h:275
#define ALPHA_CVG_SEL
Definition: gbi_old.h:273
#define ZMODE_OPA
Definition: gbi_old.h:268
#define AA_EN
Definition: gbi_old.h:259
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define CVG_DST_CLAMP
Definition: gbi_old.h:264
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_AA_XLU_LINE

#define RM_AA_XLU_LINE (   clk)
Value:
ALPHA_CVG_SEL | FORCE_BL | ZMODE_OPA | \
#define G_BL_1MA
Definition: gbi_old.h:281
#define ZMODE_OPA
Definition: gbi_old.h:268
#define AA_EN
Definition: gbi_old.h:259
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define CVG_DST_CLAMP
Definition: gbi_old.h:264
#define FORCE_BL
Definition: gbi_old.h:274
#define CVG_X_ALPHA
Definition: gbi_old.h:272
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_AA_XLU_SURF

#define RM_AA_XLU_SURF (   clk)
Value:
ZMODE_OPA | \
#define G_BL_1MA
Definition: gbi_old.h:281
#define CLR_ON_CVG
Definition: gbi_old.h:263
#define AA_EN
Definition: gbi_old.h:259
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define FORCE_BL
Definition: gbi_old.h:274
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262
#define CVG_DST_WRAP
Definition: gbi_old.h:265

◆ RM_AA_ZB_DEC_LINE

#define RM_AA_ZB_DEC_LINE (   clk)
Value:
ALPHA_CVG_SEL | FORCE_BL | ZMODE_DEC | \
#define G_BL_1MA
Definition: gbi_old.h:281
#define ZMODE_DEC
Definition: gbi_old.h:271
#define Z_CMP
Definition: gbi_old.h:260
#define CVG_DST_SAVE
Definition: gbi_old.h:267
#define AA_EN
Definition: gbi_old.h:259
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define FORCE_BL
Definition: gbi_old.h:274
#define CVG_X_ALPHA
Definition: gbi_old.h:272
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_AA_ZB_OPA_DECAL

#define RM_AA_ZB_OPA_DECAL (   clk)
Value:
ZMODE_DEC | \
#define ALPHA_CVG_SEL
Definition: gbi_old.h:273
#define Z_CMP
Definition: gbi_old.h:260
#define G_BL_A_MEM
Definition: gbi_old.h:282
#define AA_EN
Definition: gbi_old.h:259
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262
#define CVG_DST_WRAP
Definition: gbi_old.h:265

◆ RM_AA_ZB_OPA_INTER

#define RM_AA_ZB_OPA_INTER (   clk)
Value:
ALPHA_CVG_SEL | ZMODE_INTER | \
#define Z_CMP
Definition: gbi_old.h:260
#define G_BL_A_MEM
Definition: gbi_old.h:282
#define ZMODE_INTER
Definition: gbi_old.h:269
#define AA_EN
Definition: gbi_old.h:259
#define Z_UPD
Definition: gbi_old.h:261
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define CVG_DST_CLAMP
Definition: gbi_old.h:264
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_AA_ZB_OPA_SURF

#define RM_AA_ZB_OPA_SURF (   clk)
Value:
ZMODE_OPA | ALPHA_CVG_SEL | \
#define ALPHA_CVG_SEL
Definition: gbi_old.h:273
#define Z_CMP
Definition: gbi_old.h:260
#define G_BL_A_MEM
Definition: gbi_old.h:282
#define AA_EN
Definition: gbi_old.h:259
#define Z_UPD
Definition: gbi_old.h:261
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define CVG_DST_CLAMP
Definition: gbi_old.h:264
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_AA_ZB_OPA_TERR

#define RM_AA_ZB_OPA_TERR (   clk)
Value:
ZMODE_OPA | ALPHA_CVG_SEL | \
#define G_BL_1MA
Definition: gbi_old.h:281
#define ALPHA_CVG_SEL
Definition: gbi_old.h:273
#define Z_CMP
Definition: gbi_old.h:260
#define AA_EN
Definition: gbi_old.h:259
#define Z_UPD
Definition: gbi_old.h:261
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define CVG_DST_CLAMP
Definition: gbi_old.h:264
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_AA_ZB_PCL_SURF

#define RM_AA_ZB_PCL_SURF (   clk)
Value:
ZMODE_OPA | G_AC_DITHER | \
#define G_BL_1MA
Definition: gbi_old.h:281
#define Z_CMP
Definition: gbi_old.h:260
#define AA_EN
Definition: gbi_old.h:259
#define Z_UPD
Definition: gbi_old.h:261
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define CVG_DST_CLAMP
Definition: gbi_old.h:264
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262
#define G_AC_DITHER
Definition: gbi_old.h:179

◆ RM_AA_ZB_SUB_SURF

#define RM_AA_ZB_SUB_SURF (   clk)
Value:
ZMODE_OPA | ALPHA_CVG_SEL | \
#define ALPHA_CVG_SEL
Definition: gbi_old.h:273
#define Z_CMP
Definition: gbi_old.h:260
#define G_BL_A_MEM
Definition: gbi_old.h:282
#define AA_EN
Definition: gbi_old.h:259
#define Z_UPD
Definition: gbi_old.h:261
#define CVG_DST_FULL
Definition: gbi_old.h:266
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_AA_ZB_SUB_TERR

#define RM_AA_ZB_SUB_TERR (   clk)
Value:
ZMODE_OPA | ALPHA_CVG_SEL | \
#define G_BL_1MA
Definition: gbi_old.h:281
#define ALPHA_CVG_SEL
Definition: gbi_old.h:273
#define Z_CMP
Definition: gbi_old.h:260
#define AA_EN
Definition: gbi_old.h:259
#define Z_UPD
Definition: gbi_old.h:261
#define CVG_DST_FULL
Definition: gbi_old.h:266
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_AA_ZB_TEX_EDGE

#define RM_AA_ZB_TEX_EDGE (   clk)
Value:
CVG_X_ALPHA | ALPHA_CVG_SEL | ZMODE_OPA | TEX_EDGE | \
#define TEX_EDGE
Definition: gbi_old.h:275
#define ALPHA_CVG_SEL
Definition: gbi_old.h:273
#define ZMODE_OPA
Definition: gbi_old.h:268
#define Z_CMP
Definition: gbi_old.h:260
#define G_BL_A_MEM
Definition: gbi_old.h:282
#define AA_EN
Definition: gbi_old.h:259
#define Z_UPD
Definition: gbi_old.h:261
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define CVG_DST_CLAMP
Definition: gbi_old.h:264
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_AA_ZB_TEX_INTER

#define RM_AA_ZB_TEX_INTER (   clk)
Value:
CVG_X_ALPHA | ALPHA_CVG_SEL | ZMODE_INTER | TEX_EDGE | \
#define TEX_EDGE
Definition: gbi_old.h:275
#define ALPHA_CVG_SEL
Definition: gbi_old.h:273
#define Z_CMP
Definition: gbi_old.h:260
#define G_BL_A_MEM
Definition: gbi_old.h:282
#define ZMODE_INTER
Definition: gbi_old.h:269
#define AA_EN
Definition: gbi_old.h:259
#define Z_UPD
Definition: gbi_old.h:261
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define CVG_DST_CLAMP
Definition: gbi_old.h:264
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_AA_ZB_TEX_TERR

#define RM_AA_ZB_TEX_TERR (   clk)
Value:
CVG_X_ALPHA | ALPHA_CVG_SEL | ZMODE_OPA | TEX_EDGE | \
#define G_BL_1MA
Definition: gbi_old.h:281
#define TEX_EDGE
Definition: gbi_old.h:275
#define ALPHA_CVG_SEL
Definition: gbi_old.h:273
#define ZMODE_OPA
Definition: gbi_old.h:268
#define Z_CMP
Definition: gbi_old.h:260
#define AA_EN
Definition: gbi_old.h:259
#define Z_UPD
Definition: gbi_old.h:261
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define CVG_DST_CLAMP
Definition: gbi_old.h:264
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_AA_ZB_XLU_DECAL

#define RM_AA_ZB_XLU_DECAL (   clk)
Value:
FORCE_BL | ZMODE_DEC | \
#define G_BL_1MA
Definition: gbi_old.h:281
#define ZMODE_DEC
Definition: gbi_old.h:271
#define Z_CMP
Definition: gbi_old.h:260
#define CLR_ON_CVG
Definition: gbi_old.h:263
#define AA_EN
Definition: gbi_old.h:259
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262
#define CVG_DST_WRAP
Definition: gbi_old.h:265

◆ RM_AA_ZB_XLU_INTER

#define RM_AA_ZB_XLU_INTER (   clk)
Value:
FORCE_BL | ZMODE_INTER | \
#define G_BL_1MA
Definition: gbi_old.h:281
#define Z_CMP
Definition: gbi_old.h:260
#define ZMODE_INTER
Definition: gbi_old.h:269
#define CLR_ON_CVG
Definition: gbi_old.h:263
#define AA_EN
Definition: gbi_old.h:259
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262
#define CVG_DST_WRAP
Definition: gbi_old.h:265

◆ RM_AA_ZB_XLU_LINE

#define RM_AA_ZB_XLU_LINE (   clk)
Value:
ALPHA_CVG_SEL | FORCE_BL | ZMODE_XLU | \
#define G_BL_1MA
Definition: gbi_old.h:281
#define ZMODE_XLU
Definition: gbi_old.h:270
#define Z_CMP
Definition: gbi_old.h:260
#define AA_EN
Definition: gbi_old.h:259
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define CVG_DST_CLAMP
Definition: gbi_old.h:264
#define FORCE_BL
Definition: gbi_old.h:274
#define CVG_X_ALPHA
Definition: gbi_old.h:272
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_AA_ZB_XLU_SURF

#define RM_AA_ZB_XLU_SURF (   clk)
Value:
FORCE_BL | ZMODE_XLU | \
#define G_BL_1MA
Definition: gbi_old.h:281
#define ZMODE_XLU
Definition: gbi_old.h:270
#define Z_CMP
Definition: gbi_old.h:260
#define CLR_ON_CVG
Definition: gbi_old.h:263
#define AA_EN
Definition: gbi_old.h:259
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262
#define CVG_DST_WRAP
Definition: gbi_old.h:265

◆ RM_ADD

#define RM_ADD (   clk)
Value:
#define ZMODE_OPA
Definition: gbi_old.h:268
#define G_BL_A_FOG
Definition: gbi_old.h:284
#define CVG_DST_SAVE
Definition: gbi_old.h:267
#define G_BL_1
Definition: gbi_old.h:286
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define FORCE_BL
Definition: gbi_old.h:274
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_CLD_SURF

#define RM_CLD_SURF (   clk)
Value:
#define G_BL_1MA
Definition: gbi_old.h:281
#define ZMODE_OPA
Definition: gbi_old.h:268
#define CVG_DST_SAVE
Definition: gbi_old.h:267
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define FORCE_BL
Definition: gbi_old.h:274
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_NOOP

#define RM_NOOP (   clk)    GBL_c##clk(0, 0, 0, 0)

◆ RM_OPA_CI

#define RM_OPA_CI (   clk)
Value:
#define ZMODE_OPA
Definition: gbi_old.h:268
#define G_BL_0
Definition: gbi_old.h:287
#define G_BL_1
Definition: gbi_old.h:286
#define CVG_DST_CLAMP
Definition: gbi_old.h:264
#define G_BL_CLR_IN
Definition: gbi_old.h:277

◆ RM_OPA_SURF

#define RM_OPA_SURF (   clk)
Value:
#define ZMODE_OPA
Definition: gbi_old.h:268
#define G_BL_0
Definition: gbi_old.h:287
#define G_BL_1
Definition: gbi_old.h:286
#define CVG_DST_CLAMP
Definition: gbi_old.h:264
#define FORCE_BL
Definition: gbi_old.h:274
#define G_BL_CLR_IN
Definition: gbi_old.h:277

◆ RM_PCL_SURF

#define RM_PCL_SURF (   clk)
Value:
G_AC_DITHER | \
#define ZMODE_OPA
Definition: gbi_old.h:268
#define G_BL_0
Definition: gbi_old.h:287
#define G_BL_1
Definition: gbi_old.h:286
#define CVG_DST_FULL
Definition: gbi_old.h:266
#define FORCE_BL
Definition: gbi_old.h:274
#define G_BL_CLR_IN
Definition: gbi_old.h:277

◆ RM_RA_OPA_SURF

#define RM_RA_OPA_SURF (   clk)
Value:
ZMODE_OPA | ALPHA_CVG_SEL | \
#define ALPHA_CVG_SEL
Definition: gbi_old.h:273
#define G_BL_A_MEM
Definition: gbi_old.h:282
#define AA_EN
Definition: gbi_old.h:259
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define CVG_DST_CLAMP
Definition: gbi_old.h:264
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277

◆ RM_RA_ZB_OPA_DECAL

#define RM_RA_ZB_OPA_DECAL (   clk)
Value:
ZMODE_DEC | \
#define ALPHA_CVG_SEL
Definition: gbi_old.h:273
#define Z_CMP
Definition: gbi_old.h:260
#define G_BL_A_MEM
Definition: gbi_old.h:282
#define AA_EN
Definition: gbi_old.h:259
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define CVG_DST_WRAP
Definition: gbi_old.h:265

◆ RM_RA_ZB_OPA_INTER

#define RM_RA_ZB_OPA_INTER (   clk)
Value:
ALPHA_CVG_SEL | ZMODE_INTER | \
#define Z_CMP
Definition: gbi_old.h:260
#define G_BL_A_MEM
Definition: gbi_old.h:282
#define ZMODE_INTER
Definition: gbi_old.h:269
#define AA_EN
Definition: gbi_old.h:259
#define Z_UPD
Definition: gbi_old.h:261
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define CVG_DST_CLAMP
Definition: gbi_old.h:264
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277

◆ RM_RA_ZB_OPA_SURF

#define RM_RA_ZB_OPA_SURF (   clk)
Value:
ZMODE_OPA | ALPHA_CVG_SEL | \
#define ALPHA_CVG_SEL
Definition: gbi_old.h:273
#define Z_CMP
Definition: gbi_old.h:260
#define G_BL_A_MEM
Definition: gbi_old.h:282
#define AA_EN
Definition: gbi_old.h:259
#define Z_UPD
Definition: gbi_old.h:261
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define CVG_DST_CLAMP
Definition: gbi_old.h:264
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277

◆ RM_TEX_EDGE

#define RM_TEX_EDGE (   clk)
Value:
ZMODE_OPA | TEX_EDGE | AA_EN | \
#define TEX_EDGE
Definition: gbi_old.h:275
#define ALPHA_CVG_SEL
Definition: gbi_old.h:273
#define G_BL_0
Definition: gbi_old.h:287
#define AA_EN
Definition: gbi_old.h:259
#define G_BL_1
Definition: gbi_old.h:286
#define CVG_DST_CLAMP
Definition: gbi_old.h:264
#define FORCE_BL
Definition: gbi_old.h:274
#define CVG_X_ALPHA
Definition: gbi_old.h:272
#define G_BL_CLR_IN
Definition: gbi_old.h:277

◆ RM_VISCVG

#define RM_VISCVG (   clk)
Value:
#define G_BL_0
Definition: gbi_old.h:287
#define G_BL_A_MEM
Definition: gbi_old.h:282
#define G_BL_CLR_BL
Definition: gbi_old.h:279
#define FORCE_BL
Definition: gbi_old.h:274
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_XLU_SURF

#define RM_XLU_SURF (   clk)
Value:
#define G_BL_1MA
Definition: gbi_old.h:281
#define ZMODE_OPA
Definition: gbi_old.h:268
#define CVG_DST_FULL
Definition: gbi_old.h:266
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define FORCE_BL
Definition: gbi_old.h:274
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_ZB_CLD_SURF

#define RM_ZB_CLD_SURF (   clk)
Value:
#define G_BL_1MA
Definition: gbi_old.h:281
#define ZMODE_XLU
Definition: gbi_old.h:270
#define Z_CMP
Definition: gbi_old.h:260
#define CVG_DST_SAVE
Definition: gbi_old.h:267
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define FORCE_BL
Definition: gbi_old.h:274
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_ZB_OPA_DECAL

#define RM_ZB_OPA_DECAL (   clk)
Value:
#define ALPHA_CVG_SEL
Definition: gbi_old.h:273
#define ZMODE_DEC
Definition: gbi_old.h:271
#define Z_CMP
Definition: gbi_old.h:260
#define G_BL_A_MEM
Definition: gbi_old.h:282
#define CVG_DST_FULL
Definition: gbi_old.h:266
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277

◆ RM_ZB_OPA_SURF

#define RM_ZB_OPA_SURF (   clk)
Value:
ZMODE_OPA | \
#define ALPHA_CVG_SEL
Definition: gbi_old.h:273
#define Z_CMP
Definition: gbi_old.h:260
#define G_BL_A_MEM
Definition: gbi_old.h:282
#define Z_UPD
Definition: gbi_old.h:261
#define CVG_DST_FULL
Definition: gbi_old.h:266
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277

◆ RM_ZB_OVL_SURF

#define RM_ZB_OVL_SURF (   clk)
Value:
#define G_BL_1MA
Definition: gbi_old.h:281
#define ZMODE_DEC
Definition: gbi_old.h:271
#define Z_CMP
Definition: gbi_old.h:260
#define CVG_DST_SAVE
Definition: gbi_old.h:267
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define FORCE_BL
Definition: gbi_old.h:274
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_ZB_PCL_SURF

#define RM_ZB_PCL_SURF (   clk)
Value:
G_AC_DITHER | \
#define ZMODE_OPA
Definition: gbi_old.h:268
#define Z_CMP
Definition: gbi_old.h:260
#define G_BL_0
Definition: gbi_old.h:287
#define Z_UPD
Definition: gbi_old.h:261
#define G_BL_1
Definition: gbi_old.h:286
#define CVG_DST_FULL
Definition: gbi_old.h:266
#define G_BL_CLR_IN
Definition: gbi_old.h:277

◆ RM_ZB_XLU_DECAL

#define RM_ZB_XLU_DECAL (   clk)
Value:
#define G_BL_1MA
Definition: gbi_old.h:281
#define ZMODE_DEC
Definition: gbi_old.h:271
#define Z_CMP
Definition: gbi_old.h:260
#define CVG_DST_FULL
Definition: gbi_old.h:266
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define FORCE_BL
Definition: gbi_old.h:274
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ RM_ZB_XLU_SURF

#define RM_ZB_XLU_SURF (   clk)
Value:
#define G_BL_1MA
Definition: gbi_old.h:281
#define ZMODE_XLU
Definition: gbi_old.h:270
#define Z_CMP
Definition: gbi_old.h:260
#define CVG_DST_FULL
Definition: gbi_old.h:266
#define G_BL_CLR_MEM
Definition: gbi_old.h:278
#define FORCE_BL
Definition: gbi_old.h:274
#define G_BL_A_IN
Definition: gbi_old.h:283
#define G_BL_CLR_IN
Definition: gbi_old.h:277
#define IM_RD
Definition: gbi_old.h:262

◆ TEX_EDGE

#define TEX_EDGE   0x0000

◆ Z_CMP

#define Z_CMP   0x10

◆ Z_UPD

#define Z_UPD   0x20

◆ ZMODE_DEC

#define ZMODE_DEC   0xc00

◆ ZMODE_INTER

#define ZMODE_INTER   0x400

◆ ZMODE_OPA

#define ZMODE_OPA   0

◆ ZMODE_XLU

#define ZMODE_XLU   0x800

Typedef Documentation

◆ Mtx_t

typedef long int Mtx_t[4][4]