3dcam/coridor2.c

11399 lines
177 KiB
C

struct BODY;
struct VANIM;
struct PRIM;
struct MESH;
struct CAMPOS;
struct CAMPATH;
struct CAMANGLE;
struct SIBLINGS;
struct CHILDREN;
struct NODE;
struct QUAD;
typedef struct BODY {
VECTOR gForce;
VECTOR position;
SVECTOR velocity;
int mass;
int invMass;
VECTOR min;
VECTOR max;
int restitution;
} BODY;
typedef struct VANIM {
int nframes; // number of frames e.g 20
int nvert; // number of vertices e.g 21
int cursor; // anim cursor
int lerpCursor; // anim cursor
int dir; // playback direction (1 or -1)
int interpolate; // use lerp to interpolate keyframes
SVECTOR data[]; // vertex pos as SVECTORs e.g 20 * 21 SVECTORS
} VANIM;
typedef struct PRIM {
VECTOR order;
int code; // Same as POL3/POL4 codes : Code (F3 = 1, FT3 = 2, G3 = 3,
// GT3 = 4) Code (F4 = 5, FT4 = 6, G4 = 7, GT4 = 8)
} PRIM;
typedef struct MESH {
TMESH * tmesh;
PRIM * index;
TIM_IMAGE * tim;
unsigned long * tim_data;
MATRIX * mat;
VECTOR * pos;
SVECTOR * rot;
short * isRigidBody;
short * isStaticBody;
short * isPrism;
short * isAnim;
short * isActor;
short * isLevel;
short * isBG;
short * isSprite;
long * p;
long * OTz;
BODY * body;
VANIM * anim;
struct NODE * node;
VECTOR pos2D;
} MESH;
typedef struct QUAD {
VECTOR v0, v1;
VECTOR v2, v3;
} QUAD;
typedef struct CAMPOS {
VECTOR pos;
SVECTOR rot;
} CAMPOS;
// Blender cam ~= PSX cam with these settings :
// NTSC - 320x240, PAL 320x256, pixel ratio 1:1,
// cam focal length : perspective 90° ( 16 mm ))
// With a FOV of 1/2, camera focal length is ~= 16 mm / 90°
// Lower values mean wider angle
typedef struct CAMANGLE {
CAMPOS * campos;
TIM_IMAGE * BGtim;
unsigned long * tim_data;
QUAD bw, fw;
int index;
MESH * objects[];
} CAMANGLE;
typedef struct CAMPATH {
short len, cursor, pos;
VECTOR points[];
} CAMPATH;
typedef struct SIBLINGS {
int index;
struct NODE * list[];
} SIBLINGS ;
typedef struct CHILDREN {
int index;
MESH * list[];
} CHILDREN ;
typedef struct NODE {
MESH * plane;
SIBLINGS * siblings;
CHILDREN * objects;
CHILDREN * rigidbodies;
} NODE;
CAMPOS camPos_camPath = {
{ -205,156,-17 },
{ 371,707,0 }
};
CAMPOS camPos_camPath_001 = {
{ 490,101,113 },
{ 282,-192,0 }
};
CAMPOS camPos_camPath_002 = {
{ 221,309,-48 },
{ 866,0,0 }
};
CAMPOS camPos_camPath_003 = {
{ -159,57,61 },
{ 210,542,0 }
};
CAMPOS camPos_camPath_004 = {
{ -208,216,-86 },
{ 447,800,0 }
};
CAMPOS camPos_camPath_005 = {
{ -167,160,-624 },
{ 391,1419,0 }
};
CAMPATH camPath = {
5,
0,
0,
{
{ 490,101,113 },
{ 221,309,-48 },
{ -159,57,61 },
{ -208,216,-86 },
{ -167,160,-624 }
}
};
static MATRIX lgtmat = {
784, 1558, 2188,
-1742, 1368, 1710,
-1554, 1368, -1882
};
static MATRIX cmat = {
13,4096,0,
4096,0,36,
0,5,4096
};
SVECTOR modelCube_mesh[] = {
{ -32,21,-24 },
{ -32,-8,-26 },
{ -32,18,26 },
{ -32,-11,24 },
{ 33,21,-23 },
{ 33,-8,-26 },
{ 33,18,26 },
{ 33,-12,24 },
{ 0,-20,23 },
{ 0,-17,-27 },
{ 0,9,25 },
{ 0,13,-25 },
{ 33,-10,3 },
{ 0,-19,2 },
{ 33,19,5 },
{ -32,19,5 },
{ 0,11,4 },
{ -32,-10,3 },
{ 33,-10,-4 },
{ -32,-10,-4 },
{ 0,11,-3 },
{ -32,20,-2 },
{ 0,-18,-5 },
{ 33,20,-2 },
{ -45,-14,3 },
{ -45,-13,-4 },
{ -45,-11,3 },
{ -45,-10,-4 },
{ -32,-6,3 },
{ -32,-6,-4 },
{ 33,18,16 },
{ 33,-11,14 },
{ 24,-12,24 },
{ 24,18,26 },
{ 24,21,-24 },
{ 24,-8,-26 },
{ 33,21,-16 },
{ 33,-9,-18 },
{ 42,31,-22 },
{ 38,31,-22 },
{ 42,30,-18 },
{ 19,28,24 },
{ 19,28,21 },
{ 16,28,24 },
{ 33,-19,-24 },
{ 31,-23,21 },
{ -32,20,-12 },
{ -20,21,-24 },
{ -18,17,26 },
{ -32,19,14 },
{ -42,31,-21 },
{ -15,28,24 },
{ -42,31,-16 },
{ -38,31,-21 },
{ -10,28,24 },
{ -15,28,20 }
};
SVECTOR modelCube_normal[] = {
2258,624,3360, 0,
2625,2223,2224, 0,
2760,-1911,-2347, 0,
2628,1741,-2615, 0,
-2487,1091,3066, 0,
-2774,730,2924, 0,
-2828,-1736,-2401, 0,
-2865,179,-2922, 0,
-111,2857,-2933, 0,
-128,3370,2325, 0,
-122,-2741,-3041, 0,
-61,-2132,3497, 0,
-3205,2526,-350, 0,
-26,4072,-443, 0,
-2553,-3173,439, 0,
2559,-3163,472, 0,
-57,-4061,533, 0,
1520,3360,-1782, 0,
-3205,2546,-141, 0,
1522,3641,1098, 0,
-36,-4087,275, 0,
2545,-3205,166, 0,
-29,4081,-344, 0,
-2554,-3198,178, 0,
2024,2475,-2560, 0,
2024,2921,2036, 0,
2682,-2124,-2252, 0,
2682,-1652,2618, 0,
3844,-1171,-792, 0,
3844,-997,1003, 0,
-3086,-2613,650, 0,
-3086,2666,376, 0,
180,2003,-3568, 0,
1530,-1708,-3394, 0,
773,-2622,3051, 0,
14,2746,3039, 0,
-3016,-2673,-734, 0,
-3138,2426,-1023, 0,
-3191,-1129,2306, 0,
1491,-3182,2104, 0,
-2729,-1785,-2479, 0,
-957,-3438,-2010, 0,
823,-1766,3603, 0,
3764,-1368,-859, 0,
-952,3959,-445, 0,
-381,4016,-707, 0,
2934,-2811,-518, 0,
-1032,-2614,2979, 0,
-1662,-2009,-3159, 0,
3044,-2664,642, 0,
3242,-1261,2162, 0,
705,-3525,-1963, 0,
2772,-1889,-2350, 0,
-1317,-3366,1927, 0,
-3845,-1288,-578, 0,
-800,-1875,3553, 0
};
SVECTOR modelCube_uv[] = {
19,123, 0, 0,
27,102, 0, 0,
19,112, 0, 0,
58,2, 0, 0,
45,2, 0, 0,
58,8, 0, 0,
46,53, 0, 0,
44,66, 0, 0,
46,59, 0, 0,
17,40, 0, 0,
5,38, 0, 0,
5,40, 0, 0,
38,102, 0, 0,
48,96, 0, 0,
44,95, 0, 0,
44,38, 0, 0,
39,42, 0, 0,
46,42, 0, 0,
30,24, 0, 0,
30,2, 0, 0,
20,24, 0, 0,
45,24, 0, 0,
58,38, 0, 0,
58,24, 0, 0,
20,24, 0, 0,
5,8, 0, 0,
5,24, 0, 0,
34,2, 0, 0,
30,1, 0, 0,
30,2, 0, 0,
34,100, 0, 0,
33,123, 0, 0,
38,102, 0, 0,
34,126, 0, 0,
31,125, 0, 0,
30,127, 0, 0,
21,2, 0, 0,
20,24, 0, 0,
30,2, 0, 0,
45,2, 0, 0,
34,2, 0, 0,
45,24, 0, 0,
34,2, 0, 0,
30,24, 0, 0,
34,24, 0, 0,
33,125, 0, 0,
31,123, 0, 0,
31,125, 0, 0,
31,100, 0, 0,
33,123, 0, 0,
34,100, 0, 0,
6,83, 0, 0,
7,74, 0, 0,
2,78, 0, 0,
44,38, 0, 0,
58,40, 0, 0,
58,38, 0, 0,
44,73, 0, 0,
53,70, 0, 0,
44,66, 0, 0,
20,38, 0, 0,
5,24, 0, 0,
5,38, 0, 0,
24,42, 0, 0,
18,62, 0, 0,
19,66, 0, 0,
24,42, 0, 0,
20,38, 0, 0,
19,41, 0, 0,
19,66, 0, 0,
6,83, 0, 0,
19,73, 0, 0,
18,62, 0, 0,
7,74, 0, 0,
19,66, 0, 0,
5,40, 0, 0,
1,38, 0, 0,
1,41, 0, 0,
53,70, 0, 0,
59,78, 0, 0,
58,69, 0, 0,
58,40, 0, 0,
62,37, 0, 0,
58,38, 0, 0,
46,59, 0, 0,
53,70, 0, 0,
58,69, 0, 0,
29,1, 0, 0,
30,2, 0, 0,
30,1, 0, 0,
34,2, 0, 0,
36,1, 0, 0,
34,1, 0, 0,
20,38, 0, 0,
17,40, 0, 0,
19,41, 0, 0,
19,52, 0, 0,
24,42, 0, 0,
19,41, 0, 0,
39,42, 0, 0,
46,53, 0, 0,
46,42, 0, 0,
46,40, 0, 0,
44,38, 0, 0,
46,42, 0, 0,
27,102, 0, 0,
14,102, 0, 0,
19,102, 0, 0,
51,98, 0, 0,
48,96, 0, 0,
49,102, 0, 0,
19,102, 0, 0,
14,102, 0, 0,
14,105, 0, 0,
58,2, 0, 0,
61,6, 0, 0,
61,3, 0, 0,
5,2, 0, 0,
1,6, 0, 0,
5,8, 0, 0,
19,112, 0, 0,
19,102, 0, 0,
19,113, 0, 0,
47,113, 0, 0,
49,102, 0, 0,
38,102, 0, 0,
45,24, 0, 0,
34,2, 0, 0,
34,24, 0, 0,
39,42, 0, 0,
44,38, 0, 0,
34,42, 0, 0,
45,24, 0, 0,
34,24, 0, 0,
44,38, 0, 0,
44,38, 0, 0,
34,24, 0, 0,
34,42, 0, 0,
30,42, 0, 0,
34,24, 0, 0,
30,24, 0, 0,
24,42, 0, 0,
30,42, 0, 0,
20,38, 0, 0,
20,38, 0, 0,
30,42, 0, 0,
30,24, 0, 0,
34,66, 0, 0,
30,42, 0, 0,
30,66, 0, 0,
30,66, 0, 0,
24,42, 0, 0,
19,66, 0, 0,
39,42, 0, 0,
34,66, 0, 0,
44,66, 0, 0,
34,100, 0, 0,
38,102, 0, 0,
44,95, 0, 0,
27,102, 0, 0,
31,100, 0, 0,
19,96, 0, 0,
30,66, 0, 0,
19,66, 0, 0,
19,73, 0, 0,
44,66, 0, 0,
34,66, 0, 0,
44,73, 0, 0,
30,66, 0, 0,
33,84, 0, 0,
34,66, 0, 0,
31,100, 0, 0,
33,84, 0, 0,
31,84, 0, 0,
19,96, 0, 0,
31,84, 0, 0,
19,84, 0, 0,
33,84, 0, 0,
44,95, 0, 0,
44,84, 0, 0,
44,73, 0, 0,
33,84, 0, 0,
44,84, 0, 0,
31,84, 0, 0,
19,73, 0, 0,
19,84, 0, 0,
5,8, 0, 0,
21,2, 0, 0,
5,2, 0, 0,
58,8, 0, 0,
45,24, 0, 0,
58,24, 0, 0,
47,123, 0, 0,
33,123, 0, 0,
39,125, 0, 0,
31,123, 0, 0,
19,123, 0, 0,
27,126, 0, 0,
38,102, 0, 0,
47,123, 0, 0,
47,113, 0, 0,
27,102, 0, 0,
31,123, 0, 0,
31,100, 0, 0,
30,24, 0, 0,
20,24, 0, 0,
20,38, 0, 0,
19,123, 0, 0,
31,123, 0, 0,
27,102, 0, 0,
46,53, 0, 0,
39,42, 0, 0,
44,66, 0, 0,
17,40, 0, 0,
20,38, 0, 0,
5,38, 0, 0,
38,102, 0, 0,
49,102, 0, 0,
48,96, 0, 0,
45,24, 0, 0,
44,38, 0, 0,
58,38, 0, 0,
20,24, 0, 0,
21,2, 0, 0,
5,8, 0, 0,
34,2, 0, 0,
34,1, 0, 0,
30,1, 0, 0,
34,126, 0, 0,
33,125, 0, 0,
31,125, 0, 0,
34,2, 0, 0,
30,2, 0, 0,
30,24, 0, 0,
33,125, 0, 0,
33,123, 0, 0,
31,123, 0, 0,
31,100, 0, 0,
31,123, 0, 0,
33,123, 0, 0,
44,38, 0, 0,
46,40, 0, 0,
58,40, 0, 0,
44,73, 0, 0,
59,78, 0, 0,
53,70, 0, 0,
20,38, 0, 0,
20,24, 0, 0,
5,24, 0, 0,
24,42, 0, 0,
19,52, 0, 0,
18,62, 0, 0,
19,66, 0, 0,
7,74, 0, 0,
6,83, 0, 0,
18,62, 0, 0,
2,74, 0, 0,
7,74, 0, 0,
5,40, 0, 0,
5,38, 0, 0,
1,38, 0, 0,
58,40, 0, 0,
62,40, 0, 0,
62,37, 0, 0,
46,59, 0, 0,
44,66, 0, 0,
53,70, 0, 0,
29,1, 0, 0,
29,1, 0, 0,
30,2, 0, 0,
34,2, 0, 0,
36,2, 0, 0,
36,1, 0, 0,
27,102, 0, 0,
19,96, 0, 0,
14,102, 0, 0,
58,2, 0, 0,
58,8, 0, 0,
61,6, 0, 0,
5,2, 0, 0,
1,2, 0, 0,
1,6, 0, 0,
19,112, 0, 0,
27,102, 0, 0,
19,102, 0, 0,
47,113, 0, 0,
51,107, 0, 0,
49,102, 0, 0,
30,42, 0, 0,
34,42, 0, 0,
34,24, 0, 0,
34,66, 0, 0,
34,42, 0, 0,
30,42, 0, 0,
30,66, 0, 0,
30,42, 0, 0,
24,42, 0, 0,
39,42, 0, 0,
34,42, 0, 0,
34,66, 0, 0,
30,66, 0, 0,
31,84, 0, 0,
33,84, 0, 0,
31,100, 0, 0,
34,100, 0, 0,
33,84, 0, 0,
19,96, 0, 0,
31,100, 0, 0,
31,84, 0, 0,
33,84, 0, 0,
34,100, 0, 0,
44,95, 0, 0,
44,73, 0, 0,
34,66, 0, 0,
33,84, 0, 0,
31,84, 0, 0,
30,66, 0, 0,
19,73, 0, 0,
58,8, 0, 0,
45,2, 0, 0,
45,24, 0, 0,
38,102, 0, 0,
33,123, 0, 0,
47,123, 0, 0
};
CVECTOR modelCube_color[] = {
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0
};
PRIM modelCube_index[] = {
1,46,0,0,4,
2,3,48,0,4,
7,30,6,0,4,
5,34,4,0,4,
49,54,48,0,4,
32,31,45,0,4,
22,19,9,0,4,
8,33,10,0,4,
9,47,11,0,4,
17,25,19,0,4,
15,28,49,0,4,
24,27,25,0,4,
1,9,19,0,4,
3,17,8,0,4,
17,22,13,0,4,
26,29,27,0,4,
21,28,15,0,4,
39,40,38,0,4,
32,6,33,0,4,
33,42,30,0,4,
35,11,34,0,4,
37,4,36,0,4,
37,35,44,0,4,
36,39,34,0,4,
4,40,36,0,4,
4,39,38,0,4,
42,43,41,0,4,
6,43,33,0,4,
6,42,41,0,4,
27,19,25,0,4,
17,26,24,0,4,
35,5,44,0,4,
5,37,44,0,4,
31,7,45,0,4,
7,32,45,0,4,
46,53,52,0,4,
51,54,55,0,4,
52,53,50,0,4,
2,54,51,0,4,
0,53,47,0,4,
0,52,50,0,4,
2,55,49,0,4,
8,17,13,0,4,
31,32,12,0,4,
8,13,32,0,4,
32,13,12,0,4,
18,13,22,0,4,
37,18,35,0,4,
35,18,22,0,4,
14,18,23,0,4,
23,37,36,0,4,
31,14,30,0,4,
15,49,48,0,4,
46,21,47,0,4,
23,36,34,0,4,
30,14,33,0,4,
23,16,14,0,4,
21,16,20,0,4,
47,20,11,0,4,
16,48,10,0,4,
33,16,10,0,4,
20,34,11,0,4,
47,1,0,0,4,
48,8,10,0,4,
3,28,17,0,4,
29,1,19,0,4,
49,3,2,0,4,
46,29,21,0,4,
22,9,35,0,4,
1,29,46,0,4,
7,31,30,0,4,
5,35,34,0,4,
49,55,54,0,4,
8,32,33,0,4,
9,1,47,0,4,
17,24,25,0,4,
24,26,27,0,4,
17,19,22,0,4,
26,28,29,0,4,
21,29,28,0,4,
32,7,6,0,4,
33,43,42,0,4,
35,9,11,0,4,
37,5,4,0,4,
36,40,39,0,4,
4,38,40,0,4,
4,34,39,0,4,
6,41,43,0,4,
6,30,42,0,4,
27,29,19,0,4,
17,28,26,0,4,
46,47,53,0,4,
2,48,54,0,4,
0,50,53,0,4,
0,46,52,0,4,
2,51,55,0,4,
18,12,13,0,4,
14,12,18,0,4,
23,18,37,0,4,
31,12,14,0,4,
23,20,16,0,4,
21,15,16,0,4,
47,21,20,0,4,
16,15,48,0,4,
33,14,16,0,4,
20,23,34,0,4,
48,3,8,0,4,
49,28,3,0,4
};
MATRIX modelCube_matrix = {0};
VECTOR modelCube_pos = {-282,-45,128, 0};
SVECTOR modelCube_rot = {0,899,0};
short modelCube_isRigidBody = 0;
short modelCube_isStaticBody = 1;
short modelCube_isPrism = 0;
short modelCube_isAnim = 0;
short modelCube_isActor = 0;
short modelCube_isLevel = 0;
short modelCube_isBG = 0;
short modelCube_isSprite = 0;
long modelCube_p = 0;
long modelCube_OTz = 0;
BODY modelCube_body = {
{0, 0, 0, 0},
-282,-45,128, 0,
0,899,0, 0,
5,
ONE/5,
-45,-23,-27, 0,
42,31,26, 0,
1024,
};
TMESH modelCube = {
modelCube_mesh,
modelCube_normal,
modelCube_uv,
modelCube_color,
108
};
extern unsigned long _binary_TIM_cat_tim_start[];
extern unsigned long _binary_TIM_cat_tim_end[];
extern unsigned long _binary_TIM_cat_tim_length;
TIM_IMAGE tim_cat;
NODE nodegnd_003;
NODE nodegnd_001;
NODE nodegnd_002;
NODE nodegnd;
MESH meshCube = {
&modelCube,
modelCube_index,
&tim_cat,
_binary_TIM_cat_tim_start,
&modelCube_matrix,
&modelCube_pos,
&modelCube_rot,
&modelCube_isRigidBody,
&modelCube_isStaticBody,
&modelCube_isPrism,
&modelCube_isAnim,
&modelCube_isActor,
&modelCube_isLevel,
&modelCube_isBG,
&modelCube_isSprite,
&modelCube_p,
&modelCube_OTz,
&modelCube_body,
0,
0,
0
};
SVECTOR modelCylindre_mesh[] = {
{ -2,35,10 },
{ 5,-30,41 },
{ 4,35,7 },
{ 31,-30,26 },
{ 6,35,2 },
{ 39,-30,1 },
{ 4,35,-4 },
{ 29,-30,-23 },
{ 0,35,-7 },
{ -4,35,-8 },
{ 6,-30,-36 },
{ -8,35,-6 },
{ -16,-30,-33 },
{ -11,35,-2 },
{ -35,-30,-15 },
{ -12,35,2 },
{ -38,-30,7 },
{ -10,35,6 },
{ -32,-30,25 },
{ -7,35,9 },
{ -18,-30,37 }
};
SVECTOR modelCylindre_normal[] = {
-397,-1844,-3636, 0,
-369,3301,-2396, 0,
-2743,-1808,-2446, 0,
-1875,3311,-1515, 0,
-3654,-1848,-107, 0,
-2388,3327,73, 0,
-2928,-1857,2180, 0,
-1825,3298,1604, 0,
-1193,-1970,3387, 0,
605,-1985,3531, 0,
-444,3298,2389, 0,
2193,-2031,2801, 0,
1051,3278,2220, 0,
3272,-2004,1434, 0,
2218,3246,1147, 0,
3551,-2022,-282, 0,
2426,3291,-240, 0,
3017,-1975,-1943, 0,
1993,3302,-1378, 0,
1697,-1963,-3169, 0,
1056,3329,-2140, 0
};
SVECTOR modelCylindre_uv[] = {
32,134, 0, 0,
25,153, 0, 0,
33,153, 0, 0,
22,153, 0, 0,
16,171, 0, 0,
22,171, 0, 0,
16,153, 0, 0,
9,171, 0, 0,
16,171, 0, 0,
9,153, 0, 0,
4,171, 0, 0,
9,171, 0, 0,
30,171, 0, 0,
33,153, 0, 0,
29,153, 0, 0,
36,171, 0, 0,
38,153, 0, 0,
33,153, 0, 0,
45,171, 0, 0,
46,153, 0, 0,
42,153, 0, 0,
45,171, 0, 0,
51,153, 0, 0,
46,153, 0, 0,
51,171, 0, 0,
56,153, 0, 0,
51,153, 0, 0,
56,171, 0, 0,
59,153, 0, 0,
56,153, 0, 0,
4,178, 0, 0,
14,189, 0, 0,
24,183, 0, 0,
37,134, 0, 0,
33,153, 0, 0,
37,153, 0, 0,
42,186, 0, 0,
42,174, 0, 0,
24,177, 0, 0,
32,134, 0, 0,
24,134, 0, 0,
25,153, 0, 0,
22,153, 0, 0,
16,153, 0, 0,
16,171, 0, 0,
16,153, 0, 0,
9,153, 0, 0,
9,171, 0, 0,
24,171, 0, 0,
30,171, 0, 0,
29,153, 0, 0,
30,171, 0, 0,
36,171, 0, 0,
33,153, 0, 0,
36,171, 0, 0,
42,171, 0, 0,
38,153, 0, 0,
45,171, 0, 0,
51,171, 0, 0,
51,153, 0, 0,
51,171, 0, 0,
56,171, 0, 0,
56,153, 0, 0,
56,171, 0, 0,
59,171, 0, 0,
59,153, 0, 0,
4,178, 0, 0,
4,182, 0, 0,
14,189, 0, 0,
4,182, 0, 0,
7,187, 0, 0,
14,189, 0, 0,
20,188, 0, 0,
24,183, 0, 0,
14,189, 0, 0,
24,183, 0, 0,
24,177, 0, 0,
12,171, 0, 0,
24,177, 0, 0,
20,172, 0, 0,
12,171, 0, 0,
12,171, 0, 0,
7,174, 0, 0,
4,178, 0, 0,
12,171, 0, 0,
4,178, 0, 0,
24,183, 0, 0,
37,134, 0, 0,
32,134, 0, 0,
33,153, 0, 0,
44,182, 0, 0,
44,178, 0, 0,
42,186, 0, 0,
42,174, 0, 0,
38,171, 0, 0,
33,171, 0, 0,
28,173, 0, 0,
24,177, 0, 0,
33,171, 0, 0,
24,177, 0, 0,
25,184, 0, 0,
42,186, 0, 0,
25,184, 0, 0,
30,188, 0, 0,
42,186, 0, 0,
30,188, 0, 0,
37,189, 0, 0,
42,186, 0, 0,
42,186, 0, 0,
44,178, 0, 0,
42,174, 0, 0,
42,174, 0, 0,
33,171, 0, 0,
24,177, 0, 0
};
CVECTOR modelCylindre_color[] = {
153,137,141, 0,
255,255,255, 0,
255,255,255, 0,
159,144,147, 0,
255,255,255, 0,
255,255,255, 0,
153,137,141, 0,
255,255,255, 0,
255,255,255, 0,
154,139,143, 0,
255,255,255, 0,
255,255,255, 0,
154,138,142, 0,
255,255,255, 0,
255,255,255, 0,
153,137,141, 0,
255,255,255, 0,
255,255,255, 0,
153,137,141, 0,
255,255,255, 0,
255,255,255, 0,
153,137,141, 0,
255,255,255, 0,
255,255,255, 0,
153,137,141, 0,
255,255,255, 0,
255,255,255, 0,
153,137,141, 0,
255,255,255, 0,
255,255,255, 0,
153,137,141, 0,
153,137,141, 0,
154,139,143, 0,
153,137,141, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
153,137,141, 0,
159,144,147, 0,
255,255,255, 0,
159,144,147, 0,
153,137,141, 0,
255,255,255, 0,
153,137,141, 0,
154,139,143, 0,
255,255,255, 0,
154,139,143, 0,
154,138,142, 0,
255,255,255, 0,
154,138,142, 0,
153,137,141, 0,
255,255,255, 0,
153,137,141, 0,
153,137,141, 0,
255,255,255, 0,
153,137,141, 0,
153,137,141, 0,
255,255,255, 0,
153,137,141, 0,
153,137,141, 0,
255,255,255, 0,
153,137,141, 0,
158,143,147, 0,
255,255,255, 0,
153,137,141, 0,
153,137,141, 0,
153,137,141, 0,
153,137,141, 0,
153,137,141, 0,
153,137,141, 0,
154,138,142, 0,
154,139,143, 0,
153,137,141, 0,
154,139,143, 0,
153,137,141, 0,
153,137,141, 0,
153,137,141, 0,
154,138,142, 0,
153,137,141, 0,
153,137,141, 0,
153,137,141, 0,
153,137,141, 0,
153,137,141, 0,
153,137,141, 0,
154,139,143, 0,
153,137,141, 0,
153,137,141, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0,
255,255,255, 0
};
PRIM modelCylindre_index[] = {
1,2,0,0,4,
3,4,2,0,4,
5,6,4,0,4,
7,8,6,0,4,
10,9,8,0,4,
12,11,9,0,4,
14,13,11,0,4,
14,15,13,0,4,
16,17,15,0,4,
18,19,17,0,4,
18,12,7,0,4,
20,0,19,0,4,
8,13,0,0,4,
1,3,2,0,4,
3,5,4,0,4,
5,7,6,0,4,
7,10,8,0,4,
10,12,9,0,4,
12,14,11,0,4,
14,16,15,0,4,
16,18,17,0,4,
18,20,19,0,4,
18,16,12,0,4,
16,14,12,0,4,
10,7,12,0,4,
7,5,1,0,4,
5,3,1,0,4,
1,20,18,0,4,
1,18,7,0,4,
20,1,0,0,4,
9,11,8,0,4,
13,15,17,0,4,
19,0,17,0,4,
0,2,8,0,4,
2,4,8,0,4,
4,6,8,0,4,
8,11,13,0,4,
13,17,0,0,4
};
VANIM modelCylindre_anim = {
20,
21,
0,
0,
1,
0,
{
//Frame 0
{ 3,35,47 },
{ -1,-30,14 },
{ 33,35,32 },
{ 7,-30,9 },
{ 43,35,5 },
{ 9,-30,2 },
{ 35,35,-23 },
{ 6,-30,-4 },
{ 13,35,-36 },
{ -7,35,-38 },
{ 0,-30,-8 },
{ -26,35,-29 },
{ -6,-30,-7 },
{ -39,35,-13 },
{ -12,-30,-2 },
{ -42,35,7 },
{ -13,-30,4 },
{ -36,35,27 },
{ -11,-30,9 },
{ -20,35,41 },
{ -7,-30,12 },
//Frame 1
{ 3,35,45 },
{ 0,-30,15 },
{ 31,35,31 },
{ 8,-30,11 },
{ 41,35,5 },
{ 11,-30,2 },
{ 33,35,-21 },
{ 8,-30,-6 },
{ 13,35,-35 },
{ -7,35,-36 },
{ 0,-30,-10 },
{ -25,35,-28 },
{ -7,-30,-9 },
{ -37,35,-13 },
{ -13,-30,-3 },
{ -40,35,7 },
{ -14,-30,4 },
{ -34,35,26 },
{ -12,-30,10 },
{ -19,35,39 },
{ -8,-30,14 },
//Frame 2
{ 2,35,38 },
{ 1,-30,20 },
{ 26,35,26 },
{ 12,-30,14 },
{ 34,35,4 },
{ 16,-30,2 },
{ 27,35,-18 },
{ 12,-30,-9 },
{ 10,35,-29 },
{ -6,35,-31 },
{ 1,-30,-15 },
{ -22,35,-24 },
{ -9,-30,-13 },
{ -32,35,-11 },
{ -18,-30,-5 },
{ -35,35,6 },
{ -19,-30,5 },
{ -30,35,22 },
{ -16,-30,13 },
{ -17,35,33 },
{ -10,-30,18 },
//Frame 3
{ 1,35,29 },
{ 2,-30,27 },
{ 19,35,20 },
{ 19,-30,18 },
{ 25,35,3 },
{ 24,-30,2 },
{ 19,35,-13 },
{ 18,-30,-14 },
{ 7,35,-22 },
{ -6,35,-23 },
{ 3,-30,-22 },
{ -17,35,-18 },
{ -11,-30,-20 },
{ -25,35,-8 },
{ -24,-30,-9 },
{ -27,35,5 },
{ -26,-30,5 },
{ -23,35,16 },
{ -21,-30,17 },
{ -14,35,25 },
{ -12,-30,24 },
//Frame 4
{ -1,35,19 },
{ 3,-30,35 },
{ 11,35,13 },
{ 25,-30,22 },
{ 15,35,2 },
{ 31,-30,2 },
{ 12,35,-9 },
{ 24,-30,-19 },
{ 3,35,-14 },
{ -5,35,-15 },
{ 5,-30,-29 },
{ -13,35,-11 },
{ -14,-30,-27 },
{ -18,35,-5 },
{ -30,-30,-12 },
{ -19,35,3 },
{ -32,-30,6 },
{ -17,35,11 },
{ -27,-30,21 },
{ -10,35,17 },
{ -15,-30,31 },
//Frame 5
{ -2,35,13 },
{ 4,-30,40 },
{ 6,35,9 },
{ 29,-30,25 },
{ 8,35,2 },
{ 37,-30,1 },
{ 6,35,-5 },
{ 28,-30,-22 },
{ 1,35,-9 },
{ -5,35,-9 },
{ 6,-30,-34 },
{ -9,35,-7 },
{ -15,-30,-31 },
{ -13,35,-3 },
{ -34,-30,-14 },
{ -14,35,2 },
{ -37,-30,7 },
{ -12,35,7 },
{ -30,-30,24 },
{ -8,35,11 },
{ -17,-30,35 },
//Frame 6
{ -2,35,10 },
{ 5,-30,41 },
{ 4,35,7 },
{ 31,-30,26 },
{ 6,35,2 },
{ 39,-30,1 },
{ 4,35,-4 },
{ 29,-30,-23 },
{ 0,35,-7 },
{ -4,35,-8 },
{ 6,-30,-36 },
{ -8,35,-6 },
{ -16,-30,-33 },
{ -11,35,-2 },
{ -35,-30,-15 },
{ -12,35,2 },
{ -38,-30,7 },
{ -10,35,6 },
{ -32,-30,25 },
{ -7,35,9 },
{ -18,-30,37 },
//Frame 7
{ -2,35,11 },
{ 5,-30,41 },
{ 4,35,8 },
{ 31,-30,26 },
{ 7,35,2 },
{ 38,-30,1 },
{ 5,35,-4 },
{ 29,-30,-23 },
{ 0,35,-8 },
{ -4,35,-8 },
{ 6,-30,-35 },
{ -9,35,-6 },
{ -16,-30,-33 },
{ -11,35,-2 },
{ -35,-30,-15 },
{ -12,35,2 },
{ -38,-30,7 },
{ -11,35,6 },
{ -32,-30,25 },
{ -7,35,9 },
{ -17,-30,36 },
//Frame 8
{ -2,35,12 },
{ 5,-30,40 },
{ 5,35,8 },
{ 30,-30,26 },
{ 8,35,2 },
{ 37,-30,1 },
{ 6,35,-5 },
{ 28,-30,-22 },
{ 0,35,-9 },
{ -5,35,-9 },
{ 6,-30,-34 },
{ -9,35,-7 },
{ -15,-30,-32 },
{ -12,35,-3 },
{ -34,-30,-14 },
{ -13,35,2 },
{ -37,-30,7 },
{ -12,35,7 },
{ -31,-30,24 },
{ -8,35,11 },
{ -17,-30,35 },
//Frame 9
{ -2,35,14 },
{ 4,-30,38 },
{ 7,35,10 },
{ 28,-30,25 },
{ 10,35,2 },
{ 36,-30,2 },
{ 7,35,-6 },
{ 27,-30,-21 },
{ 1,35,-10 },
{ -5,35,-11 },
{ 6,-30,-33 },
{ -10,35,-8 },
{ -15,-30,-30 },
{ -14,35,-3 },
{ -33,-30,-14 },
{ -15,35,3 },
{ -36,-30,7 },
{ -13,35,8 },
{ -30,-30,23 },
{ -9,35,12 },
{ -17,-30,34 },
//Frame 10
{ -1,35,17 },
{ 4,-30,36 },
{ 9,35,12 },
{ 26,-30,23 },
{ 13,35,2 },
{ 33,-30,2 },
{ 10,35,-8 },
{ 25,-30,-20 },
{ 2,35,-12 },
{ -5,35,-13 },
{ 5,-30,-31 },
{ -12,35,-10 },
{ -14,-30,-28 },
{ -16,35,-4 },
{ -31,-30,-13 },
{ -17,35,3 },
{ -34,-30,6 },
{ -15,35,10 },
{ -28,-30,22 },
{ -10,35,15 },
{ -16,-30,32 },
//Frame 11
{ -1,35,20 },
{ 3,-30,34 },
{ 12,35,14 },
{ 24,-30,22 },
{ 16,35,2 },
{ 30,-30,2 },
{ 13,35,-9 },
{ 23,-30,-18 },
{ 4,35,-15 },
{ -5,35,-16 },
{ 5,-30,-28 },
{ -13,35,-12 },
{ -13,-30,-26 },
{ -19,35,-5 },
{ -29,-30,-12 },
{ -20,35,3 },
{ -31,-30,6 },
{ -17,35,12 },
{ -26,-30,20 },
{ -11,35,18 },
{ -15,-30,30 },
//Frame 12
{ 0,35,25 },
{ 3,-30,31 },
{ 15,35,17 },
{ 22,-30,20 },
{ 20,35,3 },
{ 27,-30,2 },
{ 16,35,-11 },
{ 21,-30,-16 },
{ 5,35,-18 },
{ -5,35,-19 },
{ 4,-30,-25 },
{ -15,35,-15 },
{ -12,-30,-23 },
{ -22,35,-7 },
{ -26,-30,-10 },
{ -23,35,4 },
{ -28,-30,6 },
{ -20,35,14 },
{ -24,-30,19 },
{ -12,35,21 },
{ -14,-30,27 },
//Frame 13
{ 1,35,29 },
{ 2,-30,27 },
{ 19,35,20 },
{ 19,-30,18 },
{ 25,35,3 },
{ 24,-30,2 },
{ 19,35,-13 },
{ 18,-30,-14 },
{ 7,35,-22 },
{ -6,35,-23 },
{ 3,-30,-22 },
{ -17,35,-18 },
{ -11,-30,-20 },
{ -25,35,-8 },
{ -24,-30,-9 },
{ -27,35,5 },
{ -26,-30,5 },
{ -23,35,16 },
{ -21,-30,17 },
{ -14,35,25 },
{ -12,-30,24 },
//Frame 14
{ 1,35,33 },
{ 1,-30,24 },
{ 22,35,23 },
{ 16,-30,16 },
{ 29,35,4 },
{ 20,-30,2 },
{ 23,35,-16 },
{ 15,-30,-12 },
{ 8,35,-25 },
{ -6,35,-26 },
{ 2,-30,-19 },
{ -19,35,-20 },
{ -10,-30,-17 },
{ -28,35,-9 },
{ -21,-30,-7 },
{ -30,35,5 },
{ -23,-30,5 },
{ -26,35,19 },
{ -19,-30,15 },
{ -15,35,29 },
{ -11,-30,22 },
//Frame 15
{ 2,35,37 },
{ 1,-30,21 },
{ 25,35,25 },
{ 13,-30,14 },
{ 33,35,4 },
{ 17,-30,2 },
{ 26,35,-17 },
{ 13,-30,-10 },
{ 10,35,-28 },
{ -6,35,-30 },
{ 2,-30,-16 },
{ -21,35,-23 },
{ -9,-30,-14 },
{ -31,35,-10 },
{ -18,-30,-6 },
{ -34,35,6 },
{ -20,-30,5 },
{ -29,35,21 },
{ -17,-30,13 },
{ -17,35,32 },
{ -10,-30,19 },
//Frame 16
{ 2,35,41 },
{ 0,-30,19 },
{ 28,35,28 },
{ 11,-30,12 },
{ 37,35,4 },
{ 14,-30,2 },
{ 29,35,-19 },
{ 10,-30,-8 },
{ 11,35,-31 },
{ -6,35,-33 },
{ 1,-30,-13 },
{ -23,35,-25 },
{ -8,-30,-12 },
{ -34,35,-11 },
{ -16,-30,-4 },
{ -36,35,6 },
{ -17,-30,4 },
{ -31,35,23 },
{ -15,-30,12 },
{ -18,35,35 },
{ -9,-30,17 },
//Frame 17
{ 3,35,43 },
{ 0,-30,16 },
{ 30,35,30 },
{ 9,-30,11 },
{ 39,35,5 },
{ 12,-30,2 },
{ 32,35,-21 },
{ 9,-30,-6 },
{ 12,35,-33 },
{ -7,35,-35 },
{ 0,-30,-11 },
{ -24,35,-27 },
{ -7,-30,-10 },
{ -36,35,-12 },
{ -14,-30,-3 },
{ -39,35,7 },
{ -15,-30,4 },
{ -33,35,25 },
{ -13,-30,11 },
{ -19,35,38 },
{ -8,-30,15 },
//Frame 18
{ 3,35,45 },
{ 0,-30,15 },
{ 32,35,31 },
{ 8,-30,10 },
{ 42,35,5 },
{ 10,-30,2 },
{ 33,35,-22 },
{ 7,-30,-5 },
{ 13,35,-35 },
{ -7,35,-37 },
{ 0,-30,-9 },
{ -25,35,-28 },
{ -7,-30,-8 },
{ -37,35,-13 },
{ -13,-30,-3 },
{ -41,35,7 },
{ -14,-30,4 },
{ -35,35,26 },
{ -12,-30,10 },
{ -20,35,40 },
{ -7,-30,13 },
//Frame 19
{ 3,35,47 },
{ -1,-30,14 },
{ 33,35,32 },
{ 7,-30,10 },
{ 43,35,5 },
{ 9,-30,2 },
{ 34,35,-22 },
{ 6,-30,-5 },
{ 13,35,-36 },
{ -7,35,-38 },
{ 0,-30,-8 },
{ -26,35,-29 },
{ -7,-30,-7 },
{ -38,35,-13 },
{ -12,-30,-2 },
{ -42,35,7 },
{ -13,-30,4 },
{ -35,35,27 },
{ -11,-30,9 },
{ -20,35,41 },
{ -7,-30,13 }
}
};
MATRIX modelCylindre_matrix = {0};
VECTOR modelCylindre_pos = {-1,-57,523, 0};
SVECTOR modelCylindre_rot = {0,0,0};
short modelCylindre_isRigidBody = 0;
short modelCylindre_isStaticBody = 1;
short modelCylindre_isPrism = 0;
short modelCylindre_isAnim = 1;
short modelCylindre_isActor = 0;
short modelCylindre_isLevel = 0;
short modelCylindre_isBG = 0;
short modelCylindre_isSprite = 0;
long modelCylindre_p = 0;
long modelCylindre_OTz = 0;
BODY modelCylindre_body = {
{0, 0, 0, 0},
-1,-57,523, 0,
0,0,0, 0,
20,
ONE/20,
-38,-30,-36, 0,
39,35,41, 0,
0,
};
TMESH modelCylindre = {
modelCylindre_mesh,
modelCylindre_normal,
modelCylindre_uv,
modelCylindre_color,
38
};
extern unsigned long _binary_TIM_home_tim_start[];
extern unsigned long _binary_TIM_home_tim_end[];
extern unsigned long _binary_TIM_home_tim_length;
TIM_IMAGE tim_home;
NODE nodegnd_003;
NODE nodegnd_001;
NODE nodegnd_002;
NODE nodegnd;
MESH meshCylindre = {
&modelCylindre,
modelCylindre_index,
&tim_home,
_binary_TIM_home_tim_start,
&modelCylindre_matrix,
&modelCylindre_pos,
&modelCylindre_rot,
&modelCylindre_isRigidBody,
&modelCylindre_isStaticBody,
&modelCylindre_isPrism,
&modelCylindre_isAnim,
&modelCylindre_isActor,
&modelCylindre_isLevel,
&modelCylindre_isBG,
&modelCylindre_isSprite,
&modelCylindre_p,
&modelCylindre_OTz,
&modelCylindre_body,
&modelCylindre_anim,
0,
0
};
SVECTOR modelgnd_mesh[] = {
{ 200,0,-98 },
{ 103,0,-98 },
{ 200,0,-1 },
{ 103,0,-1 },
{ 5,0,-98 },
{ 5,0,-1 },
{ 200,0,97 },
{ 103,0,97 },
{ -92,0,-98 },
{ 5,0,97 },
{ -92,0,-1 },
{ 200,0,194 },
{ 103,0,194 },
{ -92,0,97 },
{ -190,0,-98 },
{ 5,0,194 },
{ -190,0,-1 },
{ -92,0,194 },
{ -190,0,97 },
{ -287,0,-98 },
{ -287,0,-1 },
{ -190,0,194 },
{ -287,0,97 },
{ -385,0,-98 },
{ -287,0,194 },
{ -385,0,-1 },
{ -385,0,97 },
{ -385,0,194 },
{ -482,0,-98 },
{ -482,0,-1 },
{ -482,0,97 },
{ -482,0,194 },
{ -580,0,-98 },
{ -580,0,-1 },
{ -580,0,97 },
{ -580,0,194 }
};
SVECTOR modelgnd_normal[] = {
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0,
0,4096,0, 0
};
SVECTOR modelgnd_uv[] = {
191,64, 0, 0,
191,0, 0, 0,
127,0, 0, 0,
191,127, 0, 0,
127,64, 0, 0,
127,127, 0, 0,
191,64, 0, 0,
127,0, 0, 0,
127,64, 0, 0,
127,127, 0, 0,
191,127, 0, 0,
191,64, 0, 0,
191,127, 0, 0,
191,64, 0, 0,
127,64, 0, 0,
191,127, 0, 0,
127,64, 0, 0,
127,127, 0, 0,
191,64, 0, 0,
127,0, 0, 0,
127,64, 0, 0,
255,127, 0, 0,
255,64, 0, 0,
191,64, 0, 0,
255,127, 0, 0,
191,64, 0, 0,
191,127, 0, 0,
127,127, 0, 0,
191,64, 0, 0,
127,64, 0, 0,
191,64, 0, 0,
191,0, 0, 0,
127,0, 0, 0,
191,64, 0, 0,
191,0, 0, 0,
127,0, 0, 0,
127,127, 0, 0,
191,127, 0, 0,
191,64, 0, 0,
191,127, 0, 0,
191,64, 0, 0,
127,64, 0, 0,
191,64, 0, 0,
127,0, 0, 0,
127,64, 0, 0,
0,64, 0, 0,
0,128, 0, 0,
64,128, 0, 0,
0,64, 0, 0,
64,128, 0, 0,
64,64, 0, 0,
127,127, 0, 0,
191,64, 0, 0,
127,64, 0, 0,
191,127, 0, 0,
127,64, 0, 0,
127,127, 0, 0,
191,64, 0, 0,
127,0, 0, 0,
127,64, 0, 0,
191,64, 0, 0,
191,0, 0, 0,
127,0, 0, 0,
191,127, 0, 0,
191,64, 0, 0,
127,64, 0, 0,
127,64, 0, 0,
191,127, 0, 0,
191,64, 0, 0,
127,64, 0, 0,
127,127, 0, 0,
191,127, 0, 0,
191,127, 0, 0,
127,64, 0, 0,
127,127, 0, 0,
191,64, 0, 0,
127,0, 0, 0,
127,64, 0, 0,
191,64, 0, 0,
191,0, 0, 0,
127,0, 0, 0,
127,64, 0, 0,
191,127, 0, 0,
191,64, 0, 0,
191,127, 0, 0,
191,64, 0, 0,
127,64, 0, 0,
127,64, 0, 0,
127,127, 0, 0,
191,127, 0, 0,
191,127, 0, 0,
127,64, 0, 0,
127,127, 0, 0,
191,64, 0, 0,
127,0, 0, 0,
127,64, 0, 0,
127,64, 0, 0,
191,127, 0, 0,
191,64, 0, 0,
191,64, 0, 0,
191,0, 0, 0,
127,0, 0, 0,
191,127, 0, 0,
191,64, 0, 0,
127,64, 0, 0,
127,64, 0, 0,
127,127, 0, 0,
191,127, 0, 0,
191,127, 0, 0,
127,64, 0, 0,
127,127, 0, 0,
191,64, 0, 0,
127,0, 0, 0,
127,64, 0, 0,
127,64, 0, 0,
191,127, 0, 0,
191,64, 0, 0,
191,64, 0, 0,
191,0, 0, 0,
127,0, 0, 0,
191,127, 0, 0,
191,64, 0, 0,
127,64, 0, 0,
127,64, 0, 0,
127,127, 0, 0,
191,127, 0, 0,
255,64, 0, 0,
191,127, 0, 0,
255,127, 0, 0,
191,64, 0, 0,
127,0, 0, 0,
127,64, 0, 0,
191,64, 0, 0,
255,127, 0, 0,
255,64, 0, 0,
191,64, 0, 0,
191,0, 0, 0,
127,0, 0, 0,
255,64, 0, 0,
191,64, 0, 0,
191,127, 0, 0,
191,64, 0, 0,
191,127, 0, 0,
255,127, 0, 0
};
CVECTOR modelgnd_color[] = {
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0,
80,80,80,0,
128,128,128,0,
128,128,128,0
};
PRIM modelgnd_index[] = {
9,5,3,0,4,
5,1,3,0,4,
9,3,7,0,4,
7,3,2,0,4,
5,4,1,0,4,
10,4,5,0,4,
13,5,9,0,4,
3,1,0,0,4,
3,0,2,0,4,
7,2,6,0,4,
15,9,7,0,4,
13,10,5,0,4,
12,7,6,0,4,
10,8,4,0,4,
15,7,12,0,4,
17,13,9,0,4,
17,9,15,0,4,
12,6,11,0,4,
16,8,10,0,4,
18,10,13,0,4,
18,16,10,0,4,
16,14,8,0,4,
21,13,17,0,4,
21,18,13,0,4,
20,14,16,0,4,
22,16,18,0,4,
22,20,16,0,4,
24,18,21,0,4,
20,19,14,0,4,
24,22,18,0,4,
25,19,20,0,4,
26,20,22,0,4,
27,22,24,0,4,
26,25,20,0,4,
25,23,19,0,4,
27,26,22,0,4,
29,23,25,0,4,
30,25,26,0,4,
31,26,27,0,4,
30,29,25,0,4,
29,28,23,0,4,
31,30,26,0,4,
33,28,29,0,4,
34,29,30,0,4,
35,30,31,0,4,
34,33,29,0,4,
33,32,28,0,4,
35,34,30,0,4
};
MATRIX modelgnd_matrix = {0};
VECTOR modelgnd_pos = {0,0,0, 0};
SVECTOR modelgnd_rot = {0,0,0};
short modelgnd_isRigidBody = 0;
short modelgnd_isStaticBody = 0;
short modelgnd_isPrism = 0;
short modelgnd_isAnim = 0;
short modelgnd_isActor = 0;
short modelgnd_isLevel = 1;
short modelgnd_isBG = 0;
short modelgnd_isSprite = 0;
long modelgnd_p = 0;
long modelgnd_OTz = 0;
BODY modelgnd_body = {
{0, 0, 0, 0},
0,0,0, 0,
0,0,0, 0,
64,
ONE/64,
-580,0,-98, 0,
200,0,194, 0,
4096,
};
TMESH modelgnd = {
modelgnd_mesh,
modelgnd_normal,
modelgnd_uv,
modelgnd_color,
48
};
NODE nodegnd_003;
NODE nodegnd_001;
NODE nodegnd_002;
NODE nodegnd;
</