56 lines
2.2 KiB
Plaintext
56 lines
2.2 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (monky_Larm1)
|
|
****************************************************************************************************/
|
|
#define MONKYLARM1_AMB_SCALE 0.5
|
|
#define ShapeColor_monky_Larm1(R,G,B) {{R*MONKYLARM1_AMB_SCALE ,G*MONKYLARM1_AMB_SCALE ,B*MONKYLARM1_AMB_SCALE ,0 ,R*MONKYLARM1_AMB_SCALE ,G*MONKYLARM1_AMB_SCALE ,B*MONKYLARM1_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
|
|
|
|
static Lights1 light_monky_Larm1[] = {
|
|
ShapeColor_monky_Larm1(255,255,255),
|
|
};
|
|
|
|
static Vtx vtx_monky_Larm1_0[] = {
|
|
{ 88, 19, -15, 0, 1848, -114, 95, 61, -58, 255},
|
|
{ 89, -13, -15, 0, 1310, -140, 56, -79, -81, 255},
|
|
{ 0, 0, 1, 0, 2896, 1502, -126, -4, 0, 255},
|
|
{ 89, -13, 17, 0, 2828, -140, 98, -54, 57, 255},
|
|
{ 89, -13, 17, 0, 718, -140, 98, -54, 57, 255},
|
|
{ 0, 0, 1, 0, 788, 1502, -126, -4, 0, 255},
|
|
{ 88, 19, 17, 0, 214, -114, 50, 83, 81, 255},
|
|
{ 88, 19, 17, 0, 2322, -114, 50, 83, 81, 255},
|
|
};
|
|
|
|
static Gfx gfx_monky_Larm1_0[] = {
|
|
gs_Tani_LoadTextureImage2(monky_skinB_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
|
|
gsSPLight((&light_monky_Larm1[0].l[0]),1 ),
|
|
gsSPLight((&light_monky_Larm1[0].a ),2 ),
|
|
|
|
gsSPVertex(&vtx_monky_Larm1_0[0], 8, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 0, 3, 1, 0),
|
|
gsSP1Triangle( 1, 4, 5, 0),
|
|
gsSP1Triangle( 4, 6, 5, 0),
|
|
gsSP1Triangle( 0, 7, 3, 0),
|
|
gsSP1Triangle( 7, 0, 2, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_monky_Larm1[] = {
|
|
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_Larm1_0),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|