sm64/shape/keep/OLD/etc/gfx_hole.sou
2022-12-04 22:27:02 -05:00

83 lines
11 KiB
Plaintext

/********************************************************************************
RCP_hole
[ Jun 24 1996 ]
********************************************************************************/
#define Hole_RED 255
#define Hole_GREEN 255
#define Hole_BLUE 255
#define Hole_ALPHA 255
/********************************************************************************/
/* Vertex data. */
/********************************************************************************/
static Vtx vtx_hole[] = {
{ -40, 0, -40, 0, 0<<5, 31<<5, Hole_RED, Hole_GREEN, Hole_BLUE, Hole_ALPHA },
{ -40, 0, 40, 0, 31<<5, 31<<5, Hole_RED, Hole_GREEN, Hole_BLUE, Hole_ALPHA },
{ 40, 0, 40, 0, 31<<5, 0<<5, Hole_RED, Hole_GREEN, Hole_BLUE, Hole_ALPHA },
{ 40, 0, -40, 0, 0<<5, 0<<5, Hole_RED, Hole_GREEN, Hole_BLUE, Hole_ALPHA },
};
/********************************************************************************/
/* Texture data. */
/********************************************************************************/
static unsigned short hole_txt[] = {
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0002, 0x0003, 0x0010, 0x0035, 0x0042, 0x0041, 0x0042, 0x0042, 0x0041, 0x0042, 0x0035, 0x0010, 0x0003, 0x0002, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0032, 0x0042, 0x0063, 0x009d, 0x00bb, 0x00c1, 0x00c1, 0x00c1, 0x00c1, 0x00bb, 0x009d, 0x0063, 0x0042, 0x0032, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0004, 0x0017, 0x0056, 0x009b, 0x00bc, 0x00cf, 0x00ee, 0x00fa, 0x00fb, 0x00fa, 0x00fa, 0x00fb, 0x00fa, 0x00ee, 0x00cf, 0x00bc, 0x009b, 0x0056, 0x0017, 0x0004, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0012, 0x0037, 0x0063, 0x00ab, 0x00e8, 0x00f9, 0x00fc, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00fc, 0x00f9, 0x00e8, 0x00ab, 0x0063, 0x0037, 0x0012, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0018, 0x0054, 0x009c, 0x00c8, 0x00ed, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ed, 0x00c8, 0x009c, 0x0054, 0x0018, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0012, 0x0054, 0x00aa, 0x00e8, 0x00fb, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00fb, 0x00e8, 0x00aa, 0x0054, 0x0012, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0004, 0x0037, 0x009c, 0x00e8, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00e8, 0x009c, 0x0037, 0x0004, 0x0000, 0x0000,
0x0000, 0x0000, 0x0017, 0x0063, 0x00c8, 0x00fb, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00fb, 0x00c8, 0x0063, 0x0017, 0x0000, 0x0000,
0x0000, 0x0010, 0x0056, 0x00ab, 0x00ed, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ed, 0x00ab, 0x0056, 0x0010, 0x0000,
0x0002, 0x0032, 0x009b, 0x00e8, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00e8, 0x009b, 0x0032, 0x0002,
0x0003, 0x0042, 0x00bc, 0x00f9, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00f9, 0x00bc, 0x0042, 0x0003,
0x0010, 0x0063, 0x00cf, 0x00fc, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00fc, 0x00cf, 0x0063, 0x0010,
0x0035, 0x009d, 0x00ee, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ee, 0x009d, 0x0035,
0x0042, 0x00bb, 0x00fa, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00fa, 0x00bb, 0x0042,
0x0041, 0x00c1, 0x00fb, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00fb, 0x00c1, 0x0041,
0x0042, 0x00c1, 0x00fa, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00fa, 0x00c1, 0x0042,
0x0042, 0x00c1, 0x00fa, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00fa, 0x00c1, 0x0042,
0x0041, 0x00c1, 0x00fb, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00fb, 0x00c1, 0x0041,
0x0042, 0x00bb, 0x00fa, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00fa, 0x00bb, 0x0042,
0x0035, 0x009d, 0x00ee, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ee, 0x009d, 0x0035,
0x0010, 0x0063, 0x00cf, 0x00fc, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00fc, 0x00cf, 0x0063, 0x0010,
0x0003, 0x0042, 0x00bc, 0x00f9, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00f9, 0x00bc, 0x0042, 0x0003,
0x0002, 0x0032, 0x009b, 0x00e8, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00e8, 0x009b, 0x0032, 0x0002,
0x0000, 0x0010, 0x0056, 0x00ab, 0x00ed, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ed, 0x00ab, 0x0056, 0x0010, 0x0000,
0x0000, 0x0000, 0x0017, 0x0063, 0x00c8, 0x00fb, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00fb, 0x00c8, 0x0063, 0x0017, 0x0000, 0x0000,
0x0000, 0x0000, 0x0004, 0x0037, 0x009c, 0x00e8, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00e8, 0x009c, 0x0037, 0x0004, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0012, 0x0054, 0x00aa, 0x00e8, 0x00fb, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00fb, 0x00e8, 0x00aa, 0x0054, 0x0012, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0018, 0x0054, 0x009c, 0x00c8, 0x00ed, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ed, 0x00c8, 0x009c, 0x0054, 0x0018, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0012, 0x0037, 0x0063, 0x00ab, 0x00e8, 0x00f9, 0x00fc, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00ff, 0x00fc, 0x00f9, 0x00e8, 0x00ab, 0x0063, 0x0037, 0x0012, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0004, 0x0017, 0x0056, 0x009b, 0x00bc, 0x00cf, 0x00ee, 0x00fa, 0x00fb, 0x00fa, 0x00fa, 0x00fb, 0x00fa, 0x00ee, 0x00cf, 0x00bc, 0x009b, 0x0056, 0x0017, 0x0004, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0032, 0x0042, 0x0063, 0x009d, 0x00bb, 0x00c1, 0x00c1, 0x00c1, 0x00c1, 0x00bb, 0x009d, 0x0063, 0x0042, 0x0032, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0002, 0x0003, 0x0010, 0x0035, 0x0042, 0x0041, 0x0042, 0x0042, 0x0041, 0x0042, 0x0035, 0x0010, 0x0003, 0x0002, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
};
/********************************************************************************/
/* Graphic display list. */
/********************************************************************************/
Gfx RCP_hole[] = {
gsDPPipeSync(),
gsSPClearGeometryMode(G_LIGHTING),
gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
gsDPLoadTextureBlock(hole_txt, G_IM_FMT_IA, G_IM_SIZ_16b, 32, 32, 0,
G_TX_CLAMP|G_TX_NOMIRROR, G_TX_CLAMP|G_TX_NOMIRROR,
5, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPTexture(0xffff, 0xffff, 0, G_TX_RENDERTILE, G_ON),
gsSPVertex(&vtx_hole[0], 4, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(0, 2, 3, 0),
gsSPTexture(0xffff, 0xffff, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList()
};