214 lines
18 KiB
Plaintext
214 lines
18 KiB
Plaintext
/********************************************************************************
|
|
RCP_HmsEndoor [ Special edition for slider goal ].
|
|
[ Nob 17, 1995 ]
|
|
*********************************************************************************/
|
|
|
|
#define ShapeColor_endoor(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} }
|
|
|
|
/********************************************************************************/
|
|
/* Light data of Endoor. */
|
|
/********************************************************************************/
|
|
static Lights1 light_endoor[] = {
|
|
ShapeColor_endoor( 51, 51, 51),
|
|
ShapeColor_endoor(119,119,119),
|
|
ShapeColor_endoor(255,255,255),
|
|
};
|
|
|
|
/********************************************************************************/
|
|
/* Texture data of Endoor. */
|
|
/********************************************************************************/
|
|
static unsigned short tokotoko_txt[] = {
|
|
0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x4211, 0x4211, 0x4211, 0x4211, 0x4211, 0x4211, 0x4211, 0x4211, 0x4211, 0x4211, 0x4211, 0x4211, 0x4211, 0x4211, 0x4211, 0x4211, 0x794b,
|
|
0xbb11, 0xbb11, 0xbb11, 0xbb11, 0xbb11, 0xbb11, 0xaa8f, 0x794b, 0xc355, 0xbb11, 0xbb11, 0xbb11, 0xbb11, 0xbb11, 0x9c59, 0x9c59, 0x9c59, 0x9c59, 0x9c59, 0x9c59, 0x9c59, 0x9c59, 0x8395, 0x4211, 0xacdf, 0x9c59, 0x9c59, 0x9c59, 0x9c59, 0x9c59, 0xbb11, 0xbb11,
|
|
0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x7b11, 0x4211, 0x9c59, 0x8351, 0x8351, 0x8351, 0x8351, 0xaa4b, 0xaa4b, 0xaa4b,
|
|
0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0xaa4b, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x7b11, 0x4211, 0x9c59, 0x8351, 0x8351, 0x8351, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b,
|
|
0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x7b11, 0x4211, 0x9c59, 0x8351, 0x8351, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b,
|
|
0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x7b11, 0x4211, 0x9c59, 0x8351, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b,
|
|
0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x7b11, 0x4211, 0x9c59, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b,
|
|
0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0x9c59, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x7b11, 0x4211, 0xbb11, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b,
|
|
0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x4211, 0x9c59, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x7b11, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b,
|
|
0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0x7b11, 0x4211, 0x9c59, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b,
|
|
0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0x8351, 0x7b11, 0x4211, 0x9c59, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b,
|
|
0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0x8351, 0x8351, 0x7b11, 0x4211, 0x9c59, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b,
|
|
0xaa4b, 0xaa4b, 0xaa4b, 0x8351, 0x8351, 0x8351, 0x7b11, 0x4211, 0x9c59, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b,
|
|
0xaa4b, 0xaa4b, 0x8351, 0x8351, 0x8351, 0x8351, 0x7b11, 0x4211, 0x9c59, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b,
|
|
0xaa4b, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x7b11, 0x4211, 0x9c59, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b,
|
|
0x7b11, 0x7b11, 0x7b11, 0x7b11, 0x7b11, 0x7b11, 0x7b11, 0x4211, 0x8395, 0x7b11, 0x7b11, 0x7b11, 0x7b11, 0x7b11, 0x7b11, 0x7b11, 0xa24b, 0xa24b, 0xa24b, 0xa24b, 0xa24b, 0xa24b, 0xa24b, 0x794b, 0xaa8f, 0xa24b, 0xa24b, 0xa24b, 0xa24b, 0xa24b, 0xa24b, 0xa24b,
|
|
0x4211, 0x4211, 0x4211, 0x4211, 0x4211, 0x4211, 0x5a91, 0x4211, 0x4211, 0x4211, 0x4211, 0x4211, 0x4211, 0x4211, 0x4211, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x794b, 0x4211,
|
|
0xacdf, 0x9c59, 0x9c59, 0x9c59, 0x9c59, 0x9c59, 0x9c59, 0x9c59, 0x9c59, 0x9c59, 0x9c59, 0x9c59, 0x9c59, 0x9c59, 0xaa8f, 0x794b, 0xc355, 0xbb11, 0xbb11, 0xbb11, 0xbb11, 0xbb11, 0xbb11, 0xbb11, 0xbb11, 0xbb11, 0xbb11, 0xbb11, 0xbb11, 0xbb11, 0x8395, 0x4211,
|
|
0x9c59, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0x8351, 0x7b11, 0x4211,
|
|
0x9c59, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0x8351, 0x8351, 0x7b11, 0x4211,
|
|
0x9c59, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0x8351, 0x8351, 0x8351, 0x7b11, 0x4211,
|
|
0x9c59, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0x8351, 0x8351, 0x8351, 0x8351, 0x7b11, 0x4211,
|
|
0x9c59, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x7b11, 0x4211,
|
|
0x9c59, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x7b11, 0x4211,
|
|
0x9c59, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x7b11, 0x4211,
|
|
0x9c59, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x7b11, 0x4211,
|
|
0x9c59, 0x8351, 0x8351, 0x8351, 0x8351, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x7b11, 0x4211,
|
|
0x9c59, 0x8351, 0x8351, 0x8351, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0xaa4b, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x7b11, 0x4211,
|
|
0x9c59, 0x8351, 0x8351, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0xaa4b, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x7b11, 0x4211,
|
|
0x9c59, 0x8351, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0xaa4b, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x7b11, 0x4211,
|
|
0x9c59, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xaa4b, 0xa24b, 0x794b, 0xbb11, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x8351, 0x7b11, 0x4211,
|
|
0xaa8f, 0xa24b, 0xa24b, 0xa24b, 0xa24b, 0xa24b, 0xa24b, 0xa24b, 0xa24b, 0xa24b, 0xa24b, 0xa24b, 0xa24b, 0xa24b, 0xa20b, 0x794b, 0x8395, 0x7b11, 0x7b11, 0x7b11, 0x7b11, 0x7b11, 0x7b11, 0x7b11, 0x7b11, 0x7b11, 0x7b11, 0x7b11, 0x7b11, 0x7b11, 0x7b11, 0x4211,
|
|
};
|
|
|
|
/********************************************************************************/
|
|
/* Vertex data. */
|
|
/********************************************************************************/
|
|
static Vtx vtx_endoor_0[] = {
|
|
{ 102, 10, 102, 0, 4568, -7698, 0, 127, 0, 255},
|
|
{ -101, 10, -101, 0, 5590, -8720, 0, 127, 0, 255},
|
|
{ -101, 10, 102, 0, 4568, -8720, 0, 127, 0, 255},
|
|
{ 102, 10, -101, 0, 5590, -7698, 0, 127, 0, 255},
|
|
{ -101, 0, -101, 0, 5590, -8720, 0, 0, 127, 255},
|
|
{ 102, 205, -101, 0, 5590, -7698, 0, 0, 127, 255},
|
|
{ -101, 205, -101, 0, 5590, -8720, 0, 0, 127, 255},
|
|
{ 102, 0, -101, 0, 5590, -7698, 0, 0, 127, 255},
|
|
{ -101, 0, -101, 0, 5590, -8720, 127, 0, 0, 255},
|
|
{ -101, 205, 102, 0, 4568, -8720, 127, 0, 0, 255},
|
|
{ -101, 0, 102, 0, 4568, -8720, 127, 0, 0, 255},
|
|
{ -101, 205, -101, 0, 5590, -8720, 127, 0, 0, 255},
|
|
{ -101, 205, 102, 0, 4568, -8720, 0, 0, -127, 255},
|
|
{ 102, 0, 102, 0, 4568, -7698, 0, 0, -127, 255},
|
|
{ -101, 0, 102, 0, 4568, -8720, 0, 0, -127, 255},
|
|
{ 102, 205, 102, 0, 4568, -7698, 0, 0, -127, 255},
|
|
{ 102, 0, 102, 0, 4568, -7698, -127, 0, 0, 255},
|
|
{ 102, 205, 102, 0, 4568, -7698, -127, 0, 0, 255},
|
|
{ 102, 205, -101, 0, 5590, -7698, -127, 0, 0, 255},
|
|
{ 102, 0, -101, 0, 5590, -7698, -127, 0, 0, 255},
|
|
{ -204, 0, -204, 0, 6100, -9230, 0, 0, -127, 255},
|
|
{ -204, 307, -204, 0, 6100, -9230, 0, 0, -127, 255},
|
|
{ 1024, 0, -204, 0, 6100, -3098, 0, 0, -127, 255},
|
|
{ -204, 307, 205, 0, 4056, -9230, 0, 0, 127, 255},
|
|
{ -204, 0, 205, 0, 4056, -9230, 0, 0, 127, 255},
|
|
{ 1024, 0, 205, 0, 4056, -3098, 0, 0, 127, 255},
|
|
{ -204, 307, -204, 0, 6100, -9230, 89, 90, 0, 255},
|
|
{ -204, 307, 205, 0, 4056, -9230, 89, 90, 0, 255},
|
|
{ -101, 205, 102, 0, 4568, -8720, 89, 90, 0, 255},
|
|
{ -101, 205, -101, 0, 5590, -8720, 89, 90, 0, 255},
|
|
{ -204, 307, -204, 0, 6100, -9230, 24, 100, 74, 255},
|
|
{ -101, 205, -101, 0, 5590, -8720, 24, 100, 74, 255},
|
|
{ 205, 205, -204, 0, 6100, -7186, 24, 100, 74, 255},
|
|
{ 205, 205, -204, 0, 6100, -7186, 0, 127, 0, 255},
|
|
{ -101, 205, -101, 0, 5590, -8720, 0, 127, 0, 255},
|
|
{ 102, 205, -101, 0, 5590, -7698, 0, 127, 0, 255},
|
|
{ -204, 102, 614, 0, 2012, -9230, 0, 127, 0, 255},
|
|
{ 205, 102, 614, 0, 2012, -7186, 0, 127, 0, 255},
|
|
{ 205, 102, 205, 0, 4056, -7186, 0, 127, 0, 255},
|
|
{ -204, 102, 205, 0, 4056, -9230, 0, 127, 0, 255},
|
|
{ 205, 0, 205, 0, 4056, -7186, 127, 0, 0, 255},
|
|
{ 205, 102, 205, 0, 4056, -7186, 127, 0, 0, 255},
|
|
{ 205, 102, 614, 0, 2012, -7186, 127, 0, 0, 255},
|
|
{ 205, 0, 614, 0, 2012, -7186, 127, 0, 0, 255},
|
|
{ -204, 0, 614, 0, 2012, -9230, 0, 0, 127, 255},
|
|
{ 205, 102, 614, 0, 2012, -7186, 0, 0, 127, 255},
|
|
{ -204, 102, 614, 0, 2012, -9230, 0, 0, 127, 255},
|
|
{ 205, 0, 614, 0, 2012, -7186, 0, 0, 127, 255},
|
|
{ -204, 102, -613, 0, 8144, -9230, 0, 0, -127, 255},
|
|
{ 205, 102, -613, 0, 8144, -7186, 0, 0, -127, 255},
|
|
{ 205, 0, -613, 0, 8144, -7186, 0, 0, -127, 255},
|
|
{ -204, 0, -613, 0, 8144, -9230, 0, 0, -127, 255},
|
|
{ 102, 205, -101, 0, 5590, -7698, 0, 127, 0, 255},
|
|
{ 205, 205, 205, 0, 4056, -7186, 0, 127, 0, 255},
|
|
{ 205, 205, -204, 0, 6100, -7186, 0, 127, 0, 255},
|
|
{ 205, 0, -613, 0, 8144, -7186, 127, 0, 0, 255},
|
|
{ 205, 102, -613, 0, 8144, -7186, 127, 0, 0, 255},
|
|
{ 205, 102, -204, 0, 6100, -7186, 127, 0, 0, 255},
|
|
{ 205, 0, -204, 0, 6100, -7186, 127, 0, 0, 255},
|
|
{ -204, 102, -204, 0, 6100, -9230, 0, 127, 0, 255},
|
|
{ 205, 102, -204, 0, 6100, -7186, 0, 127, 0, 255},
|
|
{ 205, 102, -613, 0, 8144, -7186, 0, 127, 0, 255},
|
|
{ -204, 102, -613, 0, 8144, -9230, 0, 127, 0, 255},
|
|
{ 1024, 0, -204, 0, 6100, -3098, 30, 123, 0, 255},
|
|
{ 205, 205, -204, 0, 6100, -7186, 30, 123, 0, 255},
|
|
{ 205, 205, 205, 0, 4056, -7186, 30, 123, 0, 255},
|
|
{ 1024, 0, 205, 0, 4056, -3098, 30, 123, 0, 255},
|
|
{ 102, 205, 102, 0, 4568, -7698, 0, 127, 0, 255},
|
|
{ 205, 205, 205, 0, 4056, -7186, 0, 127, 0, 255},
|
|
{ 102, 205, 102, 0, 4568, -7698, 0, 127, 0, 255},
|
|
{ -101, 205, 102, 0, 4568, -8720, 0, 127, 0, 255},
|
|
{ 205, 205, 205, 0, 4056, -7186, 24, 100, -74, 255},
|
|
{ -101, 205, 102, 0, 4568, -8720, 24, 100, -74, 255},
|
|
{ -204, 307, 205, 0, 4056, -9230, 24, 100, -74, 255},
|
|
};
|
|
|
|
/********************************************************************************/
|
|
/* Graphic display list. */
|
|
/********************************************************************************/
|
|
static Gfx gfx_endoor_0[] = {
|
|
gs_Tani_LoadTextureImage2(tokotoko_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
|
|
gsSPLight((&light_endoor[0].l[0]),1 ),
|
|
gsSPLight((&light_endoor[0].a ),2 ),
|
|
|
|
gsSPVertex(&vtx_endoor_0[0], 4, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 0, 3, 1, 0),
|
|
|
|
gsSPLight((&light_endoor[1].l[0]),1 ),
|
|
gsSPLight((&light_endoor[1].a ),2 ),
|
|
|
|
gsSPVertex(&vtx_endoor_0[4], 16, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 0, 3, 1, 0),
|
|
gsSP1Triangle( 4, 5, 6, 0),
|
|
gsSP1Triangle( 4, 7, 5, 0),
|
|
gsSP1Triangle( 8, 9,10, 0),
|
|
gsSP1Triangle( 8,11, 9, 0),
|
|
gsSP1Triangle(12,13,14, 0),
|
|
gsSP1Triangle(12,14,15, 0),
|
|
|
|
gsSPLight((&light_endoor[2].l[0]),1 ),
|
|
gsSPLight((&light_endoor[2].a ),2 ),
|
|
|
|
gsSPVertex(&vtx_endoor_0[20], 16, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 3, 4, 5, 0),
|
|
gsSP1Triangle( 6, 7, 8, 0),
|
|
gsSP1Triangle( 6, 8, 9, 0),
|
|
gsSP1Triangle(10,11,12, 0),
|
|
gsSP1Triangle(13,14,15, 0),
|
|
gsSPVertex(&vtx_endoor_0[36], 16, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 0, 2, 3, 0),
|
|
gsSP1Triangle( 4, 5, 6, 0),
|
|
gsSP1Triangle( 4, 6, 7, 0),
|
|
gsSP1Triangle( 8, 9,10, 0),
|
|
gsSP1Triangle( 8,11, 9, 0),
|
|
gsSP1Triangle(12,13,14, 0),
|
|
gsSP1Triangle(12,14,15, 0),
|
|
gsSPVertex(&vtx_endoor_0[52], 16, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 3, 4, 5, 0),
|
|
gsSP1Triangle( 3, 5, 6, 0),
|
|
gsSP1Triangle( 7, 8, 9, 0),
|
|
gsSP1Triangle( 7, 9,10, 0),
|
|
gsSP1Triangle(11,12,13, 0),
|
|
gsSP1Triangle(11,13,14, 0),
|
|
gsSP1Triangle( 0,15, 1, 0),
|
|
gsSPVertex(&vtx_endoor_0[68], 6, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 3, 4, 5, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_endoor[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
|
|
gsSPClearGeometryMode(G_SHADING_SMOOTH),
|
|
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_endoor_0),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_SHADING_SMOOTH),
|
|
gsSPEndDisplayList()
|
|
};
|