63 lines
2.4 KiB
Plaintext
63 lines
2.4 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (monky_Larm2)
|
|
****************************************************************************************************/
|
|
#define MONKYLARM2_AMB_SCALE 0.5
|
|
#define ShapeColor_monky_Larm2(R,G,B) {{R*MONKYLARM2_AMB_SCALE ,G*MONKYLARM2_AMB_SCALE ,B*MONKYLARM2_AMB_SCALE ,0 ,R*MONKYLARM2_AMB_SCALE ,G*MONKYLARM2_AMB_SCALE ,B*MONKYLARM2_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
|
|
|
|
static Lights1 light_monky_Larm2[] = {
|
|
ShapeColor_monky_Larm2(255,255,255),
|
|
};
|
|
|
|
static Vtx vtx_monky_Larm2_0[] = {
|
|
{ 73, -12, -23, 0, 248, 740, 47, -104, -54, 255},
|
|
{ 73, -12, 25, 0, 950, 740, 80, -37, 91, 255},
|
|
{ -1, -12, 16, 0, 1256, -602, -54, -103, 48, 255},
|
|
{ 68, 35, -23, 0, 2128, 900, 69, 53, -91, 255},
|
|
{ 73, -12, -23, 0, 2752, 740, 47, -104, -54, 255},
|
|
{ 68, 35, 25, 0, 1554, 900, 22, 112, 54, 255},
|
|
{ -4, 18, 16, 0, 1660, -498, -96, 29, 77, 255},
|
|
{ -1, -12, -14, 0, 2434, -602, -87, -48, -78, 255},
|
|
{ -4, 18, -14, 0, 2020, -498, -76, 89, -48, 255},
|
|
};
|
|
|
|
static Gfx gfx_monky_Larm2_0[] = {
|
|
gs_Tani_LoadTextureImage2(monky_skinB_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
|
|
gsSPLight((&light_monky_Larm2[0].l[0]),1 ),
|
|
gsSPLight((&light_monky_Larm2[0].a ),2 ),
|
|
|
|
gsSPVertex(&vtx_monky_Larm2_0[0], 9, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 3, 1, 4, 0),
|
|
gsSP1Triangle( 1, 5, 6, 0),
|
|
gsSP1Triangle( 1, 6, 2, 0),
|
|
gsSP1Triangle( 3, 5, 1, 0),
|
|
gsSP1Triangle( 4, 2, 7, 0),
|
|
gsSP1Triangle( 7, 2, 6, 0),
|
|
gsSP1Triangle( 3, 4, 7, 0),
|
|
gsSP1Triangle( 3, 7, 8, 0),
|
|
gsSP1Triangle( 7, 6, 8, 0),
|
|
gsSP1Triangle( 5, 3, 8, 0),
|
|
gsSP1Triangle( 5, 8, 6, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_monky_Larm2[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
|
|
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_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD),
|
|
|
|
gsSPDisplayList(gfx_monky_Larm2_0),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|