sm64/shape/EnemyTest/manta/manta_Rme_shape.sou
2022-12-04 22:27:02 -05:00

98 lines
4.2 KiB
Plaintext

/***************************************************************************************************
Convert from NINGEN (manta_Rme)
****************************************************************************************************/
#define SCALE 0.25
#define ShapeColor_manta_Rme(R,G,B) {{R*SCALE ,G*SCALE ,B*SCALE ,0 ,R*SCALE ,G*SCALE ,B*SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
static Vtx vtx_manta_Rme_0[] = {
{ 60, -41, -9, 0, 112, 436, -1, -1, -1, 255},
{ 51, 3, -29, 0, 718, 778, -1, -1, -1, 255},
{ 60, 2, 2, 0, 836, 436, -1, -1, -1, 255},
{ 27, -25, -55, 0, 224, 1082, -1, -1, -1, 255},
{ 51, -26, -37, 0, 274, 802, -1, -1, -1, 255},
{ 12, -59, -29, 0, -108, 1004, -1, -1, -1, 255},
{ 27, 15, -44, 0, 766, 1082, -1, -1, -1, 255},
{ 51, 3, -29, 0, 670, 802, -1, -1, -1, 255},
{ 12, 30, 3, 0, 1114, 962, -1, -1, -1, 255},
{ 51, -26, -37, 0, 208, 756, -1, -1, -1, 255},
{ 60, -41, -9, 0, 96, 416, -1, -1, -1, 255},
{ 12, -59, -29, 0, -270, 708, -1, -1, -1, 255},
{ 51, -26, -37, 0, 224, 778, -1, -1, -1, 255},
{ 60, 2, 2, 0, 868, 416, -1, -1, -1, 255},
{ 51, 3, -29, 0, 750, 756, -1, -1, -1, 255},
{ 12, 30, 3, 0, 1304, 626, -1, -1, -1, 255},
};
static Vtx vtx_manta_Rme_1[] = {
{ -23, -42, 8, 0, 394, 38, -1, -1, -1, 255},
{ -48, -24, -36, 0, 286, 704, -1, -1, -1, 255},
{ 12, -59, -29, 0, 554, 584, -1, -1, -1, 255},
{ 27, -25, -55, 0, 622, 960, -1, -1, -1, 255},
{ -60, 27, -28, 0, 232, 594, -1, -1, -1, 255},
{ -26, 9, 23, 0, 380, -172, -1, -1, -1, 255},
{ 27, 15, -44, 0, 622, 794, -1, -1, -1, 255},
{ 60, -41, -9, 0, 770, 280, -1, -1, -1, 255},
{ 33, -47, 23, 0, 648, -192, -1, -1, -1, 255},
{ 12, 30, 3, 0, 554, 98, -1, -1, -1, 255},
{ 33, -6, 34, 0, 648, -358, -1, -1, -1, 255},
{ 60, 2, 2, 0, 770, 102, -1, -1, -1, 255},
};
static Gfx gfx_manta_Rme_0[] = {
gs_Tani_LoadTextureImage2(me_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
gsSPVertex(&vtx_manta_Rme_0[0], 16, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 4, 5, 0),
gsSP1Triangle( 4, 3, 6, 0),
gsSP1Triangle( 4, 6, 7, 0),
gsSP1Triangle( 7, 6, 8, 0),
gsSP1Triangle( 9,10,11, 0),
gsSP1Triangle( 0,12, 1, 0),
gsSP1Triangle(13,14,15, 0),
gsSPEndDisplayList()
};
static Gfx gfx_manta_Rme_1[] = {
gs_Tani_LoadTextureImage2(manta_grdtion_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
gsSPVertex(&vtx_manta_Rme_1[0], 12, 0),
gsSP1Triangle( 0, 1, 2, 0),
gsSP1Triangle( 3, 1, 4, 0),
gsSP1Triangle( 1, 0, 5, 0),
gsSP1Triangle( 1, 3, 2, 0),
gsSP1Triangle( 1, 5, 4, 0),
gsSP1Triangle( 3, 4, 6, 0),
gsSP1Triangle( 7, 8, 2, 0),
gsSP1Triangle( 8, 0, 2, 0),
gsSP1Triangle( 6, 4, 9, 0),
gsSP1Triangle( 4, 5, 9, 0),
gsSP1Triangle( 5,10, 9, 0),
gsSP1Triangle(10,11, 9, 0),
gsSP1Triangle( 0,10, 5, 0),
gsSP1Triangle( 0, 8,10, 0),
gsSP1Triangle( 8, 7,11, 0),
gsSP1Triangle( 8,11,10, 0),
gsSPEndDisplayList()
};
Gfx gfx_manta_Rme[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_DECALRGB, G_CC_DECALRGB),
gsSPClearGeometryMode(G_LIGHTING),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, 7, 0, 0,0,0, 0,0,0),
gsSPTexture(0xffff,0xffff, 0, 0, G_ON),
gs_Tani_SetUpTileDescrip(G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 0, G_TX_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD),
gsSPDisplayList(gfx_manta_Rme_0),
gsSPDisplayList(gfx_manta_Rme_1),
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList()
};