2021-04-15 18:18:39 +02:00
|
|
|
#include "level0.h"
|
2021-04-13 16:52:48 +02:00
|
|
|
|
2021-06-23 19:25:12 +02:00
|
|
|
CVECTOR level0_BGc = { 0, 218, 216, 0 };
|
2021-04-13 16:52:48 +02:00
|
|
|
|
2021-06-23 19:25:12 +02:00
|
|
|
CAMPOS level0_camPos_Camera = {
|
|
|
|
{ -486,347,423 },
|
|
|
|
{ 301,531,0 }
|
2021-04-13 16:52:48 +02:00
|
|
|
};
|
|
|
|
|
2021-04-15 18:18:39 +02:00
|
|
|
CAMPATH level0_camPath = {
|
2021-06-23 19:25:12 +02:00
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0
|
2021-04-13 16:52:48 +02:00
|
|
|
};
|
|
|
|
|
2021-04-15 18:18:39 +02:00
|
|
|
MATRIX level0_lgtmat = {
|
2021-06-23 19:25:12 +02:00
|
|
|
-2319, 3254, -894,
|
|
|
|
0,0,0,
|
|
|
|
0,0,0,
|
|
|
|
|
|
|
|
};
|
2021-04-13 16:52:48 +02:00
|
|
|
|
2021-04-15 18:18:39 +02:00
|
|
|
MATRIX level0_cmat = {
|
2021-06-23 19:25:12 +02:00
|
|
|
4096,0,0,
|
|
|
|
4096,0,0,
|
|
|
|
4096,0,0
|
|
|
|
};
|
2021-04-13 16:52:48 +02:00
|
|
|
|
2021-04-15 18:18:39 +02:00
|
|
|
SVECTOR level0_modelCube_mesh[] = {
|
2021-06-23 19:25:12 +02:00
|
|
|
{ 65,65,65 },
|
|
|
|
{ 65,65,-65 },
|
|
|
|
{ -65,65,-65 },
|
|
|
|
{ -65,65,65 },
|
|
|
|
{ 65,-65,65 },
|
|
|
|
{ 65,-65,-65 },
|
|
|
|
{ -65,-65,-65 },
|
|
|
|
{ -65,-65,65 }
|
2021-04-13 16:52:48 +02:00
|
|
|
};
|
|
|
|
|
2021-04-15 18:18:39 +02:00
|
|
|
SVECTOR level0_modelCube_normal[] = {
|
2021-06-23 19:25:12 +02:00
|
|
|
-2365,-2365,-2365, 0,
|
|
|
|
-2365,-2365,2365, 0,
|
|
|
|
2365,-2365,2365, 0,
|
|
|
|
2365,-2365,-2365, 0,
|
|
|
|
-2365,2365,-2365, 0,
|
|
|
|
-2365,2365,2365, 0,
|
|
|
|
2365,2365,2365, 0,
|
|
|
|
2365,2365,-2365, 0
|
2021-04-13 16:52:48 +02:00
|
|
|
};
|
|
|
|
|
2021-04-15 18:18:39 +02:00
|
|
|
CVECTOR level0_modelCube_color[] = {
|
2021-06-23 19:25:12 +02:00
|
|
|
255,0,172, 0,
|
|
|
|
16,0,255, 0,
|
|
|
|
33,255,0, 0,
|
|
|
|
255,208,0, 0,
|
|
|
|
229,30,196, 0,
|
|
|
|
255,190,28, 0,
|
|
|
|
255,223,81, 0,
|
|
|
|
16,255,1, 0,
|
|
|
|
255,245,91, 0,
|
|
|
|
255,30,226, 0,
|
|
|
|
16,255,1, 0,
|
|
|
|
29,17,255, 0,
|
|
|
|
16,0,255, 0,
|
|
|
|
253,0,10, 0,
|
|
|
|
255,0,8, 0,
|
|
|
|
33,255,0, 0,
|
|
|
|
33,255,0, 0,
|
|
|
|
255,142,3, 0,
|
|
|
|
255,132,3, 0,
|
|
|
|
255,208,0, 0,
|
|
|
|
37,255,0, 0,
|
|
|
|
45,244,22, 0,
|
|
|
|
255,43,33, 0,
|
|
|
|
255,193,77, 0
|
2021-04-13 16:52:48 +02:00
|
|
|
};
|
|
|
|
|
2021-04-15 18:18:39 +02:00
|
|
|
PRIM level0_modelCube_index[] = {
|
2021-06-23 19:25:12 +02:00
|
|
|
0,1,2,3,8,
|
|
|
|
4,7,6,5,8,
|
|
|
|
0,4,5,1,8,
|
|
|
|
1,5,6,2,8,
|
|
|
|
2,6,7,3,8,
|
|
|
|
4,0,3,7,8
|
2021-04-13 16:52:48 +02:00
|
|
|
};
|
|
|
|
|
2021-04-15 18:18:39 +02:00
|
|
|
BODY level0_modelCube_body = {
|
2021-06-23 19:25:12 +02:00
|
|
|
{0, 0, 0, 0},
|
|
|
|
0,-130,23, 0,
|
|
|
|
0,0,0, 0,
|
|
|
|
1,
|
|
|
|
ONE/1,
|
|
|
|
-65,-65,-65, 0,
|
|
|
|
65,65,65, 0,
|
|
|
|
0,
|
|
|
|
};
|
2021-04-13 16:52:48 +02:00
|
|
|
|
2021-04-15 18:18:39 +02:00
|
|
|
TMESH level0_modelCube = {
|
2021-06-23 19:25:12 +02:00
|
|
|
level0_modelCube_mesh,
|
|
|
|
level0_modelCube_normal,
|
|
|
|
0,
|
|
|
|
level0_modelCube_color,
|
|
|
|
6
|
2021-04-13 16:52:48 +02:00
|
|
|
};
|
|
|
|
|
2021-04-15 18:18:39 +02:00
|
|
|
MESH level0_meshCube = {
|
2021-06-23 19:25:12 +02:00
|
|
|
&level0_modelCube,
|
|
|
|
level0_modelCube_index,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
{0},
|
|
|
|
{0,-130,23, 0},
|
|
|
|
{0,0,0},
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
&level0_modelCube_body,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0
|
|
|
|
};
|
|
|
|
|
|
|
|
SVECTOR level0_modelPlane_mesh[] = {
|
|
|
|
{ -260,0,-260 },
|
|
|
|
{ 260,0,-260 },
|
|
|
|
{ -260,0,260 },
|
|
|
|
{ 260,0,260 }
|
|
|
|
};
|
|
|
|
|
|
|
|
SVECTOR level0_modelPlane_normal[] = {
|
|
|
|
0,4096,0, 0,
|
|
|
|
0,4096,0, 0,
|
|
|
|
0,4096,0, 0,
|
|
|
|
0,4096,0, 0
|
|
|
|
};
|
|
|
|
|
|
|
|
CVECTOR level0_modelPlane_color[] = {
|
|
|
|
255,37,10, 0,
|
|
|
|
255,37,10, 0,
|
|
|
|
255,37,10, 0,
|
|
|
|
255,37,10, 0,
|
|
|
|
};
|
|
|
|
|
|
|
|
PRIM level0_modelPlane_index[] = {
|
|
|
|
0,1,3,2,8
|
|
|
|
};
|
|
|
|
|
|
|
|
BODY level0_modelPlane_body = {
|
|
|
|
{0, 0, 0, 0},
|
|
|
|
0,0,0, 0,
|
|
|
|
0,0,0, 0,
|
|
|
|
1,
|
|
|
|
ONE/1,
|
|
|
|
-260,0,-260, 0,
|
|
|
|
260,0,260, 0,
|
|
|
|
0,
|
|
|
|
};
|
|
|
|
|
|
|
|
TMESH level0_modelPlane = {
|
|
|
|
level0_modelPlane_mesh,
|
|
|
|
level0_modelPlane_normal,
|
|
|
|
0,
|
|
|
|
level0_modelPlane_color,
|
|
|
|
1
|
|
|
|
};
|
|
|
|
|
|
|
|
MESH level0_meshPlane = {
|
|
|
|
&level0_modelPlane,
|
|
|
|
level0_modelPlane_index,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
{0},
|
|
|
|
{0,0,0, 0},
|
|
|
|
{0,0,0},
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
&level0_modelPlane_body,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0
|
|
|
|
};
|
|
|
|
|
|
|
|
MESH * level0_meshes[2] = {
|
|
|
|
&level0_meshCube,
|
|
|
|
&level0_meshPlane
|
2021-04-13 16:52:48 +02:00
|
|
|
};
|
|
|
|
|
2021-06-23 19:25:12 +02:00
|
|
|
int level0_meshes_length = 2;
|
2021-04-13 16:52:48 +02:00
|
|
|
|
2021-06-23 19:25:12 +02:00
|
|
|
CAMANGLE level0_camAngle_Camera = {
|
|
|
|
&level0_camPos_Camera,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
{ 0 },
|
|
|
|
{ 0 },
|
|
|
|
0,
|
|
|
|
0
|
2021-04-13 16:52:48 +02:00
|
|
|
};
|
|
|
|
|
2021-06-23 19:25:12 +02:00
|
|
|
CAMANGLE * level0_camAngles[0] = {
|
2021-04-13 16:52:48 +02:00
|
|
|
};
|
|
|
|
|
2021-06-23 19:25:12 +02:00
|
|
|
SIBLINGS level0_nodePlane_siblings = {
|
|
|
|
0,
|
|
|
|
{
|
|
|
|
0
|
|
|
|
}
|
2021-04-13 16:52:48 +02:00
|
|
|
};
|
|
|
|
|
2021-06-23 19:25:12 +02:00
|
|
|
CHILDREN level0_nodePlane_objects = {
|
|
|
|
0,
|
|
|
|
{
|
|
|
|
0
|
|
|
|
}
|
2021-04-13 16:52:48 +02:00
|
|
|
};
|
|
|
|
|
2021-06-23 19:25:12 +02:00
|
|
|
CHILDREN level0_nodePlane_rigidbodies = {
|
|
|
|
1,
|
|
|
|
{
|
|
|
|
&level0_meshCube
|
|
|
|
}
|
2021-04-13 16:52:48 +02:00
|
|
|
};
|
|
|
|
|
2021-06-23 19:25:12 +02:00
|
|
|
NODE level0_nodePlane = {
|
|
|
|
&level0_meshPlane,
|
|
|
|
&level0_nodePlane_siblings,
|
|
|
|
&level0_nodePlane_objects,
|
|
|
|
&level0_nodePlane_rigidbodies
|
2021-04-13 16:52:48 +02:00
|
|
|
};
|
|
|
|
|
2021-06-23 19:25:12 +02:00
|
|
|
MESH * level0_actorPtr = &level0_meshCube;
|
|
|
|
MESH * level0_levelPtr = &level0_meshPlane;
|
|
|
|
MESH * level0_propPtr = &level0_meshCube;
|
2021-04-15 18:18:39 +02:00
|
|
|
|
2021-06-23 19:25:12 +02:00
|
|
|
CAMANGLE * level0_camPtr = &level0_camAngle_Camera;
|
2021-04-15 18:18:39 +02:00
|
|
|
|
2021-06-23 19:25:12 +02:00
|
|
|
NODE * level0_curNode = &level0_nodePlane;
|
2021-04-15 18:18:39 +02:00
|
|
|
|
|
|
|
LEVEL level0 = {
|
2021-06-23 19:25:12 +02:00
|
|
|
&level0_BGc,
|
|
|
|
&level0_cmat,
|
|
|
|
&level0_lgtmat,
|
|
|
|
(MESH **)&level0_meshes,
|
|
|
|
&level0_meshes_length,
|
|
|
|
&level0_meshCube,
|
|
|
|
&level0_meshPlane,
|
|
|
|
&level0_meshCube,
|
|
|
|
&level0_camAngle_Camera,
|
|
|
|
&level0_camPath,
|
|
|
|
(CAMANGLE **)&level0_camAngles,
|
|
|
|
&level0_nodePlane,
|
2021-04-15 18:18:39 +02:00
|
|
|
};
|