From 563ee40f28e0b8a88db3620cc3612bc887bef5a1 Mon Sep 17 00:00:00 2001 From: ABelliqueux Date: Thu, 15 Apr 2021 18:18:39 +0200 Subject: [PATCH] Add LEVEL struc --- Makefile | 4 +- custom_types.h | 46 +- graphics.c | 74 +- levels/level.h | 686 ---- levels/{level.c => level0.c} | 2344 ++++++------- levels/level0.h | 324 ++ levels/level1.c | 6246 +++++++++++++++++++++++++++++++--- levels/level1.h | 413 +-- main.c | 233 +- overlay.ld | 53 +- psx.c | 11 + psx.h | 3 + 12 files changed, 7542 insertions(+), 2895 deletions(-) delete mode 100644 levels/level.h rename levels/{level.c => level0.c} (71%) create mode 100644 levels/level0.h diff --git a/Makefile b/Makefile index 34baec6..0c1e951 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ physics.c \ graphics.c \ psx.c \ space.c \ -levels/level.c \ +levels/level0.c \ levels/level1.c \ ../common/crt0/crt0.s \ TIM/home.tim \ @@ -22,7 +22,7 @@ TIM/bg_camPath_004.tim \ TIM/bg_camPath_005.tim \ OVERLAYSCRIPT ?= overlay.ld -OVERLAYSECTION ?= .ovly0 .ovly1 +OVERLAYSECTION ?= .lvl0 .lvl1 # img2tim -t -bpp 8 -org 320 0 -plt 0 481 -o bg.tim bg.png diff --git a/custom_types.h b/custom_types.h index 5f476c2..99ba3e7 100644 --- a/custom_types.h +++ b/custom_types.h @@ -47,23 +47,23 @@ typedef struct MESH { 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; + 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; + VECTOR pos2D; } MESH; typedef struct QUAD { @@ -114,3 +114,17 @@ typedef struct NODE { CHILDREN * rigidbodies; } NODE; +typedef struct LEVEL { + MATRIX * cmat; + MATRIX * lgtmat; + MESH ** meshes; + int * meshes_length; + MESH * actorPtr; + MESH * levelPtr; + MESH * propPtr; + CAMANGLE * camPtr; + CAMPATH * camPath; + CAMANGLE ** camAngles; + NODE * curNode; + MESH * meshPlan; // This one is temporary + } LEVEL; diff --git a/graphics.c b/graphics.c index 0151ead..f9933c7 100644 --- a/graphics.c +++ b/graphics.c @@ -7,11 +7,11 @@ void transformMesh(CAMERA * camera, MESH * mesh){ // Apply rotation matrix - RotMatrix_gte(mesh->rot, &mat); + RotMatrix_gte(&mesh->rot, &mat); // Apply translation matrix - TransMatrix(&mat, mesh->pos); + TransMatrix(&mat, &mesh->pos); // Compose matrix with cam @@ -44,13 +44,13 @@ void drawPoly(MESH * mesh, long * Flag, int atime, int * camMode, char ** nextpr // If mesh is not part of precalculated background, draw them, else, discard - if ( !( *mesh->isBG ) || *camMode != 2) { + if ( !( mesh->isBG ) || *camMode != 2) { poly = (POLY_GT3 *)*nextpri; // If Vertex Anim flag is set, use it - if (*mesh->isAnim){ + if (mesh->isAnim){ // If interpolation flag is set, use it @@ -137,9 +137,9 @@ void drawPoly(MESH * mesh, long * Flag, int atime, int * camMode, char ** nextpr ( long* ) &poly->x0, ( long* ) &poly->x1, ( long* ) &poly->x2, - mesh->p, + &mesh->p, - mesh->OTz, + &mesh->OTz, Flag ); @@ -160,9 +160,9 @@ void drawPoly(MESH * mesh, long * Flag, int atime, int * camMode, char ** nextpr ( long* ) &poly->x0, ( long* ) &poly->x1, ( long* ) &poly->x2, - mesh->p, + &mesh->p, - mesh->OTz, + &mesh->OTz, Flag ); @@ -184,9 +184,9 @@ void drawPoly(MESH * mesh, long * Flag, int atime, int * camMode, char ** nextpr ( long * ) &poly->x0, ( long * ) &poly->x1, ( long * ) &poly->x2, - mesh->p, + &mesh->p, - mesh->OTz, + &mesh->OTz, Flag ); @@ -195,7 +195,7 @@ void drawPoly(MESH * mesh, long * Flag, int atime, int * camMode, char ** nextpr // Do not draw invisible meshes - if ( nclip > 0 && *mesh->OTz > 0 && (*mesh->p < 4096) ) { + if ( nclip > 0 && mesh->OTz > 0 && (mesh->p < 4096) ) { SetPolyGT3( poly ); @@ -204,7 +204,7 @@ void drawPoly(MESH * mesh, long * Flag, int atime, int * camMode, char ** nextpr // FIXME : Doesn't work with pre-rendered BGs - if ( *mesh->isPrism ) { + if ( mesh->isPrism ) { // Transparency effect : @@ -266,7 +266,7 @@ void drawPoly(MESH * mesh, long * Flag, int atime, int * camMode, char ** nextpr mesh->tim->crect->y); } - if (*mesh->isSprite){ + if ( mesh->isSprite ) { SetShadeTex( poly, 1 ); @@ -279,15 +279,15 @@ void drawPoly(MESH * mesh, long * Flag, int atime, int * camMode, char ** nextpr CVECTOR outCol2 = { 128,128,128,0 }; - NormalColorDpq(&mesh->tmesh->n[ mesh->index[t].order.vx ], &mesh->tmesh->c[ mesh->index[t].order.vx ], *mesh->p, &outCol); + NormalColorDpq(&mesh->tmesh->n[ mesh->index[t].order.vx ], &mesh->tmesh->c[ mesh->index[t].order.vx ], mesh->p, &outCol); - NormalColorDpq(&mesh->tmesh->n[ mesh->index[t].order.vz ], &mesh->tmesh->c[ mesh->index[t].order.vz ], *mesh->p, &outCol1); + NormalColorDpq(&mesh->tmesh->n[ mesh->index[t].order.vz ], &mesh->tmesh->c[ mesh->index[t].order.vz ], mesh->p, &outCol1); - NormalColorDpq(&mesh->tmesh->n[ mesh->index[t].order.vy ], &mesh->tmesh->c[ mesh->index[t].order.vy ], *mesh->p, &outCol2); + NormalColorDpq(&mesh->tmesh->n[ mesh->index[t].order.vy ], &mesh->tmesh->c[ mesh->index[t].order.vy ], mesh->p, &outCol2); // If transparent effect is in use, inhibate shadows - if (*mesh->isPrism){ + if (mesh->isPrism){ // Use un-interpolated (i.e: no light, no fog) colors @@ -306,9 +306,9 @@ void drawPoly(MESH * mesh, long * Flag, int atime, int * camMode, char ** nextpr setRGB2(poly, outCol2.r, outCol2.g, outCol2.b); } - if ( (*mesh->OTz > 0) /*&& (*mesh->OTz < OTLEN)*/ && (*mesh->p < 4096) ) { + if ( (mesh->OTz > 0) /*&& (*mesh->OTz < OTLEN)*/ && (mesh->p < 4096) ) { - AddPrim(&ot[ *mesh->OTz-2 ], poly); + AddPrim(&ot[ mesh->OTz-2 ], poly); } //~ mesh->pos2D.vx = *(&poly->x0); @@ -336,13 +336,13 @@ void drawPoly(MESH * mesh, long * Flag, int atime, int * camMode, char ** nextpr // if mesh is not part of BG, draw them, else, discard - if ( !(*mesh->isBG) || *camMode != 2 ) { + if ( !(mesh->isBG) || *camMode != 2 ) { poly4 = (POLY_GT4 *)*nextpri; // Vertex Anim - if (*mesh->isAnim){ + if (mesh->isAnim){ // with interpolation @@ -420,9 +420,9 @@ void drawPoly(MESH * mesh, long * Flag, int atime, int * camMode, char ** nextpr ( long* )&poly4->x0, ( long* )&poly4->x1, ( long* )&poly4->x2, ( long* )&poly4->x3, - mesh->p, + &mesh->p, - mesh->OTz, + &mesh->OTz, Flag @@ -444,9 +444,9 @@ void drawPoly(MESH * mesh, long * Flag, int atime, int * camMode, char ** nextpr ( long* )&poly4->x0, ( long* )&poly4->x1, ( long* )&poly4->x2, ( long* )&poly4->x3, - mesh->p, + &mesh->p, - mesh->OTz, + &mesh->OTz, Flag ); @@ -469,15 +469,15 @@ void drawPoly(MESH * mesh, long * Flag, int atime, int * camMode, char ** nextpr (long*)&poly4->x0, (long*)&poly4->x1, (long*)&poly4->x2, (long*)&poly4->x3, - mesh->p, + &mesh->p, - mesh->OTz, + &mesh->OTz, Flag ); } - if (nclip > 0 && *mesh->OTz > 0 && (*mesh->p < 4096)) { + if (nclip > 0 && mesh->OTz > 0 && (mesh->p < 4096)) { SetPolyGT4(poly4); @@ -521,7 +521,7 @@ void drawPoly(MESH * mesh, long * Flag, int atime, int * camMode, char ** nextpr // Transparency effect - if (*mesh->isPrism){ + if (mesh->isPrism){ // Use current DRAWENV clip as TPAGE @@ -580,7 +580,7 @@ void drawPoly(MESH * mesh, long * Flag, int atime, int * camMode, char ** nextpr } - if (*mesh->isSprite){ + if (mesh->isSprite){ SetShadeTex( poly4, 1 ); @@ -606,15 +606,15 @@ void drawPoly(MESH * mesh, long * Flag, int atime, int * camMode, char ** nextpr CVECTOR outCol3 = {128,128,128,0}; - NormalColorDpq(&mesh->tmesh->n[ mesh->index[t].order.pad ] , &mesh->tmesh->c[ mesh->index[t].order.pad ], *mesh->p, &outCol); + NormalColorDpq(&mesh->tmesh->n[ mesh->index[t].order.pad ] , &mesh->tmesh->c[ mesh->index[t].order.pad ], mesh->p, &outCol); - NormalColorDpq(&mesh->tmesh->n[ mesh->index[t].order.vz ], &mesh->tmesh->c[ mesh->index[t].order.vz ], *mesh->p, &outCol1); + NormalColorDpq(&mesh->tmesh->n[ mesh->index[t].order.vz ], &mesh->tmesh->c[ mesh->index[t].order.vz ], mesh->p, &outCol1); - NormalColorDpq(&mesh->tmesh->n[ mesh->index[t].order.vx ], &mesh->tmesh->c[ mesh->index[t].order.vx ], *mesh->p, &outCol2); + NormalColorDpq(&mesh->tmesh->n[ mesh->index[t].order.vx ], &mesh->tmesh->c[ mesh->index[t].order.vx ], mesh->p, &outCol2); - NormalColorDpq(&mesh->tmesh->n[ mesh->index[t].order.vy ], &mesh->tmesh->c[ mesh->index[t].order.vy ], *mesh->p, &outCol3); + NormalColorDpq(&mesh->tmesh->n[ mesh->index[t].order.vy ], &mesh->tmesh->c[ mesh->index[t].order.vy ], mesh->p, &outCol3); - if (*mesh->isPrism){ + if (mesh->isPrism){ setRGB0(poly4, mesh->tmesh->c[i].r, mesh->tmesh->c[i].g, mesh->tmesh->c[i].b); @@ -635,9 +635,9 @@ void drawPoly(MESH * mesh, long * Flag, int atime, int * camMode, char ** nextpr setRGB3(poly4, outCol3.r, outCol3.g, outCol3.b); } - if ( (*mesh->OTz > 0) /*&& (*mesh->OTz < OTLEN)*/ && (*mesh->p < 4096) ) { + if ( (mesh->OTz > 0) /*&& (*mesh->OTz < OTLEN)*/ && (mesh->p < 4096) ) { - AddPrim( &ot[ *mesh->OTz-3 ], poly4 ); + AddPrim( &ot[ mesh->OTz-3 ], poly4 ); } *nextpri += sizeof( POLY_GT4 ); diff --git a/levels/level.h b/levels/level.h deleted file mode 100644 index d6170f9..0000000 --- a/levels/level.h +++ /dev/null @@ -1,686 +0,0 @@ -#pragma once - -#include "../custom_types.h" - -extern CAMPOS level_camPos_camPath; - -extern CAMPOS level_camPos_camPath_001; - -extern CAMPOS level_camPos_camPath_002; - -extern CAMPOS level_camPos_camPath_003; - -extern CAMPOS level_camPos_camPath_004; - -extern CAMPOS level_camPos_camPath_005; - -extern CAMPATH level_camPath; - -extern MATRIX level_lgtmat; - -extern MATRIX level_cmat; - -extern SVECTOR modelCube_mesh[]; - -extern SVECTOR level_modelCube_normal[]; - -extern SVECTOR level_modelCube_uv[]; - -extern CVECTOR level_modelCube_color[]; - -extern PRIM level_modelCube_index[]; - -extern MATRIX level_modelCube_matrix; - -extern VECTOR level_modelCube_pos; - -extern SVECTOR level_modelCube_rot; - -extern short level_modelCube_isRigidBody; - -extern short level_modelCube_isStaticBody; - -extern short level_modelCube_isPrism; - -extern short level_modelCube_isAnim; - -extern short level_modelCube_isActor; - -extern short level_modelCube_isLevel; - -extern short level_modelCube_isBG; - -extern short level_modelCube_isSprite; - -extern long level_modelCube_p; - -extern long level_modelCube_OTz; - -extern BODY level_modelCube_body; - -extern TMESH level_modelCube; - -extern unsigned long _binary_TIM_cat_tim_start[]; - -extern unsigned long _binary_TIM_cat_tim_end[]; - -extern unsigned long _binary_TIM_cat_tim_length; - -extern TIM_IMAGE tim_cat; - -extern MESH level_meshCube; - -extern SVECTOR modelCylindre_mesh[]; - -extern SVECTOR level_modelCylindre_normal[]; - -extern SVECTOR level_modelCylindre_uv[]; - -extern CVECTOR level_modelCylindre_color[]; - -extern PRIM level_modelCylindre_index[]; - -extern VANIM level_modelCylindre_anim; - -extern MATRIX level_modelCylindre_matrix; - -extern VECTOR level_modelCylindre_pos; - -extern SVECTOR level_modelCylindre_rot; - -extern short level_modelCylindre_isRigidBody; - -extern short level_modelCylindre_isStaticBody; - -extern short level_modelCylindre_isPrism; - -extern short level_modelCylindre_isAnim; - -extern short level_modelCylindre_isActor; - -extern short level_modelCylindre_isLevel; - -extern short level_modelCylindre_isBG; - -extern short level_modelCylindre_isSprite; - -extern long level_modelCylindre_p; - -extern long level_modelCylindre_OTz; - -extern BODY level_modelCylindre_body; - -extern TMESH level_modelCylindre; - -extern unsigned long _binary_TIM_home_tim_start[]; - -extern unsigned long _binary_TIM_home_tim_end[]; - -extern unsigned long _binary_TIM_home_tim_length; - -extern TIM_IMAGE tim_home; - -extern MESH level_meshCylindre; - -extern SVECTOR modelgnd_mesh[]; - -extern SVECTOR level_modelgnd_normal[]; - -extern SVECTOR level_modelgnd_uv[]; - -extern CVECTOR level_modelgnd_color[]; - -extern PRIM level_modelgnd_index[]; - -extern MATRIX level_modelgnd_matrix; - -extern VECTOR level_modelgnd_pos; - -extern SVECTOR level_modelgnd_rot; - -extern short level_modelgnd_isRigidBody; - -extern short level_modelgnd_isStaticBody; - -extern short level_modelgnd_isPrism; - -extern short level_modelgnd_isAnim; - -extern short level_modelgnd_isActor; - -extern short level_modelgnd_isLevel; - -extern short level_modelgnd_isBG; - -extern short level_modelgnd_isSprite; - -extern long level_modelgnd_p; - -extern long level_modelgnd_OTz; - -extern BODY level_modelgnd_body; - -extern TMESH level_modelgnd; - -extern MESH level_meshgnd; - -extern SVECTOR modelgnd_001_mesh[]; - -extern SVECTOR level_modelgnd_001_normal[]; - -extern SVECTOR level_modelgnd_001_uv[]; - -extern CVECTOR level_modelgnd_001_color[]; - -extern PRIM level_modelgnd_001_index[]; - -extern MATRIX level_modelgnd_001_matrix; - -extern VECTOR level_modelgnd_001_pos; - -extern SVECTOR level_modelgnd_001_rot; - -extern short level_modelgnd_001_isRigidBody; - -extern short level_modelgnd_001_isStaticBody; - -extern short level_modelgnd_001_isPrism; - -extern short level_modelgnd_001_isAnim; - -extern short level_modelgnd_001_isActor; - -extern short level_modelgnd_001_isLevel; - -extern short level_modelgnd_001_isBG; - -extern short level_modelgnd_001_isSprite; - -extern long level_modelgnd_001_p; - -extern long level_modelgnd_001_OTz; - -extern BODY level_modelgnd_001_body; - -extern TMESH level_modelgnd_001; - -extern MESH level_meshgnd_001; - -extern SVECTOR modelgnd_003_mesh[]; - -extern SVECTOR level_modelgnd_003_normal[]; - -extern SVECTOR level_modelgnd_003_uv[]; - -extern CVECTOR level_modelgnd_003_color[]; - -extern PRIM level_modelgnd_003_index[]; - -extern MATRIX level_modelgnd_003_matrix; - -extern VECTOR level_modelgnd_003_pos; - -extern SVECTOR level_modelgnd_003_rot; - -extern short level_modelgnd_003_isRigidBody; - -extern short level_modelgnd_003_isStaticBody; - -extern short level_modelgnd_003_isPrism; - -extern short level_modelgnd_003_isAnim; - -extern short level_modelgnd_003_isActor; - -extern short level_modelgnd_003_isLevel; - -extern short level_modelgnd_003_isBG; - -extern short level_modelgnd_003_isSprite; - -extern long level_modelgnd_003_p; - -extern long level_modelgnd_003_OTz; - -extern BODY level_modelgnd_003_body; - -extern TMESH level_modelgnd_003; - -extern MESH level_meshgnd_003; - -extern SVECTOR modelgnd_002_mesh[]; - -extern SVECTOR level_modelgnd_002_normal[]; - -extern SVECTOR level_modelgnd_002_uv[]; - -extern CVECTOR level_modelgnd_002_color[]; - -extern PRIM level_modelgnd_002_index[]; - -extern MATRIX level_modelgnd_002_matrix; - -extern VECTOR level_modelgnd_002_pos; - -extern SVECTOR level_modelgnd_002_rot; - -extern short level_modelgnd_002_isRigidBody; - -extern short level_modelgnd_002_isStaticBody; - -extern short level_modelgnd_002_isPrism; - -extern short level_modelgnd_002_isAnim; - -extern short level_modelgnd_002_isActor; - -extern short level_modelgnd_002_isLevel; - -extern short level_modelgnd_002_isBG; - -extern short level_modelgnd_002_isSprite; - -extern long level_modelgnd_002_p; - -extern long level_modelgnd_002_OTz; - -extern BODY level_modelgnd_002_body; - -extern TMESH level_modelgnd_002; - -extern MESH level_meshgnd_002; - -extern SVECTOR modelobject_mesh[]; - -extern SVECTOR level_modelobject_normal[]; - -extern SVECTOR level_modelobject_uv[]; - -extern CVECTOR level_modelobject_color[]; - -extern PRIM level_modelobject_index[]; - -extern MATRIX level_modelobject_matrix; - -extern VECTOR level_modelobject_pos; - -extern SVECTOR level_modelobject_rot; - -extern short level_modelobject_isRigidBody; - -extern short level_modelobject_isStaticBody; - -extern short level_modelobject_isPrism; - -extern short level_modelobject_isAnim; - -extern short level_modelobject_isActor; - -extern short level_modelobject_isLevel; - -extern short level_modelobject_isBG; - -extern short level_modelobject_isSprite; - -extern long level_modelobject_p; - -extern long level_modelobject_OTz; - -extern BODY level_modelobject_body; - -extern TMESH level_modelobject; - -extern MESH level_meshobject; - -extern SVECTOR modelPlan_mesh[]; - -extern SVECTOR level_modelPlan_normal[]; - -extern SVECTOR level_modelPlan_uv[]; - -extern CVECTOR level_modelPlan_color[]; - -extern PRIM level_modelPlan_index[]; - -extern MATRIX level_modelPlan_matrix; - -extern VECTOR level_modelPlan_pos; - -extern SVECTOR level_modelPlan_rot; - -extern short level_modelPlan_isRigidBody; - -extern short level_modelPlan_isStaticBody; - -extern short level_modelPlan_isPrism; - -extern short level_modelPlan_isAnim; - -extern short level_modelPlan_isActor; - -extern short level_modelPlan_isLevel; - -extern short level_modelPlan_isBG; - -extern short level_modelPlan_isSprite; - -extern long level_modelPlan_p; - -extern long level_modelPlan_OTz; - -extern BODY level_modelPlan_body; - -extern TMESH level_modelPlan; - -extern MESH level_meshPlan; - -extern SVECTOR modelSphere_mesh[]; - -extern SVECTOR level_modelSphere_normal[]; - -extern SVECTOR level_modelSphere_uv[]; - -extern CVECTOR level_modelSphere_color[]; - -extern PRIM level_modelSphere_index[]; - -extern MATRIX level_modelSphere_matrix; - -extern VECTOR level_modelSphere_pos; - -extern SVECTOR level_modelSphere_rot; - -extern short level_modelSphere_isRigidBody; - -extern short level_modelSphere_isStaticBody; - -extern short level_modelSphere_isPrism; - -extern short level_modelSphere_isAnim; - -extern short level_modelSphere_isActor; - -extern short level_modelSphere_isLevel; - -extern short level_modelSphere_isBG; - -extern short level_modelSphere_isSprite; - -extern long level_modelSphere_p; - -extern long level_modelSphere_OTz; - -extern BODY level_modelSphere_body; - -extern TMESH level_modelSphere; - -extern MESH level_meshSphere; - -extern SVECTOR modelSphere_001_mesh[]; - -extern SVECTOR level_modelSphere_001_normal[]; - -extern SVECTOR level_modelSphere_001_uv[]; - -extern CVECTOR level_modelSphere_001_color[]; - -extern PRIM level_modelSphere_001_index[]; - -extern MATRIX level_modelSphere_001_matrix; - -extern VECTOR level_modelSphere_001_pos; - -extern SVECTOR level_modelSphere_001_rot; - -extern short level_modelSphere_001_isRigidBody; - -extern short level_modelSphere_001_isStaticBody; - -extern short level_modelSphere_001_isPrism; - -extern short level_modelSphere_001_isAnim; - -extern short level_modelSphere_001_isActor; - -extern short level_modelSphere_001_isLevel; - -extern short level_modelSphere_001_isBG; - -extern short level_modelSphere_001_isSprite; - -extern long level_modelSphere_001_p; - -extern long level_modelSphere_001_OTz; - -extern BODY level_modelSphere_001_body; - -extern TMESH level_modelSphere_001; - -extern MESH level_meshSphere_001; - -extern SVECTOR modelwall_mesh[]; - -extern SVECTOR level_modelwall_normal[]; - -extern SVECTOR level_modelwall_uv[]; - -extern CVECTOR level_modelwall_color[]; - -extern PRIM level_modelwall_index[]; - -extern MATRIX level_modelwall_matrix; - -extern VECTOR level_modelwall_pos; - -extern SVECTOR level_modelwall_rot; - -extern short level_modelwall_isRigidBody; - -extern short level_modelwall_isStaticBody; - -extern short level_modelwall_isPrism; - -extern short level_modelwall_isAnim; - -extern short level_modelwall_isActor; - -extern short level_modelwall_isLevel; - -extern short level_modelwall_isBG; - -extern short level_modelwall_isSprite; - -extern long level_modelwall_p; - -extern long level_modelwall_OTz; - -extern BODY level_modelwall_body; - -extern TMESH level_modelwall; - -extern MESH level_meshwall; - -extern SVECTOR modelwall_001_mesh[]; - -extern SVECTOR level_modelwall_001_normal[]; - -extern SVECTOR level_modelwall_001_uv[]; - -extern CVECTOR level_modelwall_001_color[]; - -extern PRIM level_modelwall_001_index[]; - -extern MATRIX level_modelwall_001_matrix; - -extern VECTOR level_modelwall_001_pos; - -extern SVECTOR level_modelwall_001_rot; - -extern short level_modelwall_001_isRigidBody; - -extern short level_modelwall_001_isStaticBody; - -extern short level_modelwall_001_isPrism; - -extern short level_modelwall_001_isAnim; - -extern short level_modelwall_001_isActor; - -extern short level_modelwall_001_isLevel; - -extern short level_modelwall_001_isBG; - -extern short level_modelwall_001_isSprite; - -extern long level_modelwall_001_p; - -extern long level_modelwall_001_OTz; - -extern BODY level_modelwall_001_body; - -extern TMESH level_modelwall_001; - -extern MESH level_meshwall_001; - -extern SVECTOR modelwall_002_mesh[]; - -extern SVECTOR level_modelwall_002_normal[]; - -extern SVECTOR level_modelwall_002_uv[]; - -extern CVECTOR level_modelwall_002_color[]; - -extern PRIM level_modelwall_002_index[]; - -extern MATRIX level_modelwall_002_matrix; - -extern VECTOR level_modelwall_002_pos; - -extern SVECTOR level_modelwall_002_rot; - -extern short level_modelwall_002_isRigidBody; - -extern short level_modelwall_002_isStaticBody; - -extern short level_modelwall_002_isPrism; - -extern short level_modelwall_002_isAnim; - -extern short level_modelwall_002_isActor; - -extern short level_modelwall_002_isLevel; - -extern short level_modelwall_002_isBG; - -extern short level_modelwall_002_isSprite; - -extern long level_modelwall_002_p; - -extern long level_modelwall_002_OTz; - -extern BODY level_modelwall_002_body; - -extern TMESH level_modelwall_002; - -extern MESH level_meshwall_002; - -extern SVECTOR modelwall_003_mesh[]; - -extern SVECTOR level_modelwall_003_normal[]; - -extern SVECTOR level_modelwall_003_uv[]; - -extern CVECTOR level_modelwall_003_color[]; - -extern PRIM level_modelwall_003_index[]; - -extern MATRIX level_modelwall_003_matrix; - -extern VECTOR level_modelwall_003_pos; - -extern SVECTOR level_modelwall_003_rot; - -extern short level_modelwall_003_isRigidBody; - -extern short level_modelwall_003_isStaticBody; - -extern short level_modelwall_003_isPrism; - -extern short level_modelwall_003_isAnim; - -extern short level_modelwall_003_isActor; - -extern short level_modelwall_003_isLevel; - -extern short level_modelwall_003_isBG; - -extern short level_modelwall_003_isSprite; - -extern long level_modelwall_003_p; - -extern long level_modelwall_003_OTz; - -extern BODY level_modelwall_003_body; - -extern TMESH level_modelwall_003; - -extern MESH level_meshwall_003; - -extern MESH * level_meshes[14]; - -extern int level_meshes_length; - -extern CAMANGLE level_camAngle_camPath_001; - -extern CAMANGLE * level_camAngles[0]; - -extern SIBLINGS level_nodegnd_003_siblings; - -extern CHILDREN level_nodegnd_003_objects; - -extern CHILDREN level_nodegnd_003_rigidbodies; - -extern NODE level_nodegnd_003; - -extern SIBLINGS level_nodegnd_001_siblings; - -extern CHILDREN level_nodegnd_001_objects; - -extern CHILDREN level_nodegnd_001_rigidbodies; - -extern NODE level_nodegnd_001; - -extern SIBLINGS level_nodegnd_002_siblings; - -extern CHILDREN level_nodegnd_002_objects; - -extern CHILDREN level_nodegnd_002_rigidbodies; - -extern NODE level_nodegnd_002; - -extern SIBLINGS level_nodegnd_siblings; - -extern CHILDREN level_nodegnd_objects; - -extern CHILDREN level_nodegnd_rigidbodies; - -extern NODE level_nodegnd; - -extern MESH * level_actorPtr; - -extern MESH * level_levelPtr; - -extern MESH * level_propPtr; - -extern CAMANGLE * level_camPtr; - -extern NODE * level_curNode; - -extern NODE level_nodegnd_003; - -extern NODE level_nodegnd_001; - -extern NODE level_nodegnd_002; - -extern NODE level_nodegnd; - diff --git a/levels/level.c b/levels/level0.c similarity index 71% rename from levels/level.c rename to levels/level0.c index 4072b6f..afb2627 100644 --- a/levels/level.c +++ b/levels/level0.c @@ -1,36 +1,36 @@ -#include "level.h" +#include "level0.h" -CAMPOS level_camPos_camPath = { +CAMPOS level0_camPos_camPath = { { -205,156,-17 }, { 371,707,0 } }; -CAMPOS level_camPos_camPath_001 = { +CAMPOS level0_camPos_camPath_001 = { { 490,101,113 }, { 282,-192,0 } }; -CAMPOS level_camPos_camPath_002 = { +CAMPOS level0_camPos_camPath_002 = { { 221,309,-48 }, { 866,0,0 } }; -CAMPOS level_camPos_camPath_003 = { +CAMPOS level0_camPos_camPath_003 = { { -159,57,61 }, { 210,542,0 } }; -CAMPOS level_camPos_camPath_004 = { +CAMPOS level0_camPos_camPath_004 = { { -208,216,-86 }, { 447,800,0 } }; -CAMPOS level_camPos_camPath_005 = { +CAMPOS level0_camPos_camPath_005 = { { -167,160,-624 }, { 391,1419,0 } }; -CAMPATH level_camPath = { +CAMPATH level0_camPath = { 5, 0, 0, @@ -43,19 +43,19 @@ CAMPATH level_camPath = { } }; -MATRIX level_lgtmat = { +MATRIX level0_lgtmat = { 784, 1558, 2188, -1742, 1368, 1710, -1554, 1368, -1882 }; -MATRIX level_cmat = { +MATRIX level0_cmat = { 13,4096,0, 4096,0,36, 0,5,4096 }; -SVECTOR level_modelCube_mesh[] = { +SVECTOR level0_modelCube_mesh[] = { { -32,21,-24 }, { -32,-8,-26 }, { -32,18,26 }, @@ -114,7 +114,7 @@ SVECTOR level_modelCube_mesh[] = { { -15,28,20 } }; -SVECTOR level_modelCube_normal[] = { +SVECTOR level0_modelCube_normal[] = { 2258,624,3360, 0, 2625,2223,2224, 0, 2760,-1911,-2347, 0, @@ -173,7 +173,7 @@ SVECTOR level_modelCube_normal[] = { -800,-1875,3553, 0 }; -SVECTOR level_modelCube_uv[] = { +SVECTOR level0_modelCube_uv[] = { 19,123, 0, 0, 27,102, 0, 0, 19,112, 0, 0, @@ -500,7 +500,7 @@ SVECTOR level_modelCube_uv[] = { 47,123, 0, 0 }; -CVECTOR level_modelCube_color[] = { +CVECTOR level0_modelCube_color[] = { 80, 80, 80, 0, 128, 128, 128, 0, 128, 128, 128, 0, @@ -827,7 +827,7 @@ CVECTOR level_modelCube_color[] = { 128, 128, 128, 0 }; -PRIM level_modelCube_index[] = { +PRIM level0_modelCube_index[] = { 1,46,0,0,4, 2,3,48,0,4, 7,30,6,0,4, @@ -938,20 +938,7 @@ PRIM level_modelCube_index[] = { 49,28,3,0,4 }; -MATRIX level_modelCube_matrix = {0}; -VECTOR level_modelCube_pos = {-282,-45,128, 0}; -SVECTOR level_modelCube_rot = {0,899,0}; -short level_modelCube_isRigidBody = 0; -short level_modelCube_isStaticBody = 1; -short level_modelCube_isPrism = 0; -short level_modelCube_isAnim = 0; -short level_modelCube_isActor = 0; -short level_modelCube_isLevel = 0; -short level_modelCube_isBG = 0; -short level_modelCube_isSprite = 0; -long level_modelCube_p = 0; -long level_modelCube_OTz = 0; -BODY level_modelCube_body = { +BODY level0_modelCube_body = { {0, 0, 0, 0}, -282,-45,128, 0, 0,899,0, 0, @@ -962,11 +949,11 @@ BODY level_modelCube_body = { 1024, }; -TMESH level_modelCube = { - level_modelCube_mesh, - level_modelCube_normal, - level_modelCube_uv, - level_modelCube_color, +TMESH level0_modelCube = { + level0_modelCube_mesh, + level0_modelCube_normal, + level0_modelCube_uv, + level0_modelCube_color, 108 }; @@ -974,33 +961,33 @@ 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; +TIM_IMAGE level0_tim_cat; -MESH level_meshCube = { - &level_modelCube, - level_modelCube_index, - &tim_cat, +MESH level0_meshCube = { + &level0_modelCube, + level0_modelCube_index, + &level0_tim_cat, _binary_TIM_cat_tim_start, - &level_modelCube_matrix, - &level_modelCube_pos, - &level_modelCube_rot, - &level_modelCube_isRigidBody, - &level_modelCube_isStaticBody, - &level_modelCube_isPrism, - &level_modelCube_isAnim, - &level_modelCube_isActor, - &level_modelCube_isLevel, - &level_modelCube_isBG, - &level_modelCube_isSprite, - &level_modelCube_p, - &level_modelCube_OTz, - &level_modelCube_body, + {0}, + {-282,-45,128, 0}, + {0,899,0}, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + &level0_modelCube_body, 0, 0, 0 }; -SVECTOR level_modelCylindre_mesh[] = { +SVECTOR level0_modelCylindre_mesh[] = { { -2,35,10 }, { 5,-30,41 }, { 4,35,7 }, @@ -1024,7 +1011,7 @@ SVECTOR level_modelCylindre_mesh[] = { { -18,-30,37 } }; -SVECTOR level_modelCylindre_normal[] = { +SVECTOR level0_modelCylindre_normal[] = { -397,-1844,-3636, 0, -369,3301,-2396, 0, -2743,-1808,-2446, 0, @@ -1048,7 +1035,7 @@ SVECTOR level_modelCylindre_normal[] = { 1056,3329,-2140, 0 }; -SVECTOR level_modelCylindre_uv[] = { +SVECTOR level0_modelCylindre_uv[] = { 32,134, 0, 0, 25,153, 0, 0, 33,153, 0, 0, @@ -1165,7 +1152,7 @@ SVECTOR level_modelCylindre_uv[] = { 24,177, 0, 0 }; -CVECTOR level_modelCylindre_color[] = { +CVECTOR level0_modelCylindre_color[] = { 153,137,141, 0, 255,255,255, 0, 255,255,255, 0, @@ -1282,7 +1269,7 @@ CVECTOR level_modelCylindre_color[] = { 255,255,255, 0 }; -PRIM level_modelCylindre_index[] = { +PRIM level0_modelCylindre_index[] = { 1,2,0,0,4, 3,4,2,0,4, 5,6,4,0,4, @@ -1323,7 +1310,7 @@ PRIM level_modelCylindre_index[] = { 13,17,0,0,4 }; -VANIM level_modelCylindre_anim = { +VANIM level0_modelCylindre_anim = { 20, 21, 0, @@ -1793,20 +1780,7 @@ VANIM level_modelCylindre_anim = { } }; -MATRIX level_modelCylindre_matrix = {0}; -VECTOR level_modelCylindre_pos = {-1,-57,523, 0}; -SVECTOR level_modelCylindre_rot = {0,0,0}; -short level_modelCylindre_isRigidBody = 0; -short level_modelCylindre_isStaticBody = 1; -short level_modelCylindre_isPrism = 0; -short level_modelCylindre_isAnim = 1; -short level_modelCylindre_isActor = 0; -short level_modelCylindre_isLevel = 0; -short level_modelCylindre_isBG = 0; -short level_modelCylindre_isSprite = 0; -long level_modelCylindre_p = 0; -long level_modelCylindre_OTz = 0; -BODY level_modelCylindre_body = { +BODY level0_modelCylindre_body = { {0, 0, 0, 0}, -1,-57,523, 0, 0,0,0, 0, @@ -1817,11 +1791,11 @@ BODY level_modelCylindre_body = { 0, }; -TMESH level_modelCylindre = { - level_modelCylindre_mesh, - level_modelCylindre_normal, - level_modelCylindre_uv, - level_modelCylindre_color, +TMESH level0_modelCylindre = { + level0_modelCylindre_mesh, + level0_modelCylindre_normal, + level0_modelCylindre_uv, + level0_modelCylindre_color, 38 }; @@ -1829,33 +1803,33 @@ 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; +TIM_IMAGE level0_tim_home; -MESH level_meshCylindre = { - &level_modelCylindre, - level_modelCylindre_index, - &tim_home, +MESH level0_meshCylindre = { + &level0_modelCylindre, + level0_modelCylindre_index, + &level0_tim_home, _binary_TIM_home_tim_start, - &level_modelCylindre_matrix, - &level_modelCylindre_pos, - &level_modelCylindre_rot, - &level_modelCylindre_isRigidBody, - &level_modelCylindre_isStaticBody, - &level_modelCylindre_isPrism, - &level_modelCylindre_isAnim, - &level_modelCylindre_isActor, - &level_modelCylindre_isLevel, - &level_modelCylindre_isBG, - &level_modelCylindre_isSprite, - &level_modelCylindre_p, - &level_modelCylindre_OTz, - &level_modelCylindre_body, - &level_modelCylindre_anim, + {0}, + {-1,-57,523, 0}, + {0,0,0}, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + &level0_modelCylindre_body, + &level0_modelCylindre_anim, 0, 0 }; -SVECTOR level_modelgnd_mesh[] = { +SVECTOR level0_modelgnd_mesh[] = { { 200,0,-98 }, { 103,0,-98 }, { 200,0,-1 }, @@ -1894,7 +1868,7 @@ SVECTOR level_modelgnd_mesh[] = { { -580,0,194 } }; -SVECTOR level_modelgnd_normal[] = { +SVECTOR level0_modelgnd_normal[] = { 0,4096,0, 0, 0,4096,0, 0, 0,4096,0, 0, @@ -1933,154 +1907,154 @@ SVECTOR level_modelgnd_normal[] = { 0,4096,0, 0 }; -SVECTOR level_modelgnd_uv[] = { - 64,64, 0, 0, - 64,127, 0, 0, - 127,127, 0, 0, - 64,0, 0, 0, - 127,64, 0, 0, - 127,0, 0, 0, - 64,64, 0, 0, - 127,127, 0, 0, - 127,64, 0, 0, - 127,0, 0, 0, - 64,0, 0, 0, - 64,64, 0, 0, - 64,0, 0, 0, - 64,64, 0, 0, - 127,64, 0, 0, - 64,0, 0, 0, - 127,64, 0, 0, - 127,0, 0, 0, - 64,64, 0, 0, - 127,127, 0, 0, - 127,64, 0, 0, - 0,0, 0, 0, - 0,64, 0, 0, - 64,64, 0, 0, - 0,0, 0, 0, - 64,64, 0, 0, - 64,0, 0, 0, - 127,0, 0, 0, - 64,64, 0, 0, - 127,64, 0, 0, - 64,64, 0, 0, - 64,127, 0, 0, - 127,127, 0, 0, - 64,64, 0, 0, - 64,127, 0, 0, - 127,127, 0, 0, - 127,0, 0, 0, - 64,0, 0, 0, - 64,64, 0, 0, - 64,0, 0, 0, - 64,64, 0, 0, - 127,64, 0, 0, - 64,64, 0, 0, - 127,127, 0, 0, - 127,64, 0, 0, - 255,63, 0, 0, - 255,0, 0, 0, - 191,0, 0, 0, - 255,63, 0, 0, - 191,0, 0, 0, - 191,63, 0, 0, - 127,0, 0, 0, - 64,64, 0, 0, - 127,64, 0, 0, - 64,0, 0, 0, - 127,64, 0, 0, - 127,0, 0, 0, - 64,64, 0, 0, - 127,127, 0, 0, - 127,64, 0, 0, - 64,64, 0, 0, - 64,127, 0, 0, - 127,127, 0, 0, - 64,0, 0, 0, - 64,64, 0, 0, - 127,64, 0, 0, - 127,64, 0, 0, - 64,0, 0, 0, - 64,64, 0, 0, - 127,64, 0, 0, - 127,0, 0, 0, - 64,0, 0, 0, - 64,0, 0, 0, - 127,64, 0, 0, - 127,0, 0, 0, - 64,64, 0, 0, - 127,127, 0, 0, - 127,64, 0, 0, - 64,64, 0, 0, - 64,127, 0, 0, - 127,127, 0, 0, - 127,64, 0, 0, - 64,0, 0, 0, - 64,64, 0, 0, - 64,0, 0, 0, - 64,64, 0, 0, - 127,64, 0, 0, - 127,64, 0, 0, - 127,0, 0, 0, - 64,0, 0, 0, - 64,0, 0, 0, - 127,64, 0, 0, - 127,0, 0, 0, - 64,64, 0, 0, - 127,127, 0, 0, - 127,64, 0, 0, - 127,64, 0, 0, - 64,0, 0, 0, - 64,64, 0, 0, - 64,64, 0, 0, - 64,127, 0, 0, - 127,127, 0, 0, - 64,0, 0, 0, - 64,64, 0, 0, - 127,64, 0, 0, - 127,64, 0, 0, - 127,0, 0, 0, - 64,0, 0, 0, - 64,0, 0, 0, - 127,64, 0, 0, - 127,0, 0, 0, - 64,64, 0, 0, - 127,127, 0, 0, - 127,64, 0, 0, - 127,64, 0, 0, - 64,0, 0, 0, - 64,64, 0, 0, - 64,64, 0, 0, - 64,127, 0, 0, - 127,127, 0, 0, - 64,0, 0, 0, - 64,64, 0, 0, - 127,64, 0, 0, - 127,64, 0, 0, - 127,0, 0, 0, - 64,0, 0, 0, - 0,64, 0, 0, - 64,0, 0, 0, - 0,0, 0, 0, - 64,64, 0, 0, - 127,127, 0, 0, - 127,64, 0, 0, - 64,64, 0, 0, - 0,0, 0, 0, - 0,64, 0, 0, - 64,64, 0, 0, - 64,127, 0, 0, - 127,127, 0, 0, - 0,64, 0, 0, - 64,64, 0, 0, - 64,0, 0, 0, - 64,64, 0, 0, - 64,0, 0, 0, - 0,0, 0, 0 +SVECTOR level0_modelgnd_uv[] = { + 65,63, 0, 0, + 65,126, 0, 0, + 128,126, 0, 0, + 65,0, 0, 0, + 128,63, 0, 0, + 128,0, 0, 0, + 65,63, 0, 0, + 128,126, 0, 0, + 128,63, 0, 0, + 128,0, 0, 0, + 65,0, 0, 0, + 65,63, 0, 0, + 65,0, 0, 0, + 65,63, 0, 0, + 128,63, 0, 0, + 65,0, 0, 0, + 128,63, 0, 0, + 128,0, 0, 0, + 65,63, 0, 0, + 128,126, 0, 0, + 128,63, 0, 0, + 1,0, 0, 0, + 1,63, 0, 0, + 65,63, 0, 0, + 1,0, 0, 0, + 65,63, 0, 0, + 65,0, 0, 0, + 128,0, 0, 0, + 65,63, 0, 0, + 128,63, 0, 0, + 65,63, 0, 0, + 65,126, 0, 0, + 128,126, 0, 0, + 65,63, 0, 0, + 65,126, 0, 0, + 128,126, 0, 0, + 128,0, 0, 0, + 65,0, 0, 0, + 65,63, 0, 0, + 65,0, 0, 0, + 65,63, 0, 0, + 128,63, 0, 0, + 65,63, 0, 0, + 128,126, 0, 0, + 128,63, 0, 0, + 192,62, 0, 0, + 192,0, 0, 0, + 129,0, 0, 0, + 192,62, 0, 0, + 129,0, 0, 0, + 129,62, 0, 0, + 128,0, 0, 0, + 65,63, 0, 0, + 128,63, 0, 0, + 65,0, 0, 0, + 128,63, 0, 0, + 128,0, 0, 0, + 65,63, 0, 0, + 128,126, 0, 0, + 128,63, 0, 0, + 65,63, 0, 0, + 65,126, 0, 0, + 128,126, 0, 0, + 65,0, 0, 0, + 65,63, 0, 0, + 128,63, 0, 0, + 128,63, 0, 0, + 65,0, 0, 0, + 65,63, 0, 0, + 128,63, 0, 0, + 128,0, 0, 0, + 65,0, 0, 0, + 65,0, 0, 0, + 128,63, 0, 0, + 128,0, 0, 0, + 65,63, 0, 0, + 128,126, 0, 0, + 128,63, 0, 0, + 65,63, 0, 0, + 65,126, 0, 0, + 128,126, 0, 0, + 128,63, 0, 0, + 65,0, 0, 0, + 65,63, 0, 0, + 65,0, 0, 0, + 65,63, 0, 0, + 128,63, 0, 0, + 128,63, 0, 0, + 128,0, 0, 0, + 65,0, 0, 0, + 65,0, 0, 0, + 128,63, 0, 0, + 128,0, 0, 0, + 65,63, 0, 0, + 128,126, 0, 0, + 128,63, 0, 0, + 128,63, 0, 0, + 65,0, 0, 0, + 65,63, 0, 0, + 65,63, 0, 0, + 65,126, 0, 0, + 128,126, 0, 0, + 65,0, 0, 0, + 65,63, 0, 0, + 128,63, 0, 0, + 128,63, 0, 0, + 128,0, 0, 0, + 65,0, 0, 0, + 65,0, 0, 0, + 128,63, 0, 0, + 128,0, 0, 0, + 65,63, 0, 0, + 128,126, 0, 0, + 128,63, 0, 0, + 128,63, 0, 0, + 65,0, 0, 0, + 65,63, 0, 0, + 65,63, 0, 0, + 65,126, 0, 0, + 128,126, 0, 0, + 65,0, 0, 0, + 65,63, 0, 0, + 128,63, 0, 0, + 128,63, 0, 0, + 128,0, 0, 0, + 65,0, 0, 0, + 1,63, 0, 0, + 65,0, 0, 0, + 1,0, 0, 0, + 65,63, 0, 0, + 128,126, 0, 0, + 128,63, 0, 0, + 65,63, 0, 0, + 1,0, 0, 0, + 1,63, 0, 0, + 65,63, 0, 0, + 65,126, 0, 0, + 128,126, 0, 0, + 1,63, 0, 0, + 65,63, 0, 0, + 65,0, 0, 0, + 65,63, 0, 0, + 65,0, 0, 0, + 1,0, 0, 0 }; -CVECTOR level_modelgnd_color[] = { +CVECTOR level0_modelgnd_color[] = { 80, 80, 80, 0, 128, 128, 128, 0, 128, 128, 128, 0, @@ -2227,7 +2201,7 @@ CVECTOR level_modelgnd_color[] = { 128, 128, 128, 0 }; -PRIM level_modelgnd_index[] = { +PRIM level0_modelgnd_index[] = { 9,5,3,0,4, 5,1,3,0,4, 9,3,7,0,4, @@ -2278,20 +2252,7 @@ PRIM level_modelgnd_index[] = { 35,34,30,0,4 }; -MATRIX level_modelgnd_matrix = {0}; -VECTOR level_modelgnd_pos = {0,0,0, 0}; -SVECTOR level_modelgnd_rot = {0,0,0}; -short level_modelgnd_isRigidBody = 0; -short level_modelgnd_isStaticBody = 0; -short level_modelgnd_isPrism = 0; -short level_modelgnd_isAnim = 0; -short level_modelgnd_isActor = 0; -short level_modelgnd_isLevel = 1; -short level_modelgnd_isBG = 0; -short level_modelgnd_isSprite = 0; -long level_modelgnd_p = 0; -long level_modelgnd_OTz = 0; -BODY level_modelgnd_body = { +BODY level0_modelgnd_body = { {0, 0, 0, 0}, 0,0,0, 0, 0,0,0, 0, @@ -2302,39 +2263,39 @@ BODY level_modelgnd_body = { 4096, }; -TMESH level_modelgnd = { - level_modelgnd_mesh, - level_modelgnd_normal, - level_modelgnd_uv, - level_modelgnd_color, +TMESH level0_modelgnd = { + level0_modelgnd_mesh, + level0_modelgnd_normal, + level0_modelgnd_uv, + level0_modelgnd_color, 48 }; -MESH level_meshgnd = { - &level_modelgnd, - level_modelgnd_index, - &tim_home, +MESH level0_meshgnd = { + &level0_modelgnd, + level0_modelgnd_index, + &level0_tim_home, _binary_TIM_home_tim_start, - &level_modelgnd_matrix, - &level_modelgnd_pos, - &level_modelgnd_rot, - &level_modelgnd_isRigidBody, - &level_modelgnd_isStaticBody, - &level_modelgnd_isPrism, - &level_modelgnd_isAnim, - &level_modelgnd_isActor, - &level_modelgnd_isLevel, - &level_modelgnd_isBG, - &level_modelgnd_isSprite, - &level_modelgnd_p, - &level_modelgnd_OTz, - &level_modelgnd_body, + {0}, + {0,0,0, 0}, + {0,0,0}, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + &level0_modelgnd_body, 0, 0, 0 }; -SVECTOR level_modelgnd_001_mesh[] = { +SVECTOR level0_modelgnd_001_mesh[] = { { 200,0,194 }, { 103,0,194 }, { 5,0,194 }, @@ -2361,7 +2322,7 @@ SVECTOR level_modelgnd_001_mesh[] = { { -92,0,682 } }; -SVECTOR level_modelgnd_001_normal[] = { +SVECTOR level0_modelgnd_001_normal[] = { 0,4096,0, 0, 0,4096,0, 0, 0,4096,0, 0, @@ -2388,100 +2349,100 @@ SVECTOR level_modelgnd_001_normal[] = { 0,4096,0, 0 }; -SVECTOR level_modelgnd_001_uv[] = { - 64,64, 0, 0, - 64,0, 0, 0, - 0,0, 0, 0, - 0,127, 0, 0, - 64,127, 0, 0, - 64,64, 0, 0, - 64,64, 0, 0, - 0,0, 0, 0, - 0,64, 0, 0, - 64,64, 0, 0, - 0,64, 0, 0, - 0,127, 0, 0, - 64,64, 0, 0, - 0,127, 0, 0, - 64,127, 0, 0, - 0,127, 0, 0, - 64,64, 0, 0, - 0,64, 0, 0, - 64,64, 0, 0, - 64,0, 0, 0, - 0,0, 0, 0, - 0,127, 0, 0, - 64,127, 0, 0, - 64,64, 0, 0, - 64,64, 0, 0, - 0,64, 0, 0, - 0,127, 0, 0, - 64,64, 0, 0, - 0,0, 0, 0, - 0,64, 0, 0, - 64,64, 0, 0, - 0,127, 0, 0, - 64,127, 0, 0, - 0,127, 0, 0, - 64,64, 0, 0, - 0,64, 0, 0, - 64,64, 0, 0, - 64,0, 0, 0, - 0,0, 0, 0, - 0,127, 0, 0, - 64,127, 0, 0, - 64,64, 0, 0, - 64,64, 0, 0, - 0,64, 0, 0, - 0,127, 0, 0, - 64,64, 0, 0, - 0,0, 0, 0, - 0,64, 0, 0, - 64,64, 0, 0, - 0,127, 0, 0, - 64,127, 0, 0, - 0,127, 0, 0, - 64,64, 0, 0, - 0,64, 0, 0, - 64,64, 0, 0, - 64,0, 0, 0, - 0,0, 0, 0, - 0,127, 0, 0, - 64,127, 0, 0, - 64,64, 0, 0, - 64,64, 0, 0, - 0,64, 0, 0, - 0,127, 0, 0, - 64,64, 0, 0, - 0,0, 0, 0, - 0,64, 0, 0, - 64,64, 0, 0, - 0,127, 0, 0, - 64,127, 0, 0, - 0,127, 0, 0, - 64,64, 0, 0, - 0,64, 0, 0, - 64,64, 0, 0, - 64,0, 0, 0, - 0,0, 0, 0, - 64,127, 0, 0, - 128,127, 0, 0, - 128,64, 0, 0, - 64,64, 0, 0, - 64,127, 0, 0, - 128,127, 0, 0, - 64,64, 0, 0, - 0,0, 0, 0, - 0,64, 0, 0, - 64,64, 0, 0, - 128,127, 0, 0, - 128,64, 0, 0, - 64,127, 0, 0, - 128,64, 0, 0, - 64,64, 0, 0 +SVECTOR level0_modelgnd_001_uv[] = { + 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,64, 0, 0, + 127,0, 0, 0, + 127,64, 0, 0, + 191,64, 0, 0, + 127,64, 0, 0, + 127,127, 0, 0, + 191,64, 0, 0, + 127,127, 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, + 127,127, 0, 0, + 191,127, 0, 0, + 191,64, 0, 0, + 191,64, 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, + 127,127, 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, + 127,127, 0, 0, + 191,127, 0, 0, + 191,64, 0, 0, + 191,64, 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, + 127,127, 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, + 127,127, 0, 0, + 191,127, 0, 0, + 191,64, 0, 0, + 191,64, 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, + 127,127, 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,127, 0, 0, + 255,127, 0, 0, + 255,64, 0, 0, + 191,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,127, 0, 0, + 255,64, 0, 0, + 191,64, 0, 0 }; -CVECTOR level_modelgnd_001_color[] = { +CVECTOR level0_modelgnd_001_color[] = { 80, 80, 80, 0, 128, 128, 128, 0, 128, 128, 128, 0, @@ -2574,7 +2535,7 @@ CVECTOR level_modelgnd_001_color[] = { 128, 128, 128, 0 }; -PRIM level_modelgnd_001_index[] = { +PRIM level0_modelgnd_001_index[] = { 6,2,1,0,4, 5,1,0,0,4, 6,1,5,0,4, @@ -2607,20 +2568,7 @@ PRIM level_modelgnd_001_index[] = { 21,16,20,0,4 }; -MATRIX level_modelgnd_001_matrix = {0}; -VECTOR level_modelgnd_001_pos = {0,0,0, 0}; -SVECTOR level_modelgnd_001_rot = {0,0,0}; -short level_modelgnd_001_isRigidBody = 0; -short level_modelgnd_001_isStaticBody = 0; -short level_modelgnd_001_isPrism = 0; -short level_modelgnd_001_isAnim = 0; -short level_modelgnd_001_isActor = 0; -short level_modelgnd_001_isLevel = 1; -short level_modelgnd_001_isBG = 0; -short level_modelgnd_001_isSprite = 0; -long level_modelgnd_001_p = 0; -long level_modelgnd_001_OTz = 0; -BODY level_modelgnd_001_body = { +BODY level0_modelgnd_001_body = { {0, 0, 0, 0}, 0,0,0, 0, 0,0,0, 0, @@ -2631,39 +2579,39 @@ BODY level_modelgnd_001_body = { 4096, }; -TMESH level_modelgnd_001 = { - level_modelgnd_001_mesh, - level_modelgnd_001_normal, - level_modelgnd_001_uv, - level_modelgnd_001_color, +TMESH level0_modelgnd_001 = { + level0_modelgnd_001_mesh, + level0_modelgnd_001_normal, + level0_modelgnd_001_uv, + level0_modelgnd_001_color, 30 }; -MESH level_meshgnd_001 = { - &level_modelgnd_001, - level_modelgnd_001_index, - &tim_home, +MESH level0_meshgnd_001 = { + &level0_modelgnd_001, + level0_modelgnd_001_index, + &level0_tim_home, _binary_TIM_home_tim_start, - &level_modelgnd_001_matrix, - &level_modelgnd_001_pos, - &level_modelgnd_001_rot, - &level_modelgnd_001_isRigidBody, - &level_modelgnd_001_isStaticBody, - &level_modelgnd_001_isPrism, - &level_modelgnd_001_isAnim, - &level_modelgnd_001_isActor, - &level_modelgnd_001_isLevel, - &level_modelgnd_001_isBG, - &level_modelgnd_001_isSprite, - &level_modelgnd_001_p, - &level_modelgnd_001_OTz, - &level_modelgnd_001_body, + {0}, + {0,0,0, 0}, + {0,0,0}, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + &level0_modelgnd_001_body, 0, 0, 0 }; -SVECTOR level_modelgnd_003_mesh[] = { +SVECTOR level0_modelgnd_003_mesh[] = { { -224,0,-586 }, { -321,0,-586 }, { -419,0,-586 }, @@ -2690,7 +2638,7 @@ SVECTOR level_modelgnd_003_mesh[] = { { -516,0,-98 } }; -SVECTOR level_modelgnd_003_normal[] = { +SVECTOR level0_modelgnd_003_normal[] = { 0,4096,0, 0, 0,4096,0, 0, 0,4096,0, 0, @@ -2717,7 +2665,7 @@ SVECTOR level_modelgnd_003_normal[] = { 0,4096,0, 0 }; -SVECTOR level_modelgnd_003_uv[] = { +SVECTOR level0_modelgnd_003_uv[] = { 64,64, 0, 0, 64,0, 0, 0, 0,0, 0, 0, @@ -2810,7 +2758,7 @@ SVECTOR level_modelgnd_003_uv[] = { 64,64, 0, 0 }; -CVECTOR level_modelgnd_003_color[] = { +CVECTOR level0_modelgnd_003_color[] = { 80, 80, 80, 0, 128, 128, 128, 0, 128, 128, 128, 0, @@ -2903,7 +2851,7 @@ CVECTOR level_modelgnd_003_color[] = { 128, 128, 128, 0 }; -PRIM level_modelgnd_003_index[] = { +PRIM level0_modelgnd_003_index[] = { 6,2,1,0,4, 5,1,0,0,4, 6,1,5,0,4, @@ -2936,20 +2884,7 @@ PRIM level_modelgnd_003_index[] = { 21,16,20,0,4 }; -MATRIX level_modelgnd_003_matrix = {0}; -VECTOR level_modelgnd_003_pos = {0,0,0, 0}; -SVECTOR level_modelgnd_003_rot = {0,0,0}; -short level_modelgnd_003_isRigidBody = 0; -short level_modelgnd_003_isStaticBody = 0; -short level_modelgnd_003_isPrism = 0; -short level_modelgnd_003_isAnim = 0; -short level_modelgnd_003_isActor = 0; -short level_modelgnd_003_isLevel = 1; -short level_modelgnd_003_isBG = 0; -short level_modelgnd_003_isSprite = 0; -long level_modelgnd_003_p = 0; -long level_modelgnd_003_OTz = 0; -BODY level_modelgnd_003_body = { +BODY level0_modelgnd_003_body = { {0, 0, 0, 0}, 0,0,0, 0, 0,0,0, 0, @@ -2960,39 +2895,39 @@ BODY level_modelgnd_003_body = { 4096, }; -TMESH level_modelgnd_003 = { - level_modelgnd_003_mesh, - level_modelgnd_003_normal, - level_modelgnd_003_uv, - level_modelgnd_003_color, +TMESH level0_modelgnd_003 = { + level0_modelgnd_003_mesh, + level0_modelgnd_003_normal, + level0_modelgnd_003_uv, + level0_modelgnd_003_color, 30 }; -MESH level_meshgnd_003 = { - &level_modelgnd_003, - level_modelgnd_003_index, - &tim_home, +MESH level0_meshgnd_003 = { + &level0_modelgnd_003, + level0_modelgnd_003_index, + &level0_tim_home, _binary_TIM_home_tim_start, - &level_modelgnd_003_matrix, - &level_modelgnd_003_pos, - &level_modelgnd_003_rot, - &level_modelgnd_003_isRigidBody, - &level_modelgnd_003_isStaticBody, - &level_modelgnd_003_isPrism, - &level_modelgnd_003_isAnim, - &level_modelgnd_003_isActor, - &level_modelgnd_003_isLevel, - &level_modelgnd_003_isBG, - &level_modelgnd_003_isSprite, - &level_modelgnd_003_p, - &level_modelgnd_003_OTz, - &level_modelgnd_003_body, + {0}, + {0,0,0, 0}, + {0,0,0}, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + &level0_modelgnd_003_body, 0, 0, 0 }; -SVECTOR level_modelgnd_002_mesh[] = { +SVECTOR level0_modelgnd_002_mesh[] = { { 459,0,-586 }, { 361,0,-586 }, { 264,0,-586 }, @@ -3019,7 +2954,7 @@ SVECTOR level_modelgnd_002_mesh[] = { { 166,0,-98 } }; -SVECTOR level_modelgnd_002_normal[] = { +SVECTOR level0_modelgnd_002_normal[] = { 0,4096,0, 0, 0,4096,0, 0, 0,4096,0, 0, @@ -3046,7 +2981,7 @@ SVECTOR level_modelgnd_002_normal[] = { 0,4096,0, 0 }; -SVECTOR level_modelgnd_002_uv[] = { +SVECTOR level0_modelgnd_002_uv[] = { 64,64, 0, 0, 64,0, 0, 0, 0,0, 0, 0, @@ -3139,7 +3074,7 @@ SVECTOR level_modelgnd_002_uv[] = { 64,64, 0, 0 }; -CVECTOR level_modelgnd_002_color[] = { +CVECTOR level0_modelgnd_002_color[] = { 80, 80, 80, 0, 128, 128, 128, 0, 128, 128, 128, 0, @@ -3232,7 +3167,7 @@ CVECTOR level_modelgnd_002_color[] = { 128, 128, 128, 0 }; -PRIM level_modelgnd_002_index[] = { +PRIM level0_modelgnd_002_index[] = { 6,2,1,0,4, 5,1,0,0,4, 6,1,5,0,4, @@ -3265,20 +3200,7 @@ PRIM level_modelgnd_002_index[] = { 21,16,20,0,4 }; -MATRIX level_modelgnd_002_matrix = {0}; -VECTOR level_modelgnd_002_pos = {0,0,0, 0}; -SVECTOR level_modelgnd_002_rot = {0,0,0}; -short level_modelgnd_002_isRigidBody = 0; -short level_modelgnd_002_isStaticBody = 0; -short level_modelgnd_002_isPrism = 0; -short level_modelgnd_002_isAnim = 0; -short level_modelgnd_002_isActor = 0; -short level_modelgnd_002_isLevel = 1; -short level_modelgnd_002_isBG = 0; -short level_modelgnd_002_isSprite = 0; -long level_modelgnd_002_p = 0; -long level_modelgnd_002_OTz = 0; -BODY level_modelgnd_002_body = { +BODY level0_modelgnd_002_body = { {0, 0, 0, 0}, 0,0,0, 0, 0,0,0, 0, @@ -3289,39 +3211,39 @@ BODY level_modelgnd_002_body = { 4096, }; -TMESH level_modelgnd_002 = { - level_modelgnd_002_mesh, - level_modelgnd_002_normal, - level_modelgnd_002_uv, - level_modelgnd_002_color, +TMESH level0_modelgnd_002 = { + level0_modelgnd_002_mesh, + level0_modelgnd_002_normal, + level0_modelgnd_002_uv, + level0_modelgnd_002_color, 30 }; -MESH level_meshgnd_002 = { - &level_modelgnd_002, - level_modelgnd_002_index, - &tim_home, +MESH level0_meshgnd_002 = { + &level0_modelgnd_002, + level0_modelgnd_002_index, + &level0_tim_home, _binary_TIM_home_tim_start, - &level_modelgnd_002_matrix, - &level_modelgnd_002_pos, - &level_modelgnd_002_rot, - &level_modelgnd_002_isRigidBody, - &level_modelgnd_002_isStaticBody, - &level_modelgnd_002_isPrism, - &level_modelgnd_002_isAnim, - &level_modelgnd_002_isActor, - &level_modelgnd_002_isLevel, - &level_modelgnd_002_isBG, - &level_modelgnd_002_isSprite, - &level_modelgnd_002_p, - &level_modelgnd_002_OTz, - &level_modelgnd_002_body, + {0}, + {0,0,0, 0}, + {0,0,0}, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + &level0_modelgnd_002_body, 0, 0, 0 }; -SVECTOR level_modelobject_mesh[] = { +SVECTOR level0_modelobject_mesh[] = { { 9,17,-20 }, { 9,0,-20 }, { -9,17,-22 }, @@ -3332,7 +3254,7 @@ SVECTOR level_modelobject_mesh[] = { { -20,-32,18 } }; -SVECTOR level_modelobject_normal[] = { +SVECTOR level0_modelobject_normal[] = { -2161,-2336,2579, 0, -2321,1316,3108, 0, 1891,-2286,2824, 0, @@ -3343,7 +3265,7 @@ SVECTOR level_modelobject_normal[] = { 2458,2976,-1370, 0 }; -SVECTOR level_modelobject_uv[] = { +SVECTOR level0_modelobject_uv[] = { 103,62, 0, 0, 124,33, 0, 0, 124,62, 0, 0, @@ -3382,7 +3304,7 @@ SVECTOR level_modelobject_uv[] = { 112,17, 0, 0 }; -CVECTOR level_modelobject_color[] = { +CVECTOR level0_modelobject_color[] = { 80, 80, 80, 0, 128, 128, 128, 0, 128, 128, 128, 0, @@ -3421,7 +3343,7 @@ CVECTOR level_modelobject_color[] = { 128, 128, 128, 0 }; -PRIM level_modelobject_index[] = { +PRIM level0_modelobject_index[] = { 7,4,6,0,4, 7,5,4,0,4, 2,6,4,0,4, @@ -3436,20 +3358,7 @@ PRIM level_modelobject_index[] = { 1,3,2,0,4 }; -MATRIX level_modelobject_matrix = {0}; -VECTOR level_modelobject_pos = {400,-22,-147, 0}; -SVECTOR level_modelobject_rot = {0,2565,0}; -short level_modelobject_isRigidBody = 0; -short level_modelobject_isStaticBody = 1; -short level_modelobject_isPrism = 0; -short level_modelobject_isAnim = 0; -short level_modelobject_isActor = 0; -short level_modelobject_isLevel = 0; -short level_modelobject_isBG = 0; -short level_modelobject_isSprite = 0; -long level_modelobject_p = 0; -long level_modelobject_OTz = 0; -BODY level_modelobject_body = { +BODY level0_modelobject_body = { {0, 0, 0, 0}, 400,-22,-147, 0, 0,2565,0, 0, @@ -3460,83 +3369,70 @@ BODY level_modelobject_body = { 1024, }; -TMESH level_modelobject = { - level_modelobject_mesh, - level_modelobject_normal, - level_modelobject_uv, - level_modelobject_color, +TMESH level0_modelobject = { + level0_modelobject_mesh, + level0_modelobject_normal, + level0_modelobject_uv, + level0_modelobject_color, 12 }; -MESH level_meshobject = { - &level_modelobject, - level_modelobject_index, - &tim_home, +MESH level0_meshobject = { + &level0_modelobject, + level0_modelobject_index, + &level0_tim_home, _binary_TIM_home_tim_start, - &level_modelobject_matrix, - &level_modelobject_pos, - &level_modelobject_rot, - &level_modelobject_isRigidBody, - &level_modelobject_isStaticBody, - &level_modelobject_isPrism, - &level_modelobject_isAnim, - &level_modelobject_isActor, - &level_modelobject_isLevel, - &level_modelobject_isBG, - &level_modelobject_isSprite, - &level_modelobject_p, - &level_modelobject_OTz, - &level_modelobject_body, + {0}, + {400,-22,-147, 0}, + {0,2565,0}, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + &level0_modelobject_body, 0, 0, 0 }; -SVECTOR level_modelPlan_mesh[] = { +SVECTOR level0_modelPlan_mesh[] = { { -45,36,-3 }, { 48,36,-3 }, { -45,2,2 }, { 48,2,2 } }; -SVECTOR level_modelPlan_normal[] = { +SVECTOR level0_modelPlan_normal[] = { 0,638,4046, 0, 0,638,4046, 0, 0,638,4046, 0, 0,638,4046, 0 }; -SVECTOR level_modelPlan_uv[] = { +SVECTOR level0_modelPlan_uv[] = { 64,155, 0, 0, 129,155, 0, 0, 129,130, 0, 0, 64,130, 0, 0 }; -CVECTOR level_modelPlan_color[] = { +CVECTOR level0_modelPlan_color[] = { 80, 80, 80, 0, 128, 128, 128, 0, 128, 128, 128, 0 }; -PRIM level_modelPlan_index[] = { +PRIM level0_modelPlan_index[] = { 0,1,3,2,8 }; -MATRIX level_modelPlan_matrix = {0}; -VECTOR level_modelPlan_pos = {-40,-40,194, 0}; -SVECTOR level_modelPlan_rot = {0,0,0}; -short level_modelPlan_isRigidBody = 0; -short level_modelPlan_isStaticBody = 1; -short level_modelPlan_isPrism = 0; -short level_modelPlan_isAnim = 0; -short level_modelPlan_isActor = 0; -short level_modelPlan_isLevel = 0; -short level_modelPlan_isBG = 0; -short level_modelPlan_isSprite = 1; -long level_modelPlan_p = 0; -long level_modelPlan_OTz = 0; -BODY level_modelPlan_body = { +BODY level0_modelPlan_body = { {0, 0, 0, 0}, -40,-40,194, 0, 0,0,0, 0, @@ -3547,39 +3443,39 @@ BODY level_modelPlan_body = { 0, }; -TMESH level_modelPlan = { - level_modelPlan_mesh, - level_modelPlan_normal, - level_modelPlan_uv, - level_modelPlan_color, +TMESH level0_modelPlan = { + level0_modelPlan_mesh, + level0_modelPlan_normal, + level0_modelPlan_uv, + level0_modelPlan_color, 1 }; -MESH level_meshPlan = { - &level_modelPlan, - level_modelPlan_index, - &tim_home, +MESH level0_meshPlan = { + &level0_modelPlan, + level0_modelPlan_index, + &level0_tim_home, _binary_TIM_home_tim_start, - &level_modelPlan_matrix, - &level_modelPlan_pos, - &level_modelPlan_rot, - &level_modelPlan_isRigidBody, - &level_modelPlan_isStaticBody, - &level_modelPlan_isPrism, - &level_modelPlan_isAnim, - &level_modelPlan_isActor, - &level_modelPlan_isLevel, - &level_modelPlan_isBG, - &level_modelPlan_isSprite, - &level_modelPlan_p, - &level_modelPlan_OTz, - &level_modelPlan_body, + {0}, + {-40,-40,194, 0}, + {0,0,0}, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + &level0_modelPlan_body, 0, 0, 0 }; -SVECTOR level_modelSphere_mesh[] = { +SVECTOR level0_modelSphere_mesh[] = { { 0,-8,24 }, { 4,5,25 }, { 9,-18,15 }, @@ -3609,7 +3505,7 @@ SVECTOR level_modelSphere_mesh[] = { { -6,18,16 } }; -SVECTOR level_modelSphere_normal[] = { +SVECTOR level0_modelSphere_normal[] = { -68,1388,-3853, 0, -642,-810,-3963, 0, -1690,2835,-2425, 0, @@ -3639,7 +3535,7 @@ SVECTOR level_modelSphere_normal[] = { 895,-2816,-2837, 0 }; -SVECTOR level_modelSphere_uv[] = { +SVECTOR level0_modelSphere_uv[] = { 136,31, 0, 0, 122,32, 0, 0, 126,40, 0, 0, @@ -3792,7 +3688,7 @@ SVECTOR level_modelSphere_uv[] = { 132,31, 0, 0 }; -CVECTOR level_modelSphere_color[] = { +CVECTOR level0_modelSphere_color[] = { 80, 80, 80, 0, 128, 128, 128, 0, 128, 128, 128, 0, @@ -3945,7 +3841,7 @@ CVECTOR level_modelSphere_color[] = { 128, 128, 128, 0 }; -PRIM level_modelSphere_index[] = { +PRIM level0_modelSphere_index[] = { 1,5,26,0,4, 0,2,3,0,4, 1,4,5,0,4, @@ -3998,22 +3894,9 @@ PRIM level_modelSphere_index[] = { 0,22,2,0,4 }; -MATRIX level_modelSphere_matrix = {0}; -VECTOR level_modelSphere_pos = {333,-129,-298, 0}; -SVECTOR level_modelSphere_rot = {0,0,0}; -short level_modelSphere_isRigidBody = 1; -short level_modelSphere_isStaticBody = 0; -short level_modelSphere_isPrism = 0; -short level_modelSphere_isAnim = 0; -short level_modelSphere_isActor = 1; -short level_modelSphere_isLevel = 0; -short level_modelSphere_isBG = 0; -short level_modelSphere_isSprite = 0; -long level_modelSphere_p = 0; -long level_modelSphere_OTz = 0; -BODY level_modelSphere_body = { +BODY level0_modelSphere_body = { {0, 0, 0, 0}, - 333,-129,-298, 0, + -486,-129,-32, 0, 0,0,0, 0, 2, ONE/2, @@ -4022,39 +3905,39 @@ BODY level_modelSphere_body = { 2048, }; -TMESH level_modelSphere = { - level_modelSphere_mesh, - level_modelSphere_normal, - level_modelSphere_uv, - level_modelSphere_color, +TMESH level0_modelSphere = { + level0_modelSphere_mesh, + level0_modelSphere_normal, + level0_modelSphere_uv, + level0_modelSphere_color, 50 }; -MESH level_meshSphere = { - &level_modelSphere, - level_modelSphere_index, - &tim_home, +MESH level0_meshSphere = { + &level0_modelSphere, + level0_modelSphere_index, + &level0_tim_home, _binary_TIM_home_tim_start, - &level_modelSphere_matrix, - &level_modelSphere_pos, - &level_modelSphere_rot, - &level_modelSphere_isRigidBody, - &level_modelSphere_isStaticBody, - &level_modelSphere_isPrism, - &level_modelSphere_isAnim, - &level_modelSphere_isActor, - &level_modelSphere_isLevel, - &level_modelSphere_isBG, - &level_modelSphere_isSprite, - &level_modelSphere_p, - &level_modelSphere_OTz, - &level_modelSphere_body, + {0}, + {-486,-129,-32, 0}, + {0,0,0}, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + &level0_modelSphere_body, 0, 0, 0 }; -SVECTOR level_modelSphere_001_mesh[] = { +SVECTOR level0_modelSphere_001_mesh[] = { { 0,-8,24 }, { 4,5,25 }, { 9,-18,15 }, @@ -4084,7 +3967,7 @@ SVECTOR level_modelSphere_001_mesh[] = { { -6,18,16 } }; -SVECTOR level_modelSphere_001_normal[] = { +SVECTOR level0_modelSphere_001_normal[] = { -68,1388,-3853, 0, -642,-810,-3963, 0, -1690,2835,-2425, 0, @@ -4114,160 +3997,160 @@ SVECTOR level_modelSphere_001_normal[] = { 895,-2816,-2837, 0 }; -SVECTOR level_modelSphere_001_uv[] = { - 182,100, 0, 0, - 169,98, 0, 0, - 179,103, 0, 0, - 147,128, 0, 0, - 144,123, 0, 0, - 131,121, 0, 0, - 182,100, 0, 0, - 168,98, 0, 0, - 169,98, 0, 0, - 131,121, 0, 0, - 128,121, 0, 0, - 140,129, 0, 0, - 144,123, 0, 0, - 132,113, 0, 0, - 131,121, 0, 0, - 173,107, 0, 0, - 169,98, 0, 0, - 160,109, 0, 0, - 144,123, 0, 0, - 146,110, 0, 0, - 132,113, 0, 0, - 131,121, 0, 0, - 127,107, 0, 0, - 128,121, 0, 0, - 156,107, 0, 0, - 160,109, 0, 0, - 169,98, 0, 0, - 146,110, 0, 0, - 137,104, 0, 0, - 132,113, 0, 0, - 137,104, 0, 0, - 146,110, 0, 0, - 145,100, 0, 0, - 156,107, 0, 0, - 157,120, 0, 0, - 160,109, 0, 0, - 137,98, 0, 0, - 145,100, 0, 0, - 149,98, 0, 0, - 146,110, 0, 0, - 152,115, 0, 0, - 155,109, 0, 0, - 146,110, 0, 0, - 155,109, 0, 0, - 145,100, 0, 0, - 160,109, 0, 0, - 157,120, 0, 0, - 164,122, 0, 0, - 145,100, 0, 0, - 155,109, 0, 0, - 149,98, 0, 0, - 173,107, 0, 0, - 160,109, 0, 0, - 168,112, 0, 0, - 166,128, 0, 0, - 164,122, 0, 0, - 157,120, 0, 0, - 166,128, 0, 0, - 173,121, 0, 0, - 164,122, 0, 0, - 149,98, 0, 0, - 155,109, 0, 0, - 156,103, 0, 0, - 165,70, 0, 0, - 156,80, 0, 0, - 167,79, 0, 0, - 173,121, 0, 0, - 173,107, 0, 0, - 168,112, 0, 0, - 167,79, 0, 0, - 176,77, 0, 0, - 165,70, 0, 0, - 185,122, 0, 0, - 185,110, 0, 0, - 173,121, 0, 0, - 176,77, 0, 0, - 177,88, 0, 0, - 184,84, 0, 0, - 185,110, 0, 0, - 179,103, 0, 0, - 173,107, 0, 0, - 170,97, 0, 0, - 177,98, 0, 0, - 177,88, 0, 0, - 179,103, 0, 0, - 169,98, 0, 0, - 173,107, 0, 0, - 156,121, 0, 0, - 152,115, 0, 0, - 144,123, 0, 0, - 147,128, 0, 0, - 131,121, 0, 0, - 140,129, 0, 0, - 152,115, 0, 0, - 146,110, 0, 0, - 144,123, 0, 0, - 168,98, 0, 0, - 156,107, 0, 0, - 169,98, 0, 0, - 131,121, 0, 0, - 132,113, 0, 0, - 127,107, 0, 0, - 127,107, 0, 0, - 132,113, 0, 0, - 137,104, 0, 0, - 127,107, 0, 0, - 137,104, 0, 0, - 137,98, 0, 0, - 137,98, 0, 0, - 137,104, 0, 0, - 145,100, 0, 0, - 160,109, 0, 0, - 164,122, 0, 0, - 168,112, 0, 0, - 166,128, 0, 0, - 175,129, 0, 0, - 173,121, 0, 0, - 164,122, 0, 0, - 173,121, 0, 0, - 168,112, 0, 0, - 165,70, 0, 0, - 176,77, 0, 0, - 179,70, 0, 0, - 173,121, 0, 0, - 185,110, 0, 0, - 173,107, 0, 0, - 167,79, 0, 0, - 156,80, 0, 0, - 166,89, 0, 0, - 167,79, 0, 0, - 166,89, 0, 0, - 177,88, 0, 0, - 176,77, 0, 0, - 167,79, 0, 0, - 177,88, 0, 0, - 156,80, 0, 0, - 156,87, 0, 0, - 166,89, 0, 0, - 177,88, 0, 0, - 166,89, 0, 0, - 170,97, 0, 0, - 177,88, 0, 0, - 177,98, 0, 0, - 184,84, 0, 0, - 185,89, 0, 0, - 184,84, 0, 0, - 177,98, 0, 0, - 170,97, 0, 0, - 166,89, 0, 0, - 160,96, 0, 0 +SVECTOR level0_modelSphere_001_uv[] = { + 249,32, 0, 0, + 235,31, 0, 0, + 246,35, 0, 0, + 213,61, 0, 0, + 211,55, 0, 0, + 198,54, 0, 0, + 249,32, 0, 0, + 234,30, 0, 0, + 235,31, 0, 0, + 198,54, 0, 0, + 195,53, 0, 0, + 207,61, 0, 0, + 211,55, 0, 0, + 199,46, 0, 0, + 198,54, 0, 0, + 240,39, 0, 0, + 235,31, 0, 0, + 226,41, 0, 0, + 211,55, 0, 0, + 213,42, 0, 0, + 199,46, 0, 0, + 198,54, 0, 0, + 193,39, 0, 0, + 195,53, 0, 0, + 223,40, 0, 0, + 226,41, 0, 0, + 235,31, 0, 0, + 213,42, 0, 0, + 204,37, 0, 0, + 199,46, 0, 0, + 204,37, 0, 0, + 213,42, 0, 0, + 211,33, 0, 0, + 223,40, 0, 0, + 224,53, 0, 0, + 226,41, 0, 0, + 203,30, 0, 0, + 211,33, 0, 0, + 216,31, 0, 0, + 213,42, 0, 0, + 218,48, 0, 0, + 221,41, 0, 0, + 213,42, 0, 0, + 221,41, 0, 0, + 211,33, 0, 0, + 226,41, 0, 0, + 224,53, 0, 0, + 231,54, 0, 0, + 211,33, 0, 0, + 221,41, 0, 0, + 216,31, 0, 0, + 240,39, 0, 0, + 226,41, 0, 0, + 234,44, 0, 0, + 233,61, 0, 0, + 231,54, 0, 0, + 224,53, 0, 0, + 233,61, 0, 0, + 240,54, 0, 0, + 231,54, 0, 0, + 216,31, 0, 0, + 221,41, 0, 0, + 223,35, 0, 0, + 232,3, 0, 0, + 223,12, 0, 0, + 234,11, 0, 0, + 240,54, 0, 0, + 240,39, 0, 0, + 234,44, 0, 0, + 234,11, 0, 0, + 242,9, 0, 0, + 232,3, 0, 0, + 251,54, 0, 0, + 251,43, 0, 0, + 240,54, 0, 0, + 242,9, 0, 0, + 244,21, 0, 0, + 251,17, 0, 0, + 251,43, 0, 0, + 246,35, 0, 0, + 240,39, 0, 0, + 236,30, 0, 0, + 243,30, 0, 0, + 244,21, 0, 0, + 246,35, 0, 0, + 235,31, 0, 0, + 240,39, 0, 0, + 223,54, 0, 0, + 218,48, 0, 0, + 211,55, 0, 0, + 213,61, 0, 0, + 198,54, 0, 0, + 207,61, 0, 0, + 218,48, 0, 0, + 213,42, 0, 0, + 211,55, 0, 0, + 234,30, 0, 0, + 223,40, 0, 0, + 235,31, 0, 0, + 198,54, 0, 0, + 199,46, 0, 0, + 193,39, 0, 0, + 193,39, 0, 0, + 199,46, 0, 0, + 204,37, 0, 0, + 193,39, 0, 0, + 204,37, 0, 0, + 203,30, 0, 0, + 203,30, 0, 0, + 204,37, 0, 0, + 211,33, 0, 0, + 226,41, 0, 0, + 231,54, 0, 0, + 234,44, 0, 0, + 233,61, 0, 0, + 242,61, 0, 0, + 240,54, 0, 0, + 231,54, 0, 0, + 240,54, 0, 0, + 234,44, 0, 0, + 232,3, 0, 0, + 242,9, 0, 0, + 246,3, 0, 0, + 240,54, 0, 0, + 251,43, 0, 0, + 240,39, 0, 0, + 234,11, 0, 0, + 223,12, 0, 0, + 232,21, 0, 0, + 234,11, 0, 0, + 232,21, 0, 0, + 244,21, 0, 0, + 242,9, 0, 0, + 234,11, 0, 0, + 244,21, 0, 0, + 223,12, 0, 0, + 223,20, 0, 0, + 232,21, 0, 0, + 244,21, 0, 0, + 232,21, 0, 0, + 236,30, 0, 0, + 244,21, 0, 0, + 243,30, 0, 0, + 251,17, 0, 0, + 252,21, 0, 0, + 251,17, 0, 0, + 243,30, 0, 0, + 236,30, 0, 0, + 232,21, 0, 0, + 226,28, 0, 0 }; -CVECTOR level_modelSphere_001_color[] = { +CVECTOR level0_modelSphere_001_color[] = { 80, 80, 80, 0, 128, 128, 128, 0, 128, 128, 128, 0, @@ -4420,7 +4303,7 @@ CVECTOR level_modelSphere_001_color[] = { 128, 128, 128, 0 }; -PRIM level_modelSphere_001_index[] = { +PRIM level0_modelSphere_001_index[] = { 1,5,26,0,4, 0,2,3,0,4, 1,4,5,0,4, @@ -4473,20 +4356,7 @@ PRIM level_modelSphere_001_index[] = { 0,22,2,0,4 }; -MATRIX level_modelSphere_001_matrix = {0}; -VECTOR level_modelSphere_001_pos = {44,-73,92, 0}; -SVECTOR level_modelSphere_001_rot = {0,0,0}; -short level_modelSphere_001_isRigidBody = 1; -short level_modelSphere_001_isStaticBody = 0; -short level_modelSphere_001_isPrism = 0; -short level_modelSphere_001_isAnim = 0; -short level_modelSphere_001_isActor = 0; -short level_modelSphere_001_isLevel = 0; -short level_modelSphere_001_isBG = 0; -short level_modelSphere_001_isSprite = 0; -long level_modelSphere_001_p = 0; -long level_modelSphere_001_OTz = 0; -BODY level_modelSphere_001_body = { +BODY level0_modelSphere_001_body = { {0, 0, 0, 0}, 44,-73,92, 0, 0,0,0, 0, @@ -4497,39 +4367,39 @@ BODY level_modelSphere_001_body = { 1024, }; -TMESH level_modelSphere_001 = { - level_modelSphere_001_mesh, - level_modelSphere_001_normal, - level_modelSphere_001_uv, - level_modelSphere_001_color, +TMESH level0_modelSphere_001 = { + level0_modelSphere_001_mesh, + level0_modelSphere_001_normal, + level0_modelSphere_001_uv, + level0_modelSphere_001_color, 50 }; -MESH level_meshSphere_001 = { - &level_modelSphere_001, - level_modelSphere_001_index, - &tim_home, +MESH level0_meshSphere_001 = { + &level0_modelSphere_001, + level0_modelSphere_001_index, + &level0_tim_home, _binary_TIM_home_tim_start, - &level_modelSphere_001_matrix, - &level_modelSphere_001_pos, - &level_modelSphere_001_rot, - &level_modelSphere_001_isRigidBody, - &level_modelSphere_001_isStaticBody, - &level_modelSphere_001_isPrism, - &level_modelSphere_001_isAnim, - &level_modelSphere_001_isActor, - &level_modelSphere_001_isLevel, - &level_modelSphere_001_isBG, - &level_modelSphere_001_isSprite, - &level_modelSphere_001_p, - &level_modelSphere_001_OTz, - &level_modelSphere_001_body, + {0}, + {44,-73,92, 0}, + {0,0,0}, + 1, 0, - &level_nodegnd, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + &level0_modelSphere_001_body, + 0, + &level0_nodegnd, 0 }; -SVECTOR level_modelwall_mesh[] = { +SVECTOR level0_modelwall_mesh[] = { { -580,-97,-98 }, { -580,0,-98 }, { -580,-195,-98 }, @@ -4544,7 +4414,7 @@ SVECTOR level_modelwall_mesh[] = { { -580,-195,194 } }; -SVECTOR level_modelwall_normal[] = { +SVECTOR level0_modelwall_normal[] = { -4096,0,0, 0, -4096,0,0, 0, -4096,0,0, 0, @@ -4559,46 +4429,46 @@ SVECTOR level_modelwall_normal[] = { -4096,0,0, 0 }; -SVECTOR level_modelwall_uv[] = { - 191,0, 0, 0, - 255,64, 0, 0, - 255,0, 0, 0, - 191,0, 0, 0, +SVECTOR level0_modelwall_uv[] = { + 64,64, 0, 0, + 0,0, 0, 0, + 0,64, 0, 0, + 64,64, 0, 0, + 64,0, 0, 0, + 0,0, 0, 0, + 64,64, 0, 0, + 64,0, 0, 0, + 0,0, 0, 0, + 64,64, 0, 0, + 0,0, 0, 0, + 0,64, 0, 0, 191,64, 0, 0, - 255,64, 0, 0, 191,0, 0, 0, + 127,0, 0, 0, 191,64, 0, 0, - 255,64, 0, 0, - 191,0, 0, 0, - 255,64, 0, 0, - 255,0, 0, 0, - 0,128, 0, 0, - 0,191, 0, 0, - 64,191, 0, 0, - 0,128, 0, 0, - 0,191, 0, 0, - 64,191, 0, 0, - 191,0, 0, 0, - 255,64, 0, 0, - 255,0, 0, 0, - 0,128, 0, 0, - 64,191, 0, 0, - 64,128, 0, 0, 191,0, 0, 0, + 127,0, 0, 0, + 64,64, 0, 0, + 0,0, 0, 0, + 0,64, 0, 0, 191,64, 0, 0, - 255,64, 0, 0, - 0,128, 0, 0, - 64,191, 0, 0, - 64,128, 0, 0, - 0,128, 0, 0, - 64,191, 0, 0, - 64,128, 0, 0, - 0,128, 0, 0, - 0,191, 0, 0, - 64,191, 0, 0 + 127,0, 0, 0, + 127,64, 0, 0, + 64,64, 0, 0, + 64,0, 0, 0, + 0,0, 0, 0, + 191,64, 0, 0, + 127,0, 0, 0, + 127,64, 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 }; -CVECTOR level_modelwall_color[] = { +CVECTOR level0_modelwall_color[] = { 80, 80, 80, 0, 128, 128, 128, 0, 128, 128, 128, 0, @@ -4637,7 +4507,7 @@ CVECTOR level_modelwall_color[] = { 128, 128, 128, 0 }; -PRIM level_modelwall_index[] = { +PRIM level0_modelwall_index[] = { 6,5,3,0,4, 3,5,2,0,4, 6,8,5,0,4, @@ -4652,20 +4522,7 @@ PRIM level_modelwall_index[] = { 10,9,6,0,4 }; -MATRIX level_modelwall_matrix = {0}; -VECTOR level_modelwall_pos = {1,-1,0, 0}; -SVECTOR level_modelwall_rot = {0,0,0}; -short level_modelwall_isRigidBody = 0; -short level_modelwall_isStaticBody = 0; -short level_modelwall_isPrism = 0; -short level_modelwall_isAnim = 0; -short level_modelwall_isActor = 0; -short level_modelwall_isLevel = 0; -short level_modelwall_isBG = 0; -short level_modelwall_isSprite = 0; -long level_modelwall_p = 0; -long level_modelwall_OTz = 0; -BODY level_modelwall_body = { +BODY level0_modelwall_body = { {0, 0, 0, 0}, 1,-1,0, 0, 0,0,0, 0, @@ -4676,39 +4533,39 @@ BODY level_modelwall_body = { 0, }; -TMESH level_modelwall = { - level_modelwall_mesh, - level_modelwall_normal, - level_modelwall_uv, - level_modelwall_color, +TMESH level0_modelwall = { + level0_modelwall_mesh, + level0_modelwall_normal, + level0_modelwall_uv, + level0_modelwall_color, 12 }; -MESH level_meshwall = { - &level_modelwall, - level_modelwall_index, - &tim_home, +MESH level0_meshwall = { + &level0_modelwall, + level0_modelwall_index, + &level0_tim_home, _binary_TIM_home_tim_start, - &level_modelwall_matrix, - &level_modelwall_pos, - &level_modelwall_rot, - &level_modelwall_isRigidBody, - &level_modelwall_isStaticBody, - &level_modelwall_isPrism, - &level_modelwall_isAnim, - &level_modelwall_isActor, - &level_modelwall_isLevel, - &level_modelwall_isBG, - &level_modelwall_isSprite, - &level_modelwall_p, - &level_modelwall_OTz, - &level_modelwall_body, + {0}, + {1,-1,0, 0}, + {0,0,0}, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + &level0_modelwall_body, 0, 0, 0 }; -SVECTOR level_modelwall_001_mesh[] = { +SVECTOR level0_modelwall_001_mesh[] = { { -92,-97,194 }, { -92,0,194 }, { -92,-195,194 }, @@ -4729,7 +4586,7 @@ SVECTOR level_modelwall_001_mesh[] = { { -580,-195,194 } }; -SVECTOR level_modelwall_001_normal[] = { +SVECTOR level0_modelwall_001_normal[] = { 0,0,4096, 0, 0,0,4096, 0, 0,0,4096, 0, @@ -4750,70 +4607,70 @@ SVECTOR level_modelwall_001_normal[] = { 0,0,4096, 0 }; -SVECTOR level_modelwall_001_uv[] = { - 191,0, 0, 0, - 255,0, 0, 0, - 255,64, 0, 0, - 191,0, 0, 0, - 255,64, 0, 0, +SVECTOR level0_modelwall_001_uv[] = { + 64,64, 0, 0, + 0,64, 0, 0, + 0,0, 0, 0, + 64,64, 0, 0, + 0,0, 0, 0, + 64,0, 0, 0, 191,64, 0, 0, - 0,128, 0, 0, - 64,128, 0, 0, - 64,191, 0, 0, - 0,128, 0, 0, - 64,191, 0, 0, - 0,191, 0, 0, - 191,0, 0, 0, - 255,0, 0, 0, - 255,64, 0, 0, - 191,0, 0, 0, - 255,64, 0, 0, + 127,64, 0, 0, + 127,0, 0, 0, 191,64, 0, 0, - 0,128, 0, 0, - 64,128, 0, 0, - 64,191, 0, 0, - 0,128, 0, 0, - 64,191, 0, 0, - 0,191, 0, 0, + 127,0, 0, 0, 191,0, 0, 0, - 255,0, 0, 0, - 255,64, 0, 0, - 0,128, 0, 0, - 64,128, 0, 0, - 64,191, 0, 0, - 191,0, 0, 0, - 255,64, 0, 0, + 64,64, 0, 0, + 0,64, 0, 0, + 0,0, 0, 0, + 64,64, 0, 0, + 0,0, 0, 0, + 64,0, 0, 0, 191,64, 0, 0, - 0,128, 0, 0, - 64,191, 0, 0, - 0,191, 0, 0, - 191,0, 0, 0, - 255,0, 0, 0, - 255,64, 0, 0, - 0,128, 0, 0, - 64,128, 0, 0, - 64,191, 0, 0, - 191,0, 0, 0, - 255,64, 0, 0, + 127,64, 0, 0, + 127,0, 0, 0, 191,64, 0, 0, - 0,128, 0, 0, - 64,191, 0, 0, - 0,191, 0, 0, + 127,0, 0, 0, 191,0, 0, 0, - 255,0, 0, 0, - 255,64, 0, 0, - 0,128, 0, 0, - 64,128, 0, 0, - 64,191, 0, 0, - 191,0, 0, 0, - 255,64, 0, 0, + 64,64, 0, 0, + 0,64, 0, 0, + 0,0, 0, 0, 191,64, 0, 0, - 0,128, 0, 0, - 64,191, 0, 0, - 0,191, 0, 0 + 127,64, 0, 0, + 127,0, 0, 0, + 64,64, 0, 0, + 0,0, 0, 0, + 64,0, 0, 0, + 191,64, 0, 0, + 127,0, 0, 0, + 191,0, 0, 0, + 64,64, 0, 0, + 0,64, 0, 0, + 0,0, 0, 0, + 191,64, 0, 0, + 127,64, 0, 0, + 127,0, 0, 0, + 64,64, 0, 0, + 0,0, 0, 0, + 64,0, 0, 0, + 191,64, 0, 0, + 127,0, 0, 0, + 191,0, 0, 0, + 64,64, 0, 0, + 0,64, 0, 0, + 0,0, 0, 0, + 191,64, 0, 0, + 127,64, 0, 0, + 127,0, 0, 0, + 64,64, 0, 0, + 0,0, 0, 0, + 64,0, 0, 0, + 191,64, 0, 0, + 127,0, 0, 0, + 191,0, 0, 0 }; -CVECTOR level_modelwall_001_color[] = { +CVECTOR level0_modelwall_001_color[] = { 80, 80, 80, 0, 128, 128, 128, 0, 128, 128, 128, 0, @@ -4876,7 +4733,7 @@ CVECTOR level_modelwall_001_color[] = { 128, 128, 128, 0 }; -PRIM level_modelwall_001_index[] = { +PRIM level0_modelwall_001_index[] = { 3,0,2,0,4, 3,2,5,0,4, 4,1,0,0,4, @@ -4899,20 +4756,7 @@ PRIM level_modelwall_001_index[] = { 16,12,15,0,4 }; -MATRIX level_modelwall_001_matrix = {0}; -VECTOR level_modelwall_001_pos = {0,-1,0, 0}; -SVECTOR level_modelwall_001_rot = {0,0,0}; -short level_modelwall_001_isRigidBody = 0; -short level_modelwall_001_isStaticBody = 0; -short level_modelwall_001_isPrism = 0; -short level_modelwall_001_isAnim = 0; -short level_modelwall_001_isActor = 0; -short level_modelwall_001_isLevel = 0; -short level_modelwall_001_isBG = 0; -short level_modelwall_001_isSprite = 0; -long level_modelwall_001_p = 0; -long level_modelwall_001_OTz = 0; -BODY level_modelwall_001_body = { +BODY level0_modelwall_001_body = { {0, 0, 0, 0}, 0,-1,0, 0, 0,0,0, 0, @@ -4923,39 +4767,39 @@ BODY level_modelwall_001_body = { 0, }; -TMESH level_modelwall_001 = { - level_modelwall_001_mesh, - level_modelwall_001_normal, - level_modelwall_001_uv, - level_modelwall_001_color, +TMESH level0_modelwall_001 = { + level0_modelwall_001_mesh, + level0_modelwall_001_normal, + level0_modelwall_001_uv, + level0_modelwall_001_color, 20 }; -MESH level_meshwall_001 = { - &level_modelwall_001, - level_modelwall_001_index, - &tim_home, +MESH level0_meshwall_001 = { + &level0_modelwall_001, + level0_modelwall_001_index, + &level0_tim_home, _binary_TIM_home_tim_start, - &level_modelwall_001_matrix, - &level_modelwall_001_pos, - &level_modelwall_001_rot, - &level_modelwall_001_isRigidBody, - &level_modelwall_001_isStaticBody, - &level_modelwall_001_isPrism, - &level_modelwall_001_isAnim, - &level_modelwall_001_isActor, - &level_modelwall_001_isLevel, - &level_modelwall_001_isBG, - &level_modelwall_001_isSprite, - &level_modelwall_001_p, - &level_modelwall_001_OTz, - &level_modelwall_001_body, + {0}, + {0,-1,0, 0}, + {0,0,0}, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + &level0_modelwall_001_body, 0, 0, 0 }; -SVECTOR level_modelwall_002_mesh[] = { +SVECTOR level0_modelwall_002_mesh[] = { { -92,-97,194 }, { -92,0,194 }, { -92,-195,194 }, @@ -4976,7 +4820,7 @@ SVECTOR level_modelwall_002_mesh[] = { { -92,-195,682 } }; -SVECTOR level_modelwall_002_normal[] = { +SVECTOR level0_modelwall_002_normal[] = { -4096,0,0, 0, -4096,0,0, 0, -4096,0,0, 0, @@ -4997,70 +4841,70 @@ SVECTOR level_modelwall_002_normal[] = { -4096,0,0, 0 }; -SVECTOR level_modelwall_002_uv[] = { - 64,191, 0, 0, - 0,128, 0, 0, - 0,191, 0, 0, - 64,191, 0, 0, - 64,128, 0, 0, - 0,128, 0, 0, - 255,64, 0, 0, - 191,0, 0, 0, +SVECTOR level0_modelwall_002_uv[] = { 191,64, 0, 0, - 255,64, 0, 0, - 255,0, 0, 0, - 191,0, 0, 0, - 64,191, 0, 0, - 0,128, 0, 0, - 0,191, 0, 0, + 127,0, 0, 0, + 127,64, 0, 0, 191,64, 0, 0, - 255,0, 0, 0, 191,0, 0, 0, - 64,191, 0, 0, - 64,128, 0, 0, - 0,128, 0, 0, + 127,0, 0, 0, + 64,64, 0, 0, + 0,0, 0, 0, + 0,64, 0, 0, + 64,64, 0, 0, + 64,0, 0, 0, + 0,0, 0, 0, 191,64, 0, 0, - 255,64, 0, 0, - 255,0, 0, 0, - 64,191, 0, 0, - 0,128, 0, 0, - 0,191, 0, 0, - 255,64, 0, 0, - 191,0, 0, 0, + 127,0, 0, 0, + 127,64, 0, 0, + 0,64, 0, 0, + 64,0, 0, 0, + 0,0, 0, 0, 191,64, 0, 0, - 64,191, 0, 0, - 64,128, 0, 0, - 0,128, 0, 0, - 255,64, 0, 0, - 255,0, 0, 0, - 191,0, 0, 0, - 64,191, 0, 0, - 0,128, 0, 0, - 0,191, 0, 0, - 255,64, 0, 0, 191,0, 0, 0, + 127,0, 0, 0, + 0,64, 0, 0, + 64,64, 0, 0, + 64,0, 0, 0, 191,64, 0, 0, - 64,191, 0, 0, - 64,128, 0, 0, - 0,128, 0, 0, - 255,64, 0, 0, - 255,0, 0, 0, - 191,0, 0, 0, - 64,191, 0, 0, - 0,128, 0, 0, - 0,191, 0, 0, - 255,64, 0, 0, - 191,0, 0, 0, + 127,0, 0, 0, + 127,64, 0, 0, + 64,64, 0, 0, + 0,0, 0, 0, + 0,64, 0, 0, 191,64, 0, 0, - 64,191, 0, 0, - 64,128, 0, 0, - 0,128, 0, 0, - 255,64, 0, 0, - 255,0, 0, 0, - 191,0, 0, 0 + 191,0, 0, 0, + 127,0, 0, 0, + 64,64, 0, 0, + 64,0, 0, 0, + 0,0, 0, 0, + 191,64, 0, 0, + 127,0, 0, 0, + 127,64, 0, 0, + 64,64, 0, 0, + 0,0, 0, 0, + 0,64, 0, 0, + 191,64, 0, 0, + 191,0, 0, 0, + 127,0, 0, 0, + 64,64, 0, 0, + 64,0, 0, 0, + 0,0, 0, 0, + 191,64, 0, 0, + 127,0, 0, 0, + 127,64, 0, 0, + 64,64, 0, 0, + 0,0, 0, 0, + 0,64, 0, 0, + 191,64, 0, 0, + 191,0, 0, 0, + 127,0, 0, 0, + 64,64, 0, 0, + 64,0, 0, 0, + 0,0, 0, 0 }; -CVECTOR level_modelwall_002_color[] = { +CVECTOR level0_modelwall_002_color[] = { 80, 80, 80, 0, 128, 128, 128, 0, 128, 128, 128, 0, @@ -5123,7 +4967,7 @@ CVECTOR level_modelwall_002_color[] = { 128, 128, 128, 0 }; -PRIM level_modelwall_002_index[] = { +PRIM level0_modelwall_002_index[] = { 3,2,0,0,4, 3,5,2,0,4, 4,0,1,0,4, @@ -5146,20 +4990,7 @@ PRIM level_modelwall_002_index[] = { 16,15,12,0,4 }; -MATRIX level_modelwall_002_matrix = {0}; -VECTOR level_modelwall_002_pos = {0,0,0, 0}; -SVECTOR level_modelwall_002_rot = {0,0,0}; -short level_modelwall_002_isRigidBody = 0; -short level_modelwall_002_isStaticBody = 0; -short level_modelwall_002_isPrism = 0; -short level_modelwall_002_isAnim = 0; -short level_modelwall_002_isActor = 0; -short level_modelwall_002_isLevel = 0; -short level_modelwall_002_isBG = 0; -short level_modelwall_002_isSprite = 0; -long level_modelwall_002_p = 0; -long level_modelwall_002_OTz = 0; -BODY level_modelwall_002_body = { +BODY level0_modelwall_002_body = { {0, 0, 0, 0}, 0,0,0, 0, 0,0,0, 0, @@ -5170,39 +5001,39 @@ BODY level_modelwall_002_body = { 0, }; -TMESH level_modelwall_002 = { - level_modelwall_002_mesh, - level_modelwall_002_normal, - level_modelwall_002_uv, - level_modelwall_002_color, +TMESH level0_modelwall_002 = { + level0_modelwall_002_mesh, + level0_modelwall_002_normal, + level0_modelwall_002_uv, + level0_modelwall_002_color, 20 }; -MESH level_meshwall_002 = { - &level_modelwall_002, - level_modelwall_002_index, - &tim_home, +MESH level0_meshwall_002 = { + &level0_modelwall_002, + level0_modelwall_002_index, + &level0_tim_home, _binary_TIM_home_tim_start, - &level_modelwall_002_matrix, - &level_modelwall_002_pos, - &level_modelwall_002_rot, - &level_modelwall_002_isRigidBody, - &level_modelwall_002_isStaticBody, - &level_modelwall_002_isPrism, - &level_modelwall_002_isAnim, - &level_modelwall_002_isActor, - &level_modelwall_002_isLevel, - &level_modelwall_002_isBG, - &level_modelwall_002_isSprite, - &level_modelwall_002_p, - &level_modelwall_002_OTz, - &level_modelwall_002_body, + {0}, + {0,0,0, 0}, + {0,0,0}, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + &level0_modelwall_002_body, 0, 0, 0 }; -SVECTOR level_modelwall_003_mesh[] = { +SVECTOR level0_modelwall_003_mesh[] = { { 200,-97,682 }, { 103,-97,682 }, { 200,0,682 }, @@ -5217,7 +5048,7 @@ SVECTOR level_modelwall_003_mesh[] = { { -92,-195,682 } }; -SVECTOR level_modelwall_003_normal[] = { +SVECTOR level0_modelwall_003_normal[] = { 0,0,4096, 0, 0,0,4096, 0, 0,0,4096, 0, @@ -5232,7 +5063,7 @@ SVECTOR level_modelwall_003_normal[] = { 0,0,4096, 0 }; -SVECTOR level_modelwall_003_uv[] = { +SVECTOR level0_modelwall_003_uv[] = { 64,191, 0, 0, 0,128, 0, 0, 64,128, 0, 0, @@ -5271,7 +5102,7 @@ SVECTOR level_modelwall_003_uv[] = { 191,0, 0, 0 }; -CVECTOR level_modelwall_003_color[] = { +CVECTOR level0_modelwall_003_color[] = { 80, 80, 80, 0, 128, 128, 128, 0, 128, 128, 128, 0, @@ -5310,7 +5141,7 @@ CVECTOR level_modelwall_003_color[] = { 128, 128, 128, 0 }; -PRIM level_modelwall_003_index[] = { +PRIM level0_modelwall_003_index[] = { 6,5,8,0,4, 6,1,5,0,4, 1,3,5,0,4, @@ -5325,20 +5156,7 @@ PRIM level_modelwall_003_index[] = { 4,2,0,0,4 }; -MATRIX level_modelwall_003_matrix = {0}; -VECTOR level_modelwall_003_pos = {0,0,-1, 0}; -SVECTOR level_modelwall_003_rot = {0,0,0}; -short level_modelwall_003_isRigidBody = 0; -short level_modelwall_003_isStaticBody = 0; -short level_modelwall_003_isPrism = 0; -short level_modelwall_003_isAnim = 0; -short level_modelwall_003_isActor = 0; -short level_modelwall_003_isLevel = 0; -short level_modelwall_003_isBG = 0; -short level_modelwall_003_isSprite = 0; -long level_modelwall_003_p = 0; -long level_modelwall_003_OTz = 0; -BODY level_modelwall_003_body = { +BODY level0_modelwall_003_body = { {0, 0, 0, 0}, 0,0,-1, 0, 0,0,0, 0, @@ -5349,59 +5167,59 @@ BODY level_modelwall_003_body = { 0, }; -TMESH level_modelwall_003 = { - level_modelwall_003_mesh, - level_modelwall_003_normal, - level_modelwall_003_uv, - level_modelwall_003_color, +TMESH level0_modelwall_003 = { + level0_modelwall_003_mesh, + level0_modelwall_003_normal, + level0_modelwall_003_uv, + level0_modelwall_003_color, 12 }; -MESH level_meshwall_003 = { - &level_modelwall_003, - level_modelwall_003_index, - &tim_home, +MESH level0_meshwall_003 = { + &level0_modelwall_003, + level0_modelwall_003_index, + &level0_tim_home, _binary_TIM_home_tim_start, - &level_modelwall_003_matrix, - &level_modelwall_003_pos, - &level_modelwall_003_rot, - &level_modelwall_003_isRigidBody, - &level_modelwall_003_isStaticBody, - &level_modelwall_003_isPrism, - &level_modelwall_003_isAnim, - &level_modelwall_003_isActor, - &level_modelwall_003_isLevel, - &level_modelwall_003_isBG, - &level_modelwall_003_isSprite, - &level_modelwall_003_p, - &level_modelwall_003_OTz, - &level_modelwall_003_body, + {0}, + {0,0,-1, 0}, + {0,0,0}, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + &level0_modelwall_003_body, 0, 0, 0 }; -MESH * level_meshes[14] = { - &level_meshCube, - &level_meshCylindre, - &level_meshgnd, - &level_meshgnd_001, - &level_meshgnd_003, - &level_meshgnd_002, - &level_meshobject, - &level_meshPlan, - &level_meshSphere, - &level_meshSphere_001, - &level_meshwall, - &level_meshwall_001, - &level_meshwall_002, - &level_meshwall_003 +MESH * level0_meshes[14] = { + &level0_meshCube, + &level0_meshCylindre, + &level0_meshgnd, + &level0_meshgnd_001, + &level0_meshgnd_003, + &level0_meshgnd_002, + &level0_meshobject, + &level0_meshPlan, + &level0_meshSphere, + &level0_meshSphere_001, + &level0_meshwall, + &level0_meshwall_001, + &level0_meshwall_002, + &level0_meshwall_003 }; -int level_meshes_length = 14; +int level0_meshes_length = 14; -CAMANGLE level_camAngle_camPath_001 = { - &level_camPos_camPath_001, +CAMANGLE level0_camAngle_camPath_001 = { + &level0_camPos_camPath_001, 0, 0, { 0 }, @@ -5410,137 +5228,153 @@ CAMANGLE level_camAngle_camPath_001 = { 0 }; -CAMANGLE * level_camAngles[0] = { +CAMANGLE * level0_camAngles[0] = { }; -SIBLINGS level_nodegnd_003_siblings = { - 1, +SIBLINGS level0_nodegnd_siblings = { + 3, { - &level_nodegnd + &level0_nodegnd_002, + &level0_nodegnd_003, + &level0_nodegnd_001 } }; -CHILDREN level_nodegnd_003_objects = { +CHILDREN level0_nodegnd_objects = { + 4, + { + &level0_meshwall, + &level0_meshSphere_001, + &level0_meshCube, + &level0_meshwall_001 + } +}; + +CHILDREN level0_nodegnd_rigidbodies = { + 2, + { + &level0_meshSphere, + &level0_meshSphere_001 + } +}; + +NODE level0_nodegnd = { + &level0_meshgnd, + &level0_nodegnd_siblings, + &level0_nodegnd_objects, + &level0_nodegnd_rigidbodies +}; + +SIBLINGS level0_nodegnd_001_siblings = { + 1, + { + &level0_nodegnd + } +}; + +CHILDREN level0_nodegnd_001_objects = { + 4, + { + &level0_meshCylindre, + &level0_meshwall_003, + &level0_meshPlan, + &level0_meshwall_002 + } +}; + +CHILDREN level0_nodegnd_001_rigidbodies = { + 2, + { + &level0_meshSphere, + &level0_meshSphere_001 + } +}; + +NODE level0_nodegnd_001 = { + &level0_meshgnd_001, + &level0_nodegnd_001_siblings, + &level0_nodegnd_001_objects, + &level0_nodegnd_001_rigidbodies +}; + +SIBLINGS level0_nodegnd_002_siblings = { + 1, + { + &level0_nodegnd + } +}; + +CHILDREN level0_nodegnd_002_objects = { + 1, + { + &level0_meshobject + } +}; + +CHILDREN level0_nodegnd_002_rigidbodies = { + 2, + { + &level0_meshSphere, + &level0_meshSphere_001 + } +}; + +NODE level0_nodegnd_002 = { + &level0_meshgnd_002, + &level0_nodegnd_002_siblings, + &level0_nodegnd_002_objects, + &level0_nodegnd_002_rigidbodies +}; + +SIBLINGS level0_nodegnd_003_siblings = { + 1, + { + &level0_nodegnd + } +}; + +CHILDREN level0_nodegnd_003_objects = { 0, { 0 } }; -CHILDREN level_nodegnd_003_rigidbodies = { +CHILDREN level0_nodegnd_003_rigidbodies = { 2, { - &level_meshSphere, - &level_meshSphere_001 + &level0_meshSphere, + &level0_meshSphere_001 } }; -NODE level_nodegnd_003 = { - &level_meshgnd_003, - &level_nodegnd_003_siblings, - &level_nodegnd_003_objects, - &level_nodegnd_003_rigidbodies +NODE level0_nodegnd_003 = { + &level0_meshgnd_003, + &level0_nodegnd_003_siblings, + &level0_nodegnd_003_objects, + &level0_nodegnd_003_rigidbodies }; -SIBLINGS level_nodegnd_001_siblings = { - 1, - { - &level_nodegnd - } +MESH * level0_actorPtr = &level0_meshSphere; +MESH * level0_levelPtr = &level0_meshgnd; +MESH * level0_propPtr = &level0_meshSphere_001; + +CAMANGLE * level0_camPtr = &level0_camAngle_camPath_001; + +NODE * level0_curNode = &level0_nodegnd; + +LEVEL level0 = { + &level0_cmat, + &level0_lgtmat, + &level0_meshes, + &level0_meshes_length, + &level0_meshSphere, + &level0_meshgnd, + &level0_meshSphere_001, + &level0_camAngle_camPath_001, + &level0_camPath, + &level0_camAngles, + &level0_nodegnd, + &level0_meshPlan }; -CHILDREN level_nodegnd_001_objects = { - 3, - { - &level_meshwall_002, - &level_meshwall_003, - &level_meshCylindre - } -}; - -CHILDREN level_nodegnd_001_rigidbodies = { - 2, - { - &level_meshSphere, - &level_meshSphere_001 - } -}; - -NODE level_nodegnd_001 = { - &level_meshgnd_001, - &level_nodegnd_001_siblings, - &level_nodegnd_001_objects, - &level_nodegnd_001_rigidbodies -}; - -SIBLINGS level_nodegnd_002_siblings = { - 1, - { - &level_nodegnd - } -}; - -CHILDREN level_nodegnd_002_objects = { - 1, - { - &level_meshobject - } -}; - -CHILDREN level_nodegnd_002_rigidbodies = { - 2, - { - &level_meshSphere, - &level_meshSphere_001 - } -}; - -NODE level_nodegnd_002 = { - &level_meshgnd_002, - &level_nodegnd_002_siblings, - &level_nodegnd_002_objects, - &level_nodegnd_002_rigidbodies -}; - -SIBLINGS level_nodegnd_siblings = { - 3, - { - &level_nodegnd_003, - &level_nodegnd_002, - &level_nodegnd_001 - } -}; - -CHILDREN level_nodegnd_objects = { - 5, - { - &level_meshPlan, - &level_meshwall_001, - &level_meshwall, - &level_meshSphere_001, - &level_meshCube - } -}; - -CHILDREN level_nodegnd_rigidbodies = { - 2, - { - &level_meshSphere, - &level_meshSphere_001 - } -}; - -NODE level_nodegnd = { - &level_meshgnd, - &level_nodegnd_siblings, - &level_nodegnd_objects, - &level_nodegnd_rigidbodies -}; - -MESH * level_actorPtr = &level_meshSphere; -MESH * level_levelPtr = &level_meshgnd_002; -MESH * level_propPtr = &level_meshSphere_001; - -CAMANGLE * level_camPtr = &level_camAngle_camPath_001; - -NODE * level_curNode = &level_nodegnd_002; diff --git a/levels/level0.h b/levels/level0.h new file mode 100644 index 0000000..382f784 --- /dev/null +++ b/levels/level0.h @@ -0,0 +1,324 @@ +#pragma once + +#include "../custom_types.h" + +extern LEVEL level0; + +extern CAMPOS level0_camPos_camPath; + +extern CAMPOS level0_camPos_camPath_001; + +extern CAMPOS level0_camPos_camPath_002; + +extern CAMPOS level0_camPos_camPath_003; + +extern CAMPOS level0_camPos_camPath_004; + +extern CAMPOS level0_camPos_camPath_005; + +extern CAMPATH level0_camPath; + +extern MATRIX level0_lgtmat; + +extern MATRIX level0_cmat; + +extern SVECTOR modelCube_mesh[]; + +extern SVECTOR level0_modelCube_normal[]; + +extern SVECTOR level0_modelCube_uv[]; + +extern CVECTOR level0_modelCube_color[]; + +extern PRIM level0_modelCube_index[]; + +extern BODY level0_modelCube_body; + +extern TMESH level0_modelCube; + +extern unsigned long _binary_TIM_cat_tim_start[]; + +extern unsigned long _binary_TIM_cat_tim_end[]; + +extern unsigned long _binary_TIM_cat_tim_length; + +extern TIM_IMAGE level0_tim_cat; + +extern MESH level0_meshCube; + +extern SVECTOR modelCylindre_mesh[]; + +extern SVECTOR level0_modelCylindre_normal[]; + +extern SVECTOR level0_modelCylindre_uv[]; + +extern CVECTOR level0_modelCylindre_color[]; + +extern PRIM level0_modelCylindre_index[]; + +extern VANIM level0_modelCylindre_anim; + +extern BODY level0_modelCylindre_body; + +extern TMESH level0_modelCylindre; + +extern unsigned long _binary_TIM_home_tim_start[]; + +extern unsigned long _binary_TIM_home_tim_end[]; + +extern unsigned long _binary_TIM_home_tim_length; + +extern TIM_IMAGE level0_tim_home; + +extern MESH level0_meshCylindre; + +extern SVECTOR modelgnd_mesh[]; + +extern SVECTOR level0_modelgnd_normal[]; + +extern SVECTOR level0_modelgnd_uv[]; + +extern CVECTOR level0_modelgnd_color[]; + +extern PRIM level0_modelgnd_index[]; + +extern BODY level0_modelgnd_body; + +extern TMESH level0_modelgnd; + +extern MESH level0_meshgnd; + +extern SVECTOR modelgnd_001_mesh[]; + +extern SVECTOR level0_modelgnd_001_normal[]; + +extern SVECTOR level0_modelgnd_001_uv[]; + +extern CVECTOR level0_modelgnd_001_color[]; + +extern PRIM level0_modelgnd_001_index[]; + +extern BODY level0_modelgnd_001_body; + +extern TMESH level0_modelgnd_001; + +extern MESH level0_meshgnd_001; + +extern SVECTOR modelgnd_003_mesh[]; + +extern SVECTOR level0_modelgnd_003_normal[]; + +extern SVECTOR level0_modelgnd_003_uv[]; + +extern CVECTOR level0_modelgnd_003_color[]; + +extern PRIM level0_modelgnd_003_index[]; + +extern BODY level0_modelgnd_003_body; + +extern TMESH level0_modelgnd_003; + +extern MESH level0_meshgnd_003; + +extern SVECTOR modelgnd_002_mesh[]; + +extern SVECTOR level0_modelgnd_002_normal[]; + +extern SVECTOR level0_modelgnd_002_uv[]; + +extern CVECTOR level0_modelgnd_002_color[]; + +extern PRIM level0_modelgnd_002_index[]; + +extern BODY level0_modelgnd_002_body; + +extern TMESH level0_modelgnd_002; + +extern MESH level0_meshgnd_002; + +extern SVECTOR modelobject_mesh[]; + +extern SVECTOR level0_modelobject_normal[]; + +extern SVECTOR level0_modelobject_uv[]; + +extern CVECTOR level0_modelobject_color[]; + +extern PRIM level0_modelobject_index[]; + +extern BODY level0_modelobject_body; + +extern TMESH level0_modelobject; + +extern MESH level0_meshobject; + +extern SVECTOR modelPlan_mesh[]; + +extern SVECTOR level0_modelPlan_normal[]; + +extern SVECTOR level0_modelPlan_uv[]; + +extern CVECTOR level0_modelPlan_color[]; + +extern PRIM level0_modelPlan_index[]; + +extern BODY level0_modelPlan_body; + +extern TMESH level0_modelPlan; + +extern MESH level0_meshPlan; + +extern SVECTOR modelSphere_mesh[]; + +extern SVECTOR level0_modelSphere_normal[]; + +extern SVECTOR level0_modelSphere_uv[]; + +extern CVECTOR level0_modelSphere_color[]; + +extern PRIM level0_modelSphere_index[]; + +extern BODY level0_modelSphere_body; + +extern TMESH level0_modelSphere; + +extern MESH level0_meshSphere; + +extern SVECTOR modelSphere_001_mesh[]; + +extern SVECTOR level0_modelSphere_001_normal[]; + +extern SVECTOR level0_modelSphere_001_uv[]; + +extern CVECTOR level0_modelSphere_001_color[]; + +extern PRIM level0_modelSphere_001_index[]; + +extern BODY level0_modelSphere_001_body; + +extern TMESH level0_modelSphere_001; + +extern MESH level0_meshSphere_001; + +extern SVECTOR modelwall_mesh[]; + +extern SVECTOR level0_modelwall_normal[]; + +extern SVECTOR level0_modelwall_uv[]; + +extern CVECTOR level0_modelwall_color[]; + +extern PRIM level0_modelwall_index[]; + +extern BODY level0_modelwall_body; + +extern TMESH level0_modelwall; + +extern MESH level0_meshwall; + +extern SVECTOR modelwall_001_mesh[]; + +extern SVECTOR level0_modelwall_001_normal[]; + +extern SVECTOR level0_modelwall_001_uv[]; + +extern CVECTOR level0_modelwall_001_color[]; + +extern PRIM level0_modelwall_001_index[]; + +extern BODY level0_modelwall_001_body; + +extern TMESH level0_modelwall_001; + +extern MESH level0_meshwall_001; + +extern SVECTOR modelwall_002_mesh[]; + +extern SVECTOR level0_modelwall_002_normal[]; + +extern SVECTOR level0_modelwall_002_uv[]; + +extern CVECTOR level0_modelwall_002_color[]; + +extern PRIM level0_modelwall_002_index[]; + +extern BODY level0_modelwall_002_body; + +extern TMESH level0_modelwall_002; + +extern MESH level0_meshwall_002; + +extern SVECTOR modelwall_003_mesh[]; + +extern SVECTOR level0_modelwall_003_normal[]; + +extern SVECTOR level0_modelwall_003_uv[]; + +extern CVECTOR level0_modelwall_003_color[]; + +extern PRIM level0_modelwall_003_index[]; + +extern BODY level0_modelwall_003_body; + +extern TMESH level0_modelwall_003; + +extern MESH level0_meshwall_003; + +extern MESH * level0_meshes[14]; + +extern int level0_meshes_length; + +extern CAMANGLE level0_camAngle_camPath_001; + +extern CAMANGLE * level0_camAngles[0]; + +extern SIBLINGS level0_nodegnd_siblings; + +extern CHILDREN level0_nodegnd_objects; + +extern CHILDREN level0_nodegnd_rigidbodies; + +extern NODE level0_nodegnd; + +extern SIBLINGS level0_nodegnd_001_siblings; + +extern CHILDREN level0_nodegnd_001_objects; + +extern CHILDREN level0_nodegnd_001_rigidbodies; + +extern NODE level0_nodegnd_001; + +extern SIBLINGS level0_nodegnd_002_siblings; + +extern CHILDREN level0_nodegnd_002_objects; + +extern CHILDREN level0_nodegnd_002_rigidbodies; + +extern NODE level0_nodegnd_002; + +extern SIBLINGS level0_nodegnd_003_siblings; + +extern CHILDREN level0_nodegnd_003_objects; + +extern CHILDREN level0_nodegnd_003_rigidbodies; + +extern NODE level0_nodegnd_003; + +extern MESH * level0_actorPtr; + +extern MESH * level0_levelPtr; + +extern MESH * level0_propPtr; + +extern CAMANGLE * level0_camPtr; + +extern NODE * level0_curNode; + +extern NODE level0_nodegnd; + +extern NODE level0_nodegnd_001; + +extern NODE level0_nodegnd_002; + +extern NODE level0_nodegnd_003; + diff --git a/levels/level1.c b/levels/level1.c index a237ce9..00e33c2 100644 --- a/levels/level1.c +++ b/levels/level1.c @@ -1,7 +1,5 @@ #include "level1.h" -NODE level1_nodegnd; - CAMPOS level1_camPos_camPath = { { -205,156,-17 }, { 371,707,0 } @@ -940,19 +938,6 @@ PRIM level1_modelCube_index[] = { 49,28,3,0,4 }; -MATRIX level1_modelCube_matrix = {0}; -VECTOR level1_modelCube_pos = {-282,-45,128, 0}; -SVECTOR level1_modelCube_rot = {0,899,0}; -short level1_modelCube_isRigidBody = 0; -short level1_modelCube_isStaticBody = 1; -short level1_modelCube_isPrism = 0; -short level1_modelCube_isAnim = 0; -short level1_modelCube_isActor = 0; -short level1_modelCube_isLevel = 0; -short level1_modelCube_isBG = 0; -short level1_modelCube_isSprite = 0; -long level1_modelCube_p = 0; -long level1_modelCube_OTz = 0; BODY level1_modelCube_body = { {0, 0, 0, 0}, -282,-45,128, 0, @@ -983,19 +968,19 @@ MESH level1_meshCube = { level1_modelCube_index, &level1_tim_cat, _binary_TIM_cat_tim_start, - &level1_modelCube_matrix, - &level1_modelCube_pos, - &level1_modelCube_rot, - &level1_modelCube_isRigidBody, - &level1_modelCube_isStaticBody, - &level1_modelCube_isPrism, - &level1_modelCube_isAnim, - &level1_modelCube_isActor, - &level1_modelCube_isLevel, - &level1_modelCube_isBG, - &level1_modelCube_isSprite, - &level1_modelCube_p, - &level1_modelCube_OTz, + {0}, + {-282,-45,128, 0}, + {0,899,0}, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, &level1_modelCube_body, 0, 0, @@ -1795,19 +1780,6 @@ VANIM level1_modelCylindre_anim = { } }; -MATRIX level1_modelCylindre_matrix = {0}; -VECTOR level1_modelCylindre_pos = {-1,-57,523, 0}; -SVECTOR level1_modelCylindre_rot = {0,0,0}; -short level1_modelCylindre_isRigidBody = 0; -short level1_modelCylindre_isStaticBody = 1; -short level1_modelCylindre_isPrism = 0; -short level1_modelCylindre_isAnim = 1; -short level1_modelCylindre_isActor = 0; -short level1_modelCylindre_isLevel = 0; -short level1_modelCylindre_isBG = 0; -short level1_modelCylindre_isSprite = 0; -long level1_modelCylindre_p = 0; -long level1_modelCylindre_OTz = 0; BODY level1_modelCylindre_body = { {0, 0, 0, 0}, -1,-57,523, 0, @@ -1838,19 +1810,19 @@ MESH level1_meshCylindre = { level1_modelCylindre_index, &level1_tim_home, _binary_TIM_home_tim_start, - &level1_modelCylindre_matrix, - &level1_modelCylindre_pos, - &level1_modelCylindre_rot, - &level1_modelCylindre_isRigidBody, - &level1_modelCylindre_isStaticBody, - &level1_modelCylindre_isPrism, - &level1_modelCylindre_isAnim, - &level1_modelCylindre_isActor, - &level1_modelCylindre_isLevel, - &level1_modelCylindre_isBG, - &level1_modelCylindre_isSprite, - &level1_modelCylindre_p, - &level1_modelCylindre_OTz, + {0}, + {-1,-57,523, 0}, + {0,0,0}, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, &level1_modelCylindre_body, &level1_modelCylindre_anim, 0, @@ -2280,19 +2252,6 @@ PRIM level1_modelgnd_index[] = { 35,34,30,0,4 }; -MATRIX level1_modelgnd_matrix = {0}; -VECTOR level1_modelgnd_pos = {0,0,0, 0}; -SVECTOR level1_modelgnd_rot = {0,0,0}; -short level1_modelgnd_isRigidBody = 0; -short level1_modelgnd_isStaticBody = 0; -short level1_modelgnd_isPrism = 0; -short level1_modelgnd_isAnim = 0; -short level1_modelgnd_isActor = 0; -short level1_modelgnd_isLevel = 1; -short level1_modelgnd_isBG = 0; -short level1_modelgnd_isSprite = 0; -long level1_modelgnd_p = 0; -long level1_modelgnd_OTz = 0; BODY level1_modelgnd_body = { {0, 0, 0, 0}, 0,0,0, 0, @@ -2317,19 +2276,19 @@ MESH level1_meshgnd = { level1_modelgnd_index, &level1_tim_home, _binary_TIM_home_tim_start, - &level1_modelgnd_matrix, - &level1_modelgnd_pos, - &level1_modelgnd_rot, - &level1_modelgnd_isRigidBody, - &level1_modelgnd_isStaticBody, - &level1_modelgnd_isPrism, - &level1_modelgnd_isAnim, - &level1_modelgnd_isActor, - &level1_modelgnd_isLevel, - &level1_modelgnd_isBG, - &level1_modelgnd_isSprite, - &level1_modelgnd_p, - &level1_modelgnd_OTz, + {0}, + {0,0,0, 0}, + {0,0,0}, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, &level1_modelgnd_body, 0, 0, @@ -2609,19 +2568,6 @@ PRIM level1_modelgnd_001_index[] = { 21,16,20,0,4 }; -MATRIX level1_modelgnd_001_matrix = {0}; -VECTOR level1_modelgnd_001_pos = {0,0,0, 0}; -SVECTOR level1_modelgnd_001_rot = {0,0,0}; -short level1_modelgnd_001_isRigidBody = 0; -short level1_modelgnd_001_isStaticBody = 0; -short level1_modelgnd_001_isPrism = 0; -short level1_modelgnd_001_isAnim = 0; -short level1_modelgnd_001_isActor = 0; -short level1_modelgnd_001_isLevel = 1; -short level1_modelgnd_001_isBG = 0; -short level1_modelgnd_001_isSprite = 0; -long level1_modelgnd_001_p = 0; -long level1_modelgnd_001_OTz = 0; BODY level1_modelgnd_001_body = { {0, 0, 0, 0}, 0,0,0, 0, @@ -2646,19 +2592,19 @@ MESH level1_meshgnd_001 = { level1_modelgnd_001_index, &level1_tim_home, _binary_TIM_home_tim_start, - &level1_modelgnd_001_matrix, - &level1_modelgnd_001_pos, - &level1_modelgnd_001_rot, - &level1_modelgnd_001_isRigidBody, - &level1_modelgnd_001_isStaticBody, - &level1_modelgnd_001_isPrism, - &level1_modelgnd_001_isAnim, - &level1_modelgnd_001_isActor, - &level1_modelgnd_001_isLevel, - &level1_modelgnd_001_isBG, - &level1_modelgnd_001_isSprite, - &level1_modelgnd_001_p, - &level1_modelgnd_001_OTz, + {0}, + {0,0,0, 0}, + {0,0,0}, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, &level1_modelgnd_001_body, 0, 0, @@ -2938,19 +2884,6 @@ PRIM level1_modelgnd_003_index[] = { 21,16,20,0,4 }; -MATRIX level1_modelgnd_003_matrix = {0}; -VECTOR level1_modelgnd_003_pos = {0,0,0, 0}; -SVECTOR level1_modelgnd_003_rot = {0,0,0}; -short level1_modelgnd_003_isRigidBody = 0; -short level1_modelgnd_003_isStaticBody = 0; -short level1_modelgnd_003_isPrism = 0; -short level1_modelgnd_003_isAnim = 0; -short level1_modelgnd_003_isActor = 0; -short level1_modelgnd_003_isLevel = 1; -short level1_modelgnd_003_isBG = 0; -short level1_modelgnd_003_isSprite = 0; -long level1_modelgnd_003_p = 0; -long level1_modelgnd_003_OTz = 0; BODY level1_modelgnd_003_body = { {0, 0, 0, 0}, 0,0,0, 0, @@ -2975,19 +2908,19 @@ MESH level1_meshgnd_003 = { level1_modelgnd_003_index, &level1_tim_home, _binary_TIM_home_tim_start, - &level1_modelgnd_003_matrix, - &level1_modelgnd_003_pos, - &level1_modelgnd_003_rot, - &level1_modelgnd_003_isRigidBody, - &level1_modelgnd_003_isStaticBody, - &level1_modelgnd_003_isPrism, - &level1_modelgnd_003_isAnim, - &level1_modelgnd_003_isActor, - &level1_modelgnd_003_isLevel, - &level1_modelgnd_003_isBG, - &level1_modelgnd_003_isSprite, - &level1_modelgnd_003_p, - &level1_modelgnd_003_OTz, + {0}, + {0,0,0, 0}, + {0,0,0}, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, &level1_modelgnd_003_body, 0, 0, @@ -3267,19 +3200,6 @@ PRIM level1_modelgnd_002_index[] = { 21,16,20,0,4 }; -MATRIX level1_modelgnd_002_matrix = {0}; -VECTOR level1_modelgnd_002_pos = {0,0,0, 0}; -SVECTOR level1_modelgnd_002_rot = {0,0,0}; -short level1_modelgnd_002_isRigidBody = 0; -short level1_modelgnd_002_isStaticBody = 0; -short level1_modelgnd_002_isPrism = 0; -short level1_modelgnd_002_isAnim = 0; -short level1_modelgnd_002_isActor = 0; -short level1_modelgnd_002_isLevel = 1; -short level1_modelgnd_002_isBG = 0; -short level1_modelgnd_002_isSprite = 0; -long level1_modelgnd_002_p = 0; -long level1_modelgnd_002_OTz = 0; BODY level1_modelgnd_002_body = { {0, 0, 0, 0}, 0,0,0, 0, @@ -3304,25 +3224,5635 @@ MESH level1_meshgnd_002 = { level1_modelgnd_002_index, &level1_tim_home, _binary_TIM_home_tim_start, - &level1_modelgnd_002_matrix, - &level1_modelgnd_002_pos, - &level1_modelgnd_002_rot, - &level1_modelgnd_002_isRigidBody, - &level1_modelgnd_002_isStaticBody, - &level1_modelgnd_002_isPrism, - &level1_modelgnd_002_isAnim, - &level1_modelgnd_002_isActor, - &level1_modelgnd_002_isLevel, - &level1_modelgnd_002_isBG, - &level1_modelgnd_002_isSprite, - &level1_modelgnd_002_p, - &level1_modelgnd_002_OTz, + {0}, + {0,0,0, 0}, + {0,0,0}, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, &level1_modelgnd_002_body, 0, 0, 0 }; +SVECTOR level1_modelLara_mesh[] = { + { 5,-78,12 }, + { 9,-75,11 }, + { 8,-69,11 }, + { 6,-74,9 }, + { 0,-75,12 }, + { 10,-70,8 }, + { 0,-75,12 }, + { 8,-66,10 }, + { 0,-68,14 }, + { -4,-78,11 }, + { 8,-64,10 }, + { 0,-66,14 }, + { 7,-63,11 }, + { 0,-64,13 }, + { 0,-61,16 }, + { 3,-61,13 }, + { 0,-60,14 }, + { 0,-79,2 }, + { -5,-74,9 }, + { -8,-75,10 }, + { 7,-76,-2 }, + { 8,-66,3 }, + { -3,-60,13 }, + { -7,-68,11 }, + { -7,-66,10 }, + { 8,-66,-1 }, + { 3,-54,10 }, + { -7,-63,11 }, + { -7,-64,10 }, + { -9,-70,8 }, + { 0,-53,12 }, + { 2,-78,-4 }, + { 9,-67,-4 }, + { -2,-54,10 }, + { 8,-38,16 }, + { 11,-37,14 }, + { 10,-40,12 }, + { -2,-78,-4 }, + { 13,-48,4 }, + { 11,-40,10 }, + { 6,-57,1 }, + { 10,-35,15 }, + { 6,-41,12 }, + { 13,-46,4 }, + { -7,-76,-2 }, + { 12,-42,7 }, + { 14,-42,5 }, + { -7,-66,3 }, + { 13,-36,11 }, + { 6,-42,9 }, + { 2,-57,1 }, + { 18,-44,1 }, + { 6,-34,16 }, + { 4,-73,-9 }, + { 5,-44,8 }, + { 13,-47,0 }, + { 11,-32,12 }, + { 10,-45,2 }, + { 12,-35,8 }, + { 3,-49,3 }, + { 10,-42,3 }, + { -3,-57,1 }, + { -7,-66,-1 }, + { 3,-55,-1 }, + { 15,-45,-2 }, + { 13,-48,-4 }, + { -4,-73,-9 }, + { 6,-31,13 }, + { 4,-67,-11 }, + { -6,-57,1 }, + { 2,-57,-5 }, + { 11,-31,9 }, + { 10,-44,-1 }, + { 4,-57,-6 }, + { -3,-55,-1 }, + { 4,-59,-8 }, + { -8,-67,-4 }, + { -9,-38,16 }, + { -4,-49,3 }, + { -8,-41,12 }, + { -6,-44,8 }, + { 9,-48,-6 }, + { -8,-42,9 }, + { -3,-57,-5 }, + { 5,-61,-12 }, + { 4,-50,-6 }, + { -8,-34,16 }, + { 7,-29,9 }, + { 9,-48,-8 }, + { 4,-58,-11 }, + { -11,-40,12 }, + { -4,-67,-11 }, + { 2,-66,-15 }, + { -4,-57,-6 }, + { -11,-35,15 }, + { -12,-37,14 }, + { -4,-59,-8 }, + { -12,-40,10 }, + { -2,-66,-15 }, + { 8,-24,8 }, + { -13,-48,4 }, + { -8,-31,13 }, + { 2,-62,-16 }, + { 24,-23,-1 }, + { -13,-42,7 }, + { 26,-25,-4 }, + { -4,-58,-11 }, + { -4,-61,-12 }, + { 2,-57,-14 }, + { -5,-50,-6 }, + { -13,-45,4 }, + { 9,-46,-12 }, + { -11,-45,2 }, + { -10,-42,3 }, + { -14,-36,11 }, + { -12,-32,12 }, + { -2,-62,-16 }, + { 24,-22,-3 }, + { -2,-57,-14 }, + { -13,-46,0 }, + { -15,-42,5 }, + { -8,-29,9 }, + { 20,-22,-3 }, + { 11,-37,-10 }, + { 24,-25,-8 }, + { -13,-35,8 }, + { -9,-48,-6 }, + { -11,-43,-1 }, + { 24,-23,-7 }, + { -12,-31,9 }, + { 23,-22,-5 }, + { -9,-48,-8 }, + { -13,-48,-4 }, + { 10,-30,-7 }, + { 7,-18,6 }, + { 20,-23,-7 }, + { -18,-43,1 }, + { -15,-44,-2 }, + { -8,-24,8 }, + { 9,-12,7 }, + { 9,-30,-10 }, + { 8,-23,-3 }, + { 9,-34,-13 }, + { -9,-46,-12 }, + { 34,-3,-1 }, + { 7,-17,-2 }, + { 35,-4,-4 }, + { -7,-18,6 }, + { 30,-3,-1 }, + { 9,-14,-2 }, + { 7,-4,8 }, + { -11,-37,-10 }, + { 16,-5,2 }, + { 33,-3,-6 }, + { -10,-30,-7 }, + { 39,6,1 }, + { -8,-12,7 }, + { -8,-23,-3 }, + { 30,-2,-6 }, + { -9,-30,-10 }, + { -9,-34,-13 }, + { 22,2,1 }, + { 17,1,2 }, + { -7,-17,-2 }, + { 32,9,1 }, + { -6,-4,8 }, + { 18,4,1 }, + { -8,-14,-2 }, + { 38,6,-7 }, + { 9,6,7 }, + { 21,1,-7 }, + { 13,-7,-10 }, + { -26,-24,-1 }, + { -22,-22,-3 }, + { 16,0,-8 }, + { 32,9,-7 }, + { -22,-23,-7 }, + { -26,-22,-3 }, + { -24,-21,-5 }, + { -29,-25,-5 }, + { -26,-25,-8 }, + { -15,-5,2 }, + { -26,-23,-7 }, + { -8,6,7 }, + { 2,11,1 }, + { -12,-7,-10 }, + { -18,1,2 }, + { 21,20,-1 }, + { 13,5,-15 }, + { -1,11,0 }, + { 18,22,1 }, + { 20,20,-7 }, + { 5,12,-8 }, + { 11,12,-12 }, + { -23,2,1 }, + { -3,11,-6 }, + { -18,6,0 }, + { -17,0,-8 }, + { 11,28,5 }, + { 17,21,-8 }, + { 18,27,-1 }, + { -1,7,-14 }, + { -22,1,-7 }, + { -33,-2,-2 }, + { -35,-3,0 }, + { -35,-3,-3 }, + { -33,-1,-4 }, + { -11,12,-10 }, + { -35,-2,-5 }, + { -15,5,-15 }, + { 4,29,-1 }, + { 16,27,-11 }, + { -34,9,3 }, + { -10,29,5 }, + { -2,29,-1 }, + { -40,6,3 }, + { -18,22,1 }, + { 7,27,-11 }, + { -21,20,-1 }, + { -34,9,-6 }, + { -20,20,-6 }, + { -17,21,-8 }, + { -40,6,-5 }, + { -18,27,-1 }, + { -6,28,-11 }, + { -15,27,-11 }, + { 12,49,0 }, + { 12,47,-3 }, + { 16,49,-4 }, + { 15,48,-9 }, + { 8,49,-5 }, + { 10,49,-9 }, + { 13,57,-1 }, + { 15,56,-3 }, + { 19,56,-5 }, + { 17,54,-9 }, + { 11,57,-3 }, + { 17,54,-11 }, + { -11,49,0 }, + { -7,49,-4 }, + { 14,54,-11 }, + { -9,47,-7 }, + { -15,47,-3 }, + { 8,57,-6 }, + { 9,55,-9 }, + { 10,55,-11 }, + { -14,47,-7 }, + { 14,65,-2 }, + { 18,65,-5 }, + { 22,64,-7 }, + { -12,52,-7 }, + { 20,63,-11 }, + { 19,61,-15 }, + { 11,65,-5 }, + { 15,69,-2 }, + { 18,69,-5 }, + { 21,68,-8 }, + { 14,61,-15 }, + { 20,68,-11 }, + { 12,69,-5 }, + { 7,66,-8 }, + { 8,64,-11 }, + { 10,62,-15 }, + { 19,66,-14 }, + { 15,73,-3 }, + { 18,73,-5 }, + { 21,72,-8 }, + { 14,67,-14 }, + { 8,69,-8 }, + { 20,72,-11 }, + { 12,73,-5 }, + { 9,69,-11 }, + { 11,67,-14 }, + { -13,65,-2 }, + { -6,66,-8 }, + { 19,72,-14 }, + { 10,73,-8 }, + { 15,72,-14 }, + { -9,62,-15 }, + { 11,73,-11 }, + { 12,72,-14 }, + { -21,64,-7 }, + { -18,61,-15 }, + { 16,83,-3 }, + { 18,82,-5 }, + { 20,82,-8 }, + { 14,83,-5 }, + { 19,81,-10 }, + { -14,73,-3 }, + { -9,73,-8 }, + { 19,81,-13 }, + { 11,83,-8 }, + { 12,82,-10 }, + { 15,82,-13 }, + { 13,82,-13 }, + { -11,72,-14 }, + { -20,72,-8 }, + { -18,72,-14 }, + { 20,91,-7 }, + { 17,92,-5 }, + { 19,102,11 }, + { 19,92,-7 }, + { 20,93,-6 }, + { 14,92,-6 }, + { 21,97,-1 }, + { 19,91,-10 }, + { 14,92,-5 }, + { 18,93,-6 }, + { 15,93,-6 }, + { 14,102,11 }, + { 19,92,-9 }, + { 19,91,-12 }, + { 13,93,-7 }, + { 13,92,-10 }, + { 16,91,-12 }, + { 18,92,-12 }, + { 12,97,-1 }, + { 14,93,-10 }, + { 15,93,-12 }, + { 20,106,11 }, + { 13,106,11 }, + { 21,96,-15 }, + { 22,106,1 }, + { -12,92,-7 }, + { -15,92,-5 }, + { 12,96,-15 }, + { -13,102,10 }, + { -10,97,-1 }, + { 11,106,-2 }, + { -19,91,-7 }, + { -13,91,-12 }, + { -18,102,10 }, + { -20,97,-1 }, + { -12,106,10 }, + { -19,91,-14 }, + { 20,104,-17 }, + { -19,106,10 }, + { -11,96,-16 }, + { 13,104,-17 }, + { -9,105,-2 }, + { -20,96,-16 }, + { -21,106,0 }, + { -12,104,-18 }, + { -19,104,-18 } +}; + +SVECTOR level1_modelLara_normal[] = { + -912,2168,-3353, 0, + -2370,170,-3336, 0, + -3339,442,-2330, 0, + -524,-1329,-3839, 0, + 120,1738,-3707, 0, + -2382,-1939,-2709, 0, + 71,1588,-3775, 0, + -3623,-348,-1878, 0, + 61,451,-4070, 0, + 814,2562,-3090, 0, + -3620,-48,-1915, 0, + 50,-695,-4036, 0, + -3193,-485,-2519, 0, + 0,345,-4081, 0, + -68,-914,-3992, 0, + -1999,-653,-3515, 0, + -173,-3077,-2697, 0, + -6,4095,92, 0, + 722,-995,-3907, 0, + 2378,336,-3318, 0, + -2921,2644,1118, 0, + -3893,-1272,-19, 0, + 1884,-732,-3562, 0, + 3399,449,-2240, 0, + 3681,-271,-1776, 0, + -3196,-2512,-500, 0, + -2297,-3117,-1335, 0, + 3152,-284,-2600, 0, + 3615,174,-1918, 0, + 2627,-1651,-2674, 0, + -102,-3183,-2575, 0, + -719,3619,1777, 0, + -3917,-857,834, 0, + 2328,-3040,-1454, 0, + -800,1795,-3594, 0, + -3055,1197,-2452, 0, + -1818,3118,-1936, 0, + 787,3607,1774, 0, + -2788,2567,-1553, 0, + -2915,2375,-1623, 0, + -3538,-1970,613, 0, + -2044,-1073,-3383, 0, + -451,3423,-2203, 0, + 190,2907,-2880, 0, + 2988,2605,1031, 0, + -2742,1649,-2557, 0, + -792,265,-4010, 0, + 3948,-1086,-94, 0, + -4036,254,-650, 0, + -721,3251,-2385, 0, + -2273,2620,-2178, 0, + -3287,2324,-757, 0, + -472,-1740,-3678, 0, + -1591,2107,3132, 0, + -331,2815,-2957, 0, + 220,4002,841, 0, + -2701,-2366,-1971, 0, + 3027,2649,-775, 0, + -4066,-398,292, 0, + -1185,2829,-2714, 0, + 3380,-480,-2262, 0, + 2273,2620,-2178, 0, + 3493,-2098,-419, 0, + -1169,-3810,946, 0, + -883,2464,3151, 0, + -3026,2083,1812, 0, + 1774,2060,3063, 0, + -582,-3198,-2492, 0, + -2564,1370,2885, 0, + 3588,-1918,471, 0, + -2135,2712,2205, 0, + -3446,-2036,-870, 0, + 3373,819,2175, 0, + -2090,-2894,2007, 0, + 1177,-3828,858, 0, + -3122,-2578,619, 0, + 3954,-653,848, 0, + 800,1791,-3595, 0, + 1108,2831,-2745, 0, + 481,3420,-2201, 0, + 322,2831,-2943, 0, + -2057,2455,2553, 0, + 742,3262,-2363, 0, + 2156,2691,2210, 0, + -3999,-109,877, 0, + -1727,1921,3178, 0, + 472,-1740,-3678, 0, + -639,-2133,-3438, 0, + -2417,3238,671, 0, + -2644,-3077,-564, 0, + 1841,3098,-1948, 0, + 2628,1341,2841, 0, + -1460,2442,2946, 0, + 2137,-2846,2028, 0, + 2044,-1073,-3383, 0, + 3055,1197,-2452, 0, + 3178,-2446,833, 0, + 2892,2328,-1731, 0, + 1424,2434,2971, 0, + -2402,-1496,-2961, 0, + 2746,2597,-1578, 0, + 582,-3198,-2492, 0, + -1904,63,3626, 0, + -766,-26,-4024, 0, + 3145,1580,-2094, 0, + -3697,1719,-390, 0, + 2583,-3142,-482, 0, + 3963,-170,1020, 0, + -1585,-3301,1835, 0, + 1633,1851,3269, 0, + -370,2911,-2857, 0, + -2251,1912,2838, 0, + -3093,2590,-711, 0, + -3422,-622,-2163, 0, + 4050,137,-597, 0, + 2802,-2428,-1740, 0, + 1904,63,3626, 0, + -2071,-3375,-1048, 0, + 1585,-3301,1835, 0, + -388,3987,855, 0, + 822,328,-3999, 0, + 777,-2169,-3387, 0, + 3242,-1705,-1832, 0, + -4057,26,563, 0, + -1224,1537,3594, 0, + 4018,-699,380, 0, + 2003,2286,2746, 0, + -3345,721,2252, 0, + -2078,-2322,2658, 0, + 3328,-2331,-515, 0, + 187,-3937,1114, 0, + 2417,3238,671, 0, + 3014,1955,1967, 0, + -3264,-2111,1291, 0, + -2847,59,-2944, 0, + 2848,-685,2863, 0, + 3175,2478,-744, 0, + 793,2485,3158, 0, + 2473,-1534,-2882, 0, + -1977,2255,-2790, 0, + -2081,-3110,1665, 0, + -2710,-1707,2553, 0, + -1928,-1079,3449, 0, + 2251,1912,2838, 0, + -1586,2414,-2904, 0, + -2582,134,3177, 0, + -2854,2833,779, 0, + 2981,-200,-2801, 0, + 2895,818,-2780, 0, + -2099,3264,1312, 0, + -1094,-14,-3947, 0, + 4067,1,489, 0, + -3694,1227,-1273, 0, + -1814,476,3641, 0, + 3195,-2215,1288, 0, + -2994,-1038,-2595, 0, + 1959,2204,-2843, 0, + 2843,-1606,2473, 0, + 2771,421,2986, 0, + 2161,-3098,1584, 0, + 1928,-1079,3449, 0, + -3108,1787,-1980, 0, + 1726,2384,-2849, 0, + 2748,-335,3019, 0, + 1516,-2853,-2517, 0, + 1069,-24,-3954, 0, + -3786,-844,-1314, 0, + 2214,3138,1423, 0, + -3020,-957,2596, 0, + -1117,-1666,-3571, 0, + -2904,2110,1972, 0, + -2366,2098,2603, 0, + 1174,566,-3883, 0, + -3175,-1739,-1916, 0, + 1871,2614,2539, 0, + 1581,-2876,2450, 0, + -2693,-775,2987, 0, + 2075,-3156,-1583, 0, + 27,-3930,1154, 0, + 3746,1656,60, 0, + 1055,1525,3652, 0, + 3618,1316,-1398, 0, + 1982,-2372,2687, 0, + 410,294,-4065, 0, + 1494,-3158,-2138, 0, + 2119,2288,2655, 0, + -1731,2394,-2836, 0, + -3438,-1974,-1031, 0, + -2314,-394,3356, 0, + -1420,-3486,-1616, 0, + 1085,-3024,-2540, 0, + -3013,-1787,2123, 0, + 3019,-257,2756, 0, + -1733,-2511,2733, 0, + 3103,1802,-1976, 0, + -3252,260,2476, 0, + 3830,-701,-1271, 0, + -1960,2609,2476, 0, + -100,-688,-4036, 0, + 1693,-2609,2665, 0, + -3935,-90,-1135, 0, + 100,-613,4049, 0, + 2805,2113,2109, 0, + -2700,-1973,-2365, 0, + 2504,355,-3222, 0, + 4058,-375,-412, 0, + -2530,-2167,2383, 0, + 1586,-2994,2301, 0, + 2846,-3,2946, 0, + 2436,-520,3252, 0, + 3865,-746,-1131, 0, + -2509,289,3225, 0, + -1713,-2643,-2619, 0, + 77,-658,-4042, 0, + -3882,-676,-1116, 0, + 2858,-714,-2845, 0, + -1214,-2977,-2537, 0, + 2347,-136,3354, 0, + 3357,-2063,-1119, 0, + -1557,-2897,2441, 0, + 2870,-1869,2246, 0, + -1802,-2566,2635, 0, + 3243,-940,2318, 0, + 3889,-359,-1234, 0, + -2303,-300,3374, 0, + 2403,-143,3314, 0, + -111,-1981,-3583, 0, + -21,-3753,1641, 0, + -3800,-1162,-993, 0, + -2325,4,3372, 0, + 3812,-1338,-673, 0, + 2310,-913,3256, 0, + 1,-324,-4083, 0, + -2758,221,-3020, 0, + -3694,1049,-1424, 0, + -3613,1649,1001, 0, + 2790,-505,-2956, 0, + -2135,2116,2782, 0, + 345,-1978,-3570, 0, + -3714,-1701,-304, 0, + 62,1851,3653, 0, + -1759,-1206,3496, 0, + 3849,-1141,-811, 0, + 3884,94,-1298, 0, + 3881,632,1147, 0, + 2415,1527,2935, 0, + 2839,-639,2882, 0, + -48,-550,-4059, 0, + -2574,-213,-3178, 0, + -3979,166,-958, 0, + -36,90,-4095, 0, + -3834,648,1288, 0, + -2260,906,3294, 0, + 2541,-772,-3118, 0, + -22,-580,-4055, 0, + -2714,-351,-3047, 0, + -3902,-612,-1086, 0, + 31,680,4039, 0, + -3803,-342,1482, 0, + 2659,-830,-3002, 0, + 3953,-717,-795, 0, + 3817,-237,1467, 0, + 2286,393,3376, 0, + -2279,-451,3373, 0, + -34,-396,-4077, 0, + -2826,-70,-2964, 0, + -3969,-313,-963, 0, + -80,-548,4058, 0, + 3737,-1381,-949, 0, + -3859,-331,1333, 0, + 2821,-492,-2929, 0, + 3562,-1154,1659, 0, + 2034,-933,3430, 0, + -13,-525,-4062, 0, + -3936,-746,-854, 0, + -2402,-415,3292, 0, + 3890,-943,-870, 0, + -68,-407,4075, 0, + -2262,388,3392, 0, + 3678,-958,1527, 0, + 2134,-797,3404, 0, + 3980,156,-953, 0, + 2272,901,3287, 0, + 104,-291,-4084, 0, + -2719,38,-3063, 0, + -3976,-99,-980, 0, + 2720,-243,-3053, 0, + -3913,-148,1203, 0, + 18,-423,-4074, 0, + -3896,-934,-849, 0, + -2486,-285,3242, 0, + 3969,-724,-708, 0, + 3875,-655,1154, 0, + -85,-298,4084, 0, + 2488,-506,3214, 0, + -2149,-776,3399, 0, + 3961,-329,-988, 0, + 2352,-408,3329, 0, + -4059,-476,-270, 0, + -311,-465,-4057, 0, + -2018,2012,-2942, 0, + 1929,-3373,1295, 0, + -3349,1760,-1570, 0, + -25,-1324,-3876, 0, + -2941,2568,-1239, 0, + -3873,-685,1143, 0, + 2796,1451,-2618, 0, + -483,-2518,-3194, 0, + 907,-928,-3885, 0, + 2125,1922,-2927, 0, + -3640,-1483,1154, 0, + -2568,1081,3002, 0, + 3739,-1373,-955, 0, + 3691,-1226,1285, 0, + 188,-840,4004, 0, + -1733,-1711,3293, 0, + 3068,2417,-1233, 0, + 3089,-2206,1539, 0, + 2367,2019,2664, 0, + -2244,-2328,-2514, 0, + 2184,-2422,-2478, 0, + -2673,1512,2710, 0, + -3233,-2514,-61, 0, + -3835,-723,-1244, 0, + 135,-2833,-2955, 0, + 2743,1679,2536, 0, + -2047,1890,-3003, 0, + -3044,2405,-1313, 0, + 3110,-2662,132, 0, + 3691,-320,-1747, 0, + -3219,-368,2505, 0, + 2028,1903,-3007, 0, + 3068,2348,-1362, 0, + -2202,-2442,-2442, 0, + 2677,122,3098, 0, + -2236,-2016,2777, 0, + 2199,-2429,-2458, 0, + -2852,1285,2644, 0, + 2134,-2104,2792, 0, + -3168,-2593,116, 0, + 2853,952,2780, 0, + 3151,-2616,-43, 0, + -2133,-2049,2833, 0, + 2157,-2043,2820, 0 +}; + +SVECTOR level1_modelLara_uv[] = { + 22,62, 0, 0, + 22,1, 0, 0, + 1,1, 0, 0, + 22,62, 0, 0, + 1,1, 0, 0, + 1,62, 0, 0, + 138,127, 0, 0, + 138,122, 0, 0, + 143,122, 0, 0, + 138,127, 0, 0, + 143,122, 0, 0, + 143,127, 0, 0, + 1,159, 0, 0, + 1,146, 0, 0, + 38,146, 0, 0, + 1,159, 0, 0, + 38,146, 0, 0, + 38,159, 0, 0, + 78,62, 0, 0, + 78,41, 0, 0, + 25,41, 0, 0, + 78,62, 0, 0, + 25,41, 0, 0, + 25,62, 0, 0, + 81,62, 0, 0, + 81,41, 0, 0, + 118,41, 0, 0, + 81,62, 0, 0, + 118,41, 0, 0, + 118,62, 0, 0, + 1,62, 0, 0, + 1,1, 0, 0, + 22,1, 0, 0, + 1,62, 0, 0, + 22,1, 0, 0, + 22,62, 0, 0, + 202,30, 0, 0, + 202,1, 0, 0, + 247,1, 0, 0, + 247,1, 0, 0, + 224,30, 0, 0, + 202,30, 0, 0, + 239,175, 0, 0, + 239,162, 0, 0, + 226,162, 0, 0, + 239,175, 0, 0, + 226,162, 0, 0, + 226,175, 0, 0, + 210,111, 0, 0, + 232,98, 0, 0, + 255,98, 0, 0, + 210,111, 0, 0, + 255,98, 0, 0, + 255,111, 0, 0, + 121,62, 0, 0, + 151,41, 0, 0, + 121,41, 0, 0, + 151,41, 0, 0, + 121,62, 0, 0, + 151,62, 0, 0, + 199,62, 0, 0, + 178,41, 0, 0, + 178,62, 0, 0, + 226,41, 0, 0, + 247,62, 0, 0, + 247,41, 0, 0, + 247,62, 0, 0, + 226,41, 0, 0, + 226,62, 0, 0, + 151,127, 0, 0, + 146,127, 0, 0, + 146,122, 0, 0, + 135,122, 0, 0, + 130,127, 0, 0, + 130,122, 0, 0, + 151,41, 0, 0, + 121,62, 0, 0, + 121,41, 0, 0, + 121,62, 0, 0, + 151,41, 0, 0, + 151,62, 0, 0, + 178,41, 0, 0, + 199,62, 0, 0, + 178,62, 0, 0, + 247,62, 0, 0, + 226,41, 0, 0, + 247,41, 0, 0, + 226,41, 0, 0, + 247,62, 0, 0, + 226,62, 0, 0, + 146,127, 0, 0, + 151,122, 0, 0, + 146,122, 0, 0, + 191,162, 0, 0, + 178,175, 0, 0, + 178,162, 0, 0, + 186,122, 0, 0, + 186,122, 0, 0, + 186,122, 0, 0, + 118,38, 0, 0, + 118,1, 0, 0, + 105,1, 0, 0, + 186,122, 0, 0, + 186,122, 0, 0, + 186,122, 0, 0, + 17,119, 0, 0, + 17,98, 0, 0, + 30,98, 0, 0, + 17,119, 0, 0, + 30,98, 0, 0, + 30,119, 0, 0, + 30,119, 0, 0, + 30,98, 0, 0, + 17,98, 0, 0, + 30,119, 0, 0, + 17,98, 0, 0, + 17,119, 0, 0, + 89,1, 0, 0, + 102,38, 0, 0, + 102,1, 0, 0, + 151,127, 0, 0, + 146,122, 0, 0, + 151,122, 0, 0, + 121,1, 0, 0, + 135,38, 0, 0, + 135,1, 0, 0, + 146,127, 0, 0, + 146,122, 0, 0, + 151,122, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 70,38, 0, 0, + 57,1, 0, 0, + 57,38, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 30,98, 0, 0, + 17,119, 0, 0, + 30,119, 0, 0, + 17,119, 0, 0, + 30,98, 0, 0, + 17,98, 0, 0, + 17,119, 0, 0, + 30,98, 0, 0, + 17,98, 0, 0, + 30,98, 0, 0, + 17,119, 0, 0, + 30,119, 0, 0, + 17,98, 0, 0, + 30,119, 0, 0, + 30,98, 0, 0, + 30,119, 0, 0, + 17,98, 0, 0, + 17,119, 0, 0, + 118,38, 0, 0, + 105,1, 0, 0, + 105,38, 0, 0, + 135,38, 0, 0, + 121,1, 0, 0, + 121,38, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 86,38, 0, 0, + 73,1, 0, 0, + 73,38, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 113,122, 0, 0, + 118,122, 0, 0, + 226,94, 0, 0, + 226,65, 0, 0, + 239,65, 0, 0, + 14,98, 0, 0, + 1,127, 0, 0, + 14,127, 0, 0, + 226,94, 0, 0, + 239,65, 0, 0, + 239,94, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 1,127, 0, 0, + 14,98, 0, 0, + 1,98, 0, 0, + 14,98, 0, 0, + 1,127, 0, 0, + 1,98, 0, 0, + 1,127, 0, 0, + 14,98, 0, 0, + 14,127, 0, 0, + 242,65, 0, 0, + 255,94, 0, 0, + 242,94, 0, 0, + 255,94, 0, 0, + 242,65, 0, 0, + 255,65, 0, 0, + 242,65, 0, 0, + 255,94, 0, 0, + 255,65, 0, 0, + 255,94, 0, 0, + 242,65, 0, 0, + 242,94, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 226,146, 0, 0, + 255,159, 0, 0, + 255,146, 0, 0, + 175,175, 0, 0, + 175,162, 0, 0, + 162,162, 0, 0, + 175,175, 0, 0, + 162,162, 0, 0, + 162,175, 0, 0, + 255,159, 0, 0, + 226,146, 0, 0, + 226,159, 0, 0, + 49,191, 0, 0, + 49,178, 0, 0, + 62,178, 0, 0, + 49,191, 0, 0, + 62,178, 0, 0, + 62,191, 0, 0, + 255,146, 0, 0, + 226,159, 0, 0, + 226,146, 0, 0, + 81,119, 0, 0, + 81,98, 0, 0, + 94,98, 0, 0, + 81,119, 0, 0, + 94,98, 0, 0, + 94,119, 0, 0, + 46,191, 0, 0, + 46,178, 0, 0, + 33,178, 0, 0, + 46,191, 0, 0, + 33,178, 0, 0, + 33,191, 0, 0, + 194,162, 0, 0, + 207,175, 0, 0, + 194,175, 0, 0, + 207,175, 0, 0, + 194,162, 0, 0, + 207,162, 0, 0, + 194,175, 0, 0, + 207,162, 0, 0, + 194,162, 0, 0, + 207,162, 0, 0, + 194,175, 0, 0, + 207,175, 0, 0, + 223,162, 0, 0, + 210,175, 0, 0, + 210,162, 0, 0, + 210,175, 0, 0, + 223,162, 0, 0, + 223,175, 0, 0, + 159,175, 0, 0, + 146,162, 0, 0, + 146,175, 0, 0, + 194,146, 0, 0, + 223,159, 0, 0, + 194,159, 0, 0, + 223,159, 0, 0, + 194,146, 0, 0, + 223,146, 0, 0, + 223,159, 0, 0, + 194,146, 0, 0, + 194,159, 0, 0, + 194,146, 0, 0, + 223,159, 0, 0, + 223,146, 0, 0, + 186,122, 0, 0, + 186,122, 0, 0, + 186,122, 0, 0, + 186,122, 0, 0, + 186,122, 0, 0, + 186,122, 0, 0, + 17,119, 0, 0, + 17,98, 0, 0, + 30,98, 0, 0, + 17,119, 0, 0, + 30,98, 0, 0, + 30,119, 0, 0, + 17,119, 0, 0, + 17,98, 0, 0, + 30,98, 0, 0, + 17,119, 0, 0, + 30,98, 0, 0, + 30,119, 0, 0, + 73,38, 0, 0, + 86,1, 0, 0, + 86,38, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 57,38, 0, 0, + 70,1, 0, 0, + 70,38, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 17,119, 0, 0, + 30,98, 0, 0, + 30,119, 0, 0, + 30,98, 0, 0, + 17,119, 0, 0, + 17,98, 0, 0, + 30,98, 0, 0, + 17,119, 0, 0, + 17,98, 0, 0, + 17,119, 0, 0, + 30,98, 0, 0, + 30,119, 0, 0, + 17,119, 0, 0, + 30,98, 0, 0, + 30,119, 0, 0, + 30,98, 0, 0, + 17,119, 0, 0, + 17,98, 0, 0, + 57,38, 0, 0, + 57,1, 0, 0, + 70,1, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,124, 0, 0, + 116,124, 0, 0, + 116,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 1,127, 0, 0, + 8,112, 0, 0, + 8,127, 0, 0, + 113,124, 0, 0, + 116,124, 0, 0, + 116,122, 0, 0, + 113,124, 0, 0, + 116,122, 0, 0, + 113,122, 0, 0, + 113,124, 0, 0, + 116,124, 0, 0, + 116,122, 0, 0, + 1,112, 0, 0, + 8,98, 0, 0, + 1,98, 0, 0, + 8,112, 0, 0, + 1,127, 0, 0, + 8,127, 0, 0, + 8,127, 0, 0, + 14,112, 0, 0, + 14,127, 0, 0, + 8,127, 0, 0, + 8,112, 0, 0, + 14,112, 0, 0, + 8,112, 0, 0, + 14,98, 0, 0, + 14,112, 0, 0, + 116,127, 0, 0, + 116,124, 0, 0, + 113,124, 0, 0, + 118,124, 0, 0, + 116,122, 0, 0, + 118,122, 0, 0, + 116,127, 0, 0, + 116,124, 0, 0, + 113,124, 0, 0, + 226,94, 0, 0, + 226,80, 0, 0, + 232,80, 0, 0, + 226,94, 0, 0, + 232,80, 0, 0, + 232,94, 0, 0, + 118,127, 0, 0, + 118,124, 0, 0, + 116,124, 0, 0, + 118,127, 0, 0, + 116,124, 0, 0, + 116,127, 0, 0, + 118,127, 0, 0, + 118,124, 0, 0, + 116,124, 0, 0, + 118,127, 0, 0, + 116,124, 0, 0, + 116,127, 0, 0, + 14,98, 0, 0, + 8,112, 0, 0, + 8,98, 0, 0, + 14,98, 0, 0, + 8,112, 0, 0, + 14,112, 0, 0, + 1,127, 0, 0, + 8,112, 0, 0, + 1,112, 0, 0, + 255,94, 0, 0, + 248,80, 0, 0, + 248,94, 0, 0, + 242,65, 0, 0, + 248,80, 0, 0, + 248,65, 0, 0, + 242,65, 0, 0, + 248,80, 0, 0, + 242,80, 0, 0, + 255,94, 0, 0, + 248,80, 0, 0, + 255,80, 0, 0, + 113,127, 0, 0, + 116,124, 0, 0, + 113,124, 0, 0, + 113,127, 0, 0, + 116,124, 0, 0, + 113,124, 0, 0, + 113,127, 0, 0, + 116,124, 0, 0, + 113,124, 0, 0, + 113,127, 0, 0, + 116,124, 0, 0, + 113,124, 0, 0, + 113,127, 0, 0, + 116,124, 0, 0, + 113,124, 0, 0, + 113,127, 0, 0, + 116,124, 0, 0, + 113,124, 0, 0, + 113,127, 0, 0, + 116,124, 0, 0, + 113,124, 0, 0, + 113,127, 0, 0, + 116,124, 0, 0, + 113,124, 0, 0, + 113,127, 0, 0, + 116,124, 0, 0, + 113,124, 0, 0, + 113,127, 0, 0, + 116,124, 0, 0, + 113,124, 0, 0, + 113,124, 0, 0, + 116,124, 0, 0, + 116,122, 0, 0, + 113,127, 0, 0, + 116,124, 0, 0, + 113,124, 0, 0, + 113,127, 0, 0, + 116,124, 0, 0, + 113,124, 0, 0, + 121,122, 0, 0, + 124,124, 0, 0, + 121,124, 0, 0, + 121,122, 0, 0, + 124,124, 0, 0, + 121,124, 0, 0, + 121,124, 0, 0, + 124,127, 0, 0, + 121,127, 0, 0, + 121,124, 0, 0, + 124,124, 0, 0, + 124,127, 0, 0, + 124,124, 0, 0, + 126,127, 0, 0, + 124,127, 0, 0, + 124,124, 0, 0, + 126,127, 0, 0, + 124,127, 0, 0, + 121,124, 0, 0, + 124,127, 0, 0, + 121,127, 0, 0, + 121,127, 0, 0, + 126,122, 0, 0, + 126,127, 0, 0, + 226,146, 0, 0, + 255,159, 0, 0, + 226,159, 0, 0, + 121,124, 0, 0, + 124,127, 0, 0, + 121,127, 0, 0, + 121,122, 0, 0, + 124,124, 0, 0, + 121,124, 0, 0, + 124,124, 0, 0, + 126,127, 0, 0, + 124,127, 0, 0, + 121,124, 0, 0, + 124,127, 0, 0, + 121,127, 0, 0, + 121,124, 0, 0, + 124,124, 0, 0, + 124,127, 0, 0, + 124,124, 0, 0, + 126,127, 0, 0, + 124,127, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 116,124, 0, 0, + 118,122, 0, 0, + 116,122, 0, 0, + 113,124, 0, 0, + 116,122, 0, 0, + 113,122, 0, 0, + 113,124, 0, 0, + 116,124, 0, 0, + 116,122, 0, 0, + 113,124, 0, 0, + 116,122, 0, 0, + 113,122, 0, 0, + 113,124, 0, 0, + 116,124, 0, 0, + 116,122, 0, 0, + 116,124, 0, 0, + 118,122, 0, 0, + 116,122, 0, 0, + 116,124, 0, 0, + 118,122, 0, 0, + 116,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,124, 0, 0, + 116,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 116,124, 0, 0, + 118,122, 0, 0, + 116,122, 0, 0, + 113,124, 0, 0, + 116,122, 0, 0, + 113,122, 0, 0, + 113,124, 0, 0, + 116,124, 0, 0, + 116,122, 0, 0, + 113,124, 0, 0, + 116,122, 0, 0, + 113,122, 0, 0, + 113,124, 0, 0, + 116,124, 0, 0, + 116,122, 0, 0, + 116,124, 0, 0, + 118,122, 0, 0, + 116,122, 0, 0, + 146,175, 0, 0, + 159,162, 0, 0, + 159,175, 0, 0, + 255,159, 0, 0, + 226,146, 0, 0, + 255,146, 0, 0, + 113,124, 0, 0, + 116,122, 0, 0, + 113,122, 0, 0, + 113,124, 0, 0, + 116,124, 0, 0, + 116,122, 0, 0, + 116,124, 0, 0, + 118,122, 0, 0, + 116,122, 0, 0, + 113,124, 0, 0, + 116,122, 0, 0, + 113,122, 0, 0, + 113,124, 0, 0, + 116,124, 0, 0, + 116,122, 0, 0, + 116,124, 0, 0, + 118,122, 0, 0, + 116,122, 0, 0, + 113,124, 0, 0, + 116,122, 0, 0, + 113,122, 0, 0, + 116,124, 0, 0, + 118,122, 0, 0, + 116,122, 0, 0, + 113,124, 0, 0, + 116,122, 0, 0, + 113,122, 0, 0, + 113,124, 0, 0, + 116,124, 0, 0, + 116,122, 0, 0, + 116,124, 0, 0, + 118,122, 0, 0, + 116,122, 0, 0, + 113,124, 0, 0, + 116,122, 0, 0, + 113,122, 0, 0, + 113,124, 0, 0, + 116,124, 0, 0, + 116,122, 0, 0, + 116,124, 0, 0, + 118,122, 0, 0, + 116,122, 0, 0, + 113,124, 0, 0, + 116,122, 0, 0, + 113,122, 0, 0, + 113,124, 0, 0, + 116,124, 0, 0, + 116,122, 0, 0, + 116,124, 0, 0, + 118,122, 0, 0, + 116,122, 0, 0, + 116,124, 0, 0, + 118,122, 0, 0, + 116,122, 0, 0, + 113,124, 0, 0, + 116,122, 0, 0, + 113,122, 0, 0, + 113,124, 0, 0, + 116,124, 0, 0, + 116,122, 0, 0, + 116,124, 0, 0, + 118,122, 0, 0, + 116,122, 0, 0, + 255,80, 0, 0, + 248,65, 0, 0, + 255,65, 0, 0, + 255,80, 0, 0, + 248,80, 0, 0, + 248,65, 0, 0, + 248,80, 0, 0, + 242,65, 0, 0, + 248,65, 0, 0, + 242,80, 0, 0, + 248,94, 0, 0, + 242,94, 0, 0, + 242,80, 0, 0, + 248,80, 0, 0, + 248,94, 0, 0, + 248,80, 0, 0, + 255,94, 0, 0, + 248,94, 0, 0, + 248,65, 0, 0, + 255,80, 0, 0, + 255,65, 0, 0, + 248,65, 0, 0, + 248,80, 0, 0, + 255,80, 0, 0, + 248,80, 0, 0, + 255,94, 0, 0, + 255,80, 0, 0, + 248,94, 0, 0, + 242,80, 0, 0, + 242,94, 0, 0, + 248,94, 0, 0, + 248,80, 0, 0, + 242,80, 0, 0, + 248,80, 0, 0, + 242,65, 0, 0, + 242,80, 0, 0, + 1,112, 0, 0, + 8,112, 0, 0, + 8,98, 0, 0, + 8,112, 0, 0, + 14,98, 0, 0, + 8,98, 0, 0, + 14,112, 0, 0, + 8,127, 0, 0, + 14,127, 0, 0, + 14,112, 0, 0, + 8,112, 0, 0, + 8,127, 0, 0, + 8,98, 0, 0, + 1,112, 0, 0, + 1,98, 0, 0, + 8,98, 0, 0, + 8,112, 0, 0, + 1,112, 0, 0, + 8,112, 0, 0, + 1,127, 0, 0, + 1,112, 0, 0, + 116,127, 0, 0, + 113,124, 0, 0, + 113,127, 0, 0, + 116,127, 0, 0, + 113,124, 0, 0, + 113,127, 0, 0, + 116,124, 0, 0, + 113,122, 0, 0, + 113,124, 0, 0, + 116,124, 0, 0, + 116,122, 0, 0, + 113,122, 0, 0, + 116,124, 0, 0, + 118,124, 0, 0, + 116,122, 0, 0, + 118,124, 0, 0, + 118,122, 0, 0, + 116,122, 0, 0, + 232,94, 0, 0, + 239,80, 0, 0, + 239,94, 0, 0, + 232,94, 0, 0, + 232,80, 0, 0, + 239,80, 0, 0, + 232,80, 0, 0, + 239,65, 0, 0, + 239,80, 0, 0, + 232,80, 0, 0, + 232,65, 0, 0, + 239,65, 0, 0, + 232,80, 0, 0, + 226,80, 0, 0, + 232,65, 0, 0, + 226,80, 0, 0, + 226,65, 0, 0, + 232,65, 0, 0, + 162,175, 0, 0, + 162,162, 0, 0, + 175,162, 0, 0, + 234,119, 0, 0, + 247,114, 0, 0, + 247,119, 0, 0, + 162,175, 0, 0, + 175,162, 0, 0, + 175,175, 0, 0, + 49,191, 0, 0, + 49,178, 0, 0, + 62,178, 0, 0, + 49,191, 0, 0, + 62,178, 0, 0, + 62,191, 0, 0, + 234,119, 0, 0, + 234,114, 0, 0, + 247,114, 0, 0, + 234,119, 0, 0, + 234,114, 0, 0, + 247,114, 0, 0, + 94,119, 0, 0, + 94,98, 0, 0, + 81,98, 0, 0, + 94,119, 0, 0, + 81,98, 0, 0, + 81,119, 0, 0, + 33,191, 0, 0, + 33,178, 0, 0, + 46,178, 0, 0, + 33,191, 0, 0, + 46,178, 0, 0, + 46,191, 0, 0, + 207,175, 0, 0, + 194,162, 0, 0, + 194,175, 0, 0, + 194,162, 0, 0, + 207,175, 0, 0, + 207,162, 0, 0, + 207,162, 0, 0, + 194,175, 0, 0, + 194,162, 0, 0, + 194,175, 0, 0, + 207,162, 0, 0, + 207,175, 0, 0, + 210,175, 0, 0, + 223,162, 0, 0, + 210,162, 0, 0, + 223,162, 0, 0, + 210,175, 0, 0, + 223,175, 0, 0, + 121,127, 0, 0, + 121,122, 0, 0, + 126,122, 0, 0, + 146,162, 0, 0, + 159,162, 0, 0, + 146,175, 0, 0, + 226,159, 0, 0, + 255,146, 0, 0, + 226,146, 0, 0, + 223,159, 0, 0, + 194,146, 0, 0, + 194,159, 0, 0, + 194,146, 0, 0, + 223,159, 0, 0, + 223,146, 0, 0, + 194,146, 0, 0, + 223,159, 0, 0, + 194,159, 0, 0, + 223,159, 0, 0, + 194,146, 0, 0, + 223,146, 0, 0, + 17,127, 0, 0, + 17,122, 0, 0, + 46,122, 0, 0, + 199,38, 0, 0, + 199,33, 0, 0, + 146,33, 0, 0, + 191,119, 0, 0, + 191,114, 0, 0, + 154,114, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 17,127, 0, 0, + 46,122, 0, 0, + 46,127, 0, 0, + 199,38, 0, 0, + 146,33, 0, 0, + 146,38, 0, 0, + 154,111, 0, 0, + 154,98, 0, 0, + 207,98, 0, 0, + 154,111, 0, 0, + 207,98, 0, 0, + 207,111, 0, 0, + 146,30, 0, 0, + 146,1, 0, 0, + 199,1, 0, 0, + 146,30, 0, 0, + 199,1, 0, 0, + 199,30, 0, 0, + 97,119, 0, 0, + 97,114, 0, 0, + 151,114, 0, 0, + 97,119, 0, 0, + 151,114, 0, 0, + 151,119, 0, 0, + 255,38, 0, 0, + 255,33, 0, 0, + 202,33, 0, 0, + 255,38, 0, 0, + 202,33, 0, 0, + 202,38, 0, 0, + 191,119, 0, 0, + 154,114, 0, 0, + 154,119, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 231,119, 0, 0, + 231,114, 0, 0, + 194,114, 0, 0, + 231,119, 0, 0, + 194,114, 0, 0, + 194,119, 0, 0, + 49,127, 0, 0, + 49,122, 0, 0, + 78,122, 0, 0, + 49,127, 0, 0, + 78,122, 0, 0, + 78,127, 0, 0, + 159,159, 0, 0, + 159,146, 0, 0, + 121,146, 0, 0, + 159,159, 0, 0, + 121,146, 0, 0, + 121,159, 0, 0, + 118,159, 0, 0, + 118,146, 0, 0, + 81,146, 0, 0, + 118,159, 0, 0, + 81,146, 0, 0, + 81,159, 0, 0, + 247,143, 0, 0, + 247,130, 0, 0, + 210,130, 0, 0, + 247,143, 0, 0, + 210,130, 0, 0, + 210,143, 0, 0, + 118,175, 0, 0, + 118,162, 0, 0, + 97,162, 0, 0, + 118,175, 0, 0, + 97,162, 0, 0, + 97,175, 0, 0, + 89,1, 0, 0, + 102,38, 0, 0, + 89,38, 0, 0, + 78,159, 0, 0, + 78,146, 0, 0, + 41,146, 0, 0, + 78,159, 0, 0, + 41,146, 0, 0, + 41,159, 0, 0, + 49,162, 0, 0, + 70,175, 0, 0, + 49,175, 0, 0, + 81,127, 0, 0, + 81,122, 0, 0, + 110,122, 0, 0, + 81,127, 0, 0, + 110,122, 0, 0, + 110,127, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 162,159, 0, 0, + 191,146, 0, 0, + 191,159, 0, 0, + 70,162, 0, 0, + 49,175, 0, 0, + 70,175, 0, 0, + 113,143, 0, 0, + 167,130, 0, 0, + 113,130, 0, 0, + 167,130, 0, 0, + 113,143, 0, 0, + 167,143, 0, 0, + 138,38, 0, 0, + 143,1, 0, 0, + 138,1, 0, 0, + 94,162, 0, 0, + 73,175, 0, 0, + 73,162, 0, 0, + 65,119, 0, 0, + 78,98, 0, 0, + 65,98, 0, 0, + 65,119, 0, 0, + 78,98, 0, 0, + 65,98, 0, 0, + 65,119, 0, 0, + 78,98, 0, 0, + 65,98, 0, 0, + 65,119, 0, 0, + 78,98, 0, 0, + 65,98, 0, 0, + 65,119, 0, 0, + 78,98, 0, 0, + 65,98, 0, 0, + 65,119, 0, 0, + 78,98, 0, 0, + 65,98, 0, 0, + 65,119, 0, 0, + 78,98, 0, 0, + 65,98, 0, 0, + 65,119, 0, 0, + 78,98, 0, 0, + 65,98, 0, 0, + 65,119, 0, 0, + 78,98, 0, 0, + 65,98, 0, 0, + 65,119, 0, 0, + 78,98, 0, 0, + 65,98, 0, 0, + 65,119, 0, 0, + 78,98, 0, 0, + 65,98, 0, 0, + 65,119, 0, 0, + 78,98, 0, 0, + 65,98, 0, 0, + 121,175, 0, 0, + 143,162, 0, 0, + 143,175, 0, 0, + 207,143, 0, 0, + 170,130, 0, 0, + 170,143, 0, 0, + 143,175, 0, 0, + 121,162, 0, 0, + 121,175, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 49,98, 0, 0, + 62,117, 0, 0, + 49,119, 0, 0, + 62,117, 0, 0, + 49,98, 0, 0, + 49,119, 0, 0, + 250,119, 0, 0, + 255,114, 0, 0, + 250,114, 0, 0, + 255,114, 0, 0, + 250,119, 0, 0, + 255,119, 0, 0, + 154,127, 0, 0, + 159,122, 0, 0, + 154,122, 0, 0, + 159,122, 0, 0, + 154,127, 0, 0, + 158,125, 0, 0, + 138,127, 0, 0, + 142,120, 0, 0, + 138,122, 0, 0, + 137,125, 0, 0, + 143,122, 0, 0, + 138,122, 0, 0, + 138,127, 0, 0, + 143,122, 0, 0, + 138,122, 0, 0, + 162,127, 0, 0, + 167,122, 0, 0, + 167,127, 0, 0, + 138,127, 0, 0, + 143,122, 0, 0, + 138,122, 0, 0, + 143,122, 0, 0, + 138,127, 0, 0, + 143,127, 0, 0, + 138,127, 0, 0, + 143,122, 0, 0, + 138,122, 0, 0, + 143,122, 0, 0, + 138,127, 0, 0, + 143,127, 0, 0, + 143,127, 0, 0, + 138,122, 0, 0, + 143,122, 0, 0, + 138,122, 0, 0, + 143,127, 0, 0, + 138,127, 0, 0, + 143,127, 0, 0, + 138,122, 0, 0, + 143,122, 0, 0, + 138,122, 0, 0, + 143,127, 0, 0, + 138,127, 0, 0, + 138,127, 0, 0, + 143,122, 0, 0, + 138,122, 0, 0, + 138,127, 0, 0, + 143,122, 0, 0, + 138,122, 0, 0, + 138,127, 0, 0, + 143,122, 0, 0, + 138,122, 0, 0, + 138,127, 0, 0, + 143,122, 0, 0, + 138,122, 0, 0, + 255,114, 0, 0, + 250,119, 0, 0, + 250,114, 0, 0, + 250,119, 0, 0, + 255,114, 0, 0, + 255,119, 0, 0, + 159,122, 0, 0, + 154,127, 0, 0, + 154,122, 0, 0, + 154,127, 0, 0, + 159,122, 0, 0, + 158,125, 0, 0, + 138,127, 0, 0, + 142,120, 0, 0, + 138,122, 0, 0, + 138,127, 0, 0, + 143,122, 0, 0, + 137,120, 0, 0, + 138,127, 0, 0, + 143,122, 0, 0, + 138,122, 0, 0, + 167,122, 0, 0, + 162,127, 0, 0, + 167,127, 0, 0, + 143,122, 0, 0, + 138,127, 0, 0, + 138,122, 0, 0, + 138,127, 0, 0, + 143,122, 0, 0, + 143,127, 0, 0, + 143,122, 0, 0, + 138,127, 0, 0, + 138,122, 0, 0, + 138,127, 0, 0, + 143,122, 0, 0, + 143,127, 0, 0, + 143,122, 0, 0, + 138,127, 0, 0, + 138,122, 0, 0, + 138,127, 0, 0, + 143,122, 0, 0, + 143,127, 0, 0, + 143,127, 0, 0, + 138,122, 0, 0, + 143,122, 0, 0, + 138,122, 0, 0, + 143,127, 0, 0, + 138,127, 0, 0, + 138,127, 0, 0, + 143,122, 0, 0, + 138,122, 0, 0, + 138,127, 0, 0, + 143,122, 0, 0, + 138,122, 0, 0, + 138,127, 0, 0, + 143,122, 0, 0, + 138,122, 0, 0, + 138,127, 0, 0, + 143,122, 0, 0, + 138,122, 0, 0, + 250,141, 0, 0, + 255,130, 0, 0, + 250,130, 0, 0, + 1,191, 0, 0, + 14,178, 0, 0, + 14,191, 0, 0, + 1,191, 0, 0, + 14,178, 0, 0, + 1,178, 0, 0, + 30,178, 0, 0, + 17,191, 0, 0, + 17,178, 0, 0, + 30,191, 0, 0, + 17,178, 0, 0, + 17,191, 0, 0, + 143,1, 0, 0, + 138,38, 0, 0, + 138,1, 0, 0, + 17,191, 0, 0, + 30,178, 0, 0, + 30,191, 0, 0, + 17,178, 0, 0, + 30,191, 0, 0, + 30,178, 0, 0, + 73,175, 0, 0, + 94,162, 0, 0, + 73,162, 0, 0, + 14,178, 0, 0, + 1,191, 0, 0, + 14,191, 0, 0, + 70,175, 0, 0, + 49,162, 0, 0, + 70,162, 0, 0, + 143,162, 0, 0, + 121,175, 0, 0, + 121,162, 0, 0, + 121,162, 0, 0, + 143,175, 0, 0, + 143,162, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 255,130, 0, 0, + 250,141, 0, 0, + 250,130, 0, 0, + 14,178, 0, 0, + 1,191, 0, 0, + 1,178, 0, 0, + 49,98, 0, 0, + 62,117, 0, 0, + 62,98, 0, 0, + 46,160, 0, 0, + 25,175, 0, 0, + 46,175, 0, 0, + 62,117, 0, 0, + 49,98, 0, 0, + 62,98, 0, 0, + 25,175, 0, 0, + 46,160, 0, 0, + 46,175, 0, 0, + 22,162, 0, 0, + 1,175, 0, 0, + 22,175, 0, 0, + 1,175, 0, 0, + 22,162, 0, 0, + 1,162, 0, 0, + 1,162, 0, 0, + 22,175, 0, 0, + 1,175, 0, 0, + 22,175, 0, 0, + 1,162, 0, 0, + 22,162, 0, 0, + 170,122, 0, 0, + 175,127, 0, 0, + 175,122, 0, 0, + 175,127, 0, 0, + 170,122, 0, 0, + 175,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 49,175, 0, 0, + 70,162, 0, 0, + 49,162, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 207,143, 0, 0, + 207,130, 0, 0, + 170,130, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 162,159, 0, 0, + 162,146, 0, 0, + 191,146, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 105,94, 0, 0, + 126,65, 0, 0, + 126,94, 0, 0, + 189,122, 0, 0, + 189,122, 0, 0, + 189,122, 0, 0, + 154,94, 0, 0, + 175,65, 0, 0, + 175,94, 0, 0, + 199,94, 0, 0, + 178,65, 0, 0, + 178,94, 0, 0, + 151,94, 0, 0, + 130,65, 0, 0, + 130,94, 0, 0, + 202,94, 0, 0, + 202,65, 0, 0, + 223,65, 0, 0, + 202,94, 0, 0, + 223,65, 0, 0, + 223,94, 0, 0, + 199,94, 0, 0, + 199,65, 0, 0, + 178,65, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 102,38, 0, 0, + 89,1, 0, 0, + 102,1, 0, 0, + 116,124, 0, 0, + 118,122, 0, 0, + 116,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 121,1, 0, 0, + 135,38, 0, 0, + 121,38, 0, 0, + 118,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 116,124, 0, 0, + 113,124, 0, 0, + 118,127, 0, 0, + 113,127, 0, 0, + 113,122, 0, 0, + 178,94, 0, 0, + 199,65, 0, 0, + 199,94, 0, 0, + 105,94, 0, 0, + 126,65, 0, 0, + 126,94, 0, 0, + 175,94, 0, 0, + 154,65, 0, 0, + 175,65, 0, 0, + 130,94, 0, 0, + 151,65, 0, 0, + 151,94, 0, 0, + 202,94, 0, 0, + 202,65, 0, 0, + 223,65, 0, 0, + 202,94, 0, 0, + 223,65, 0, 0, + 223,94, 0, 0, + 130,94, 0, 0, + 130,65, 0, 0, + 151,65, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 54,1, 0, 0, + 25,38, 0, 0, + 54,38, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 97,111, 0, 0, + 151,98, 0, 0, + 151,111, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 54,38, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,38, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 25,1, 0, 0, + 54,38, 0, 0, + 25,38, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 41,94, 0, 0, + 70,65, 0, 0, + 41,65, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 242,175, 0, 0, + 255,162, 0, 0, + 255,175, 0, 0, + 242,175, 0, 0, + 255,162, 0, 0, + 255,175, 0, 0, + 242,175, 0, 0, + 255,162, 0, 0, + 255,175, 0, 0, + 255,162, 0, 0, + 242,175, 0, 0, + 242,162, 0, 0, + 242,162, 0, 0, + 255,175, 0, 0, + 242,175, 0, 0, + 255,162, 0, 0, + 242,175, 0, 0, + 242,162, 0, 0, + 242,175, 0, 0, + 255,162, 0, 0, + 255,175, 0, 0, + 255,162, 0, 0, + 242,175, 0, 0, + 242,162, 0, 0, + 255,175, 0, 0, + 242,162, 0, 0, + 255,162, 0, 0, + 255,162, 0, 0, + 242,175, 0, 0, + 242,162, 0, 0, + 54,38, 0, 0, + 25,1, 0, 0, + 54,1, 0, 0, + 54,38, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 54,38, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 54,38, 0, 0, + 54,1, 0, 0, + 25,38, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 54,38, 0, 0, + 54,1, 0, 0, + 25,38, 0, 0, + 25,1, 0, 0, + 54,38, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 97,111, 0, 0, + 151,98, 0, 0, + 97,98, 0, 0, + 54,38, 0, 0, + 25,1, 0, 0, + 54,1, 0, 0, + 54,1, 0, 0, + 25,38, 0, 0, + 54,38, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 94,178, 0, 0, + 81,191, 0, 0, + 94,191, 0, 0, + 183,122, 0, 0, + 178,127, 0, 0, + 183,127, 0, 0, + 81,191, 0, 0, + 94,178, 0, 0, + 81,178, 0, 0, + 183,122, 0, 0, + 178,127, 0, 0, + 183,127, 0, 0, + 183,122, 0, 0, + 178,127, 0, 0, + 183,127, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 54,1, 0, 0, + 25,38, 0, 0, + 54,38, 0, 0, + 154,62, 0, 0, + 175,41, 0, 0, + 175,62, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 65,178, 0, 0, + 78,191, 0, 0, + 65,191, 0, 0, + 54,130, 0, 0, + 1,143, 0, 0, + 54,143, 0, 0, + 78,191, 0, 0, + 65,178, 0, 0, + 65,191, 0, 0, + 54,130, 0, 0, + 1,143, 0, 0, + 1,130, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 110,143, 0, 0, + 57,130, 0, 0, + 110,130, 0, 0, + 70,65, 0, 0, + 41,94, 0, 0, + 41,65, 0, 0, + 54,1, 0, 0, + 25,38, 0, 0, + 54,38, 0, 0, + 25,1, 0, 0, + 54,38, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,38, 0, 0, + 54,38, 0, 0, + 54,38, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,38, 0, 0, + 54,38, 0, 0, + 78,191, 0, 0, + 65,178, 0, 0, + 65,191, 0, 0, + 70,65, 0, 0, + 41,94, 0, 0, + 70,94, 0, 0, + 175,41, 0, 0, + 154,62, 0, 0, + 154,41, 0, 0, + 41,94, 0, 0, + 70,65, 0, 0, + 70,94, 0, 0, + 73,94, 0, 0, + 102,65, 0, 0, + 102,94, 0, 0, + 25,1, 0, 0, + 54,38, 0, 0, + 25,38, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 154,62, 0, 0, + 175,41, 0, 0, + 154,41, 0, 0, + 223,62, 0, 0, + 202,41, 0, 0, + 202,62, 0, 0, + 202,41, 0, 0, + 223,62, 0, 0, + 202,62, 0, 0, + 151,98, 0, 0, + 97,111, 0, 0, + 97,98, 0, 0, + 54,1, 0, 0, + 25,38, 0, 0, + 54,38, 0, 0, + 65,178, 0, 0, + 78,191, 0, 0, + 65,191, 0, 0, + 151,98, 0, 0, + 97,111, 0, 0, + 151,111, 0, 0, + 33,119, 0, 0, + 46,98, 0, 0, + 33,98, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 1,94, 0, 0, + 38,65, 0, 0, + 1,65, 0, 0, + 46,98, 0, 0, + 33,119, 0, 0, + 33,98, 0, 0, + 183,122, 0, 0, + 178,127, 0, 0, + 183,127, 0, 0, + 183,122, 0, 0, + 178,127, 0, 0, + 183,127, 0, 0, + 175,41, 0, 0, + 154,62, 0, 0, + 175,62, 0, 0, + 250,62, 0, 0, + 255,41, 0, 0, + 250,41, 0, 0, + 57,130, 0, 0, + 110,143, 0, 0, + 110,130, 0, 0, + 1,143, 0, 0, + 54,130, 0, 0, + 1,130, 0, 0, + 1,143, 0, 0, + 54,130, 0, 0, + 54,143, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 250,62, 0, 0, + 255,41, 0, 0, + 250,41, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 102,65, 0, 0, + 73,94, 0, 0, + 102,94, 0, 0, + 38,65, 0, 0, + 1,94, 0, 0, + 1,65, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 25,38, 0, 0, + 54,1, 0, 0, + 25,1, 0, 0, + 183,122, 0, 0, + 178,127, 0, 0, + 183,127, 0, 0, + 183,122, 0, 0, + 178,127, 0, 0, + 183,127, 0, 0, + 46,98, 0, 0, + 33,119, 0, 0, + 46,119, 0, 0, + 223,62, 0, 0, + 202,41, 0, 0, + 223,41, 0, 0, + 54,1, 0, 0, + 25,38, 0, 0, + 54,38, 0, 0, + 54,1, 0, 0, + 25,38, 0, 0, + 25,1, 0, 0, + 33,119, 0, 0, + 46,98, 0, 0, + 46,119, 0, 0, + 202,41, 0, 0, + 223,62, 0, 0, + 223,41, 0, 0, + 189,122, 0, 0, + 189,122, 0, 0, + 189,122, 0, 0, + 151,94, 0, 0, + 151,65, 0, 0, + 130,65, 0, 0, + 105,94, 0, 0, + 105,65, 0, 0, + 126,65, 0, 0, + 154,94, 0, 0, + 175,65, 0, 0, + 154,65, 0, 0, + 86,38, 0, 0, + 86,1, 0, 0, + 73,1, 0, 0, + 70,38, 0, 0, + 70,1, 0, 0, + 57,1, 0, 0, + 102,38, 0, 0, + 89,1, 0, 0, + 89,38, 0, 0, + 135,38, 0, 0, + 121,1, 0, 0, + 135,1, 0, 0, + 105,38, 0, 0, + 118,1, 0, 0, + 118,38, 0, 0, + 73,38, 0, 0, + 73,1, 0, 0, + 86,1, 0, 0, + 105,38, 0, 0, + 105,1, 0, 0, + 118,1, 0, 0, + 130,122, 0, 0, + 135,122, 0, 0, + 130,127, 0, 0, + 178,175, 0, 0, + 191,175, 0, 0, + 191,162, 0, 0, + 135,122, 0, 0, + 132,127, 0, 0, + 130,127, 0, 0, + 151,127, 0, 0, + 146,122, 0, 0, + 148,124, 0, 0, + 175,65, 0, 0, + 154,94, 0, 0, + 175,94, 0, 0, + 189,122, 0, 0, + 189,122, 0, 0, + 189,122, 0, 0, + 178,94, 0, 0, + 178,65, 0, 0, + 199,65, 0, 0, + 105,65, 0, 0, + 126,65, 0, 0, + 105,94, 0, 0, + 189,122, 0, 0, + 189,122, 0, 0, + 189,122, 0, 0, + 113,127, 0, 0, + 116,124, 0, 0, + 113,124, 0, 0, + 116,124, 0, 0, + 116,122, 0, 0, + 113,122, 0, 0, + 116,124, 0, 0, + 118,122, 0, 0, + 116,122, 0, 0, + 113,124, 0, 0, + 116,124, 0, 0, + 116,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 116,127, 0, 0, + 113,127, 0, 0, + 113,124, 0, 0, + 116,124, 0, 0, + 118,124, 0, 0, + 116,122, 0, 0, + 116,124, 0, 0, + 113,122, 0, 0, + 113,124, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 113,122, 0, 0, + 118,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 113,127, 0, 0, + 118,122, 0, 0, + 113,122, 0, 0, + 116,124, 0, 0, + 118,122, 0, 0, + 116,122, 0, 0, + 113,124, 0, 0, + 113,122, 0, 0, + 116,122, 0, 0, + 113,127, 0, 0, + 116,124, 0, 0, + 113,124, 0, 0, + 113,124, 0, 0, + 116,124, 0, 0, + 116,122, 0, 0, + 113,127, 0, 0, + 113,124, 0, 0, + 116,124, 0, 0, + 118,127, 0, 0, + 113,122, 0, 0, + 118,122, 0, 0, + 234,119, 0, 0, + 247,114, 0, 0, + 247,119, 0, 0, + 121,127, 0, 0, + 126,127, 0, 0, + 126,122, 0, 0, + 226,159, 0, 0, + 255,146, 0, 0, + 255,159, 0, 0, + 255,146, 0, 0, + 226,159, 0, 0, + 255,159, 0, 0, + 159,162, 0, 0, + 146,162, 0, 0, + 159,175, 0, 0, + 126,122, 0, 0, + 121,122, 0, 0, + 121,127, 0, 0, + 124,124, 0, 0, + 126,127, 0, 0, + 124,127, 0, 0, + 121,124, 0, 0, + 124,124, 0, 0, + 124,127, 0, 0, + 121,124, 0, 0, + 124,124, 0, 0, + 124,127, 0, 0, + 247,1, 0, 0, + 247,30, 0, 0, + 224,30, 0, 0, + 210,111, 0, 0, + 210,98, 0, 0, + 232,98, 0, 0, + 121,127, 0, 0, + 121,124, 0, 0, + 121,122, 0, 0, + 130,122, 0, 0, + 132,122, 0, 0, + 135,122, 0, 0, + 135,122, 0, 0, + 135,127, 0, 0, + 132,127, 0, 0, + 151,127, 0, 0, + 151,122, 0, 0, + 146,122, 0, 0, + 105,65, 0, 0, + 116,65, 0, 0, + 126,65, 0, 0, + 189,122, 0, 0, + 189,122, 0, 0, + 189,122, 0, 0, + 159,162, 0, 0, + 152,162, 0, 0, + 146,162, 0, 0 +}; + +CVECTOR level1_modelLara_color[] = { + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 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, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,18,0, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,235,234, 0, + 255,221,218, 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,18,0, 0, + 255,18,0, 0, + 255,255,255, 0, + 255,18,0, 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,221,218, 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, + 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,235,234, 0, + 255,142,132, 0, + 255,50,35, 0, + 255,235,234, 0, + 255,50,35, 0, + 255,221,218, 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, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,18,0, 0, + 255,50,35, 0, + 255,142,132, 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, + 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, + 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, + 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,235,234, 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, + 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, + 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,242,241, 0, + 255,255,255, 0, + 255,221,218, 0, + 255,242,241, 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, + 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,221,218, 0, + 255,47,31, 0, + 255,242,241, 0, + 255,235,234, 0, + 255,255,255, 0, + 255,142,132, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,199,195, 0, + 255,142,132, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,50,35, 0, + 255,18,0, 0, + 255,47,31, 0, + 255,199,195, 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,235,234, 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,142,132, 0, + 255,23,5, 0, + 255,18,0, 0, + 255,142,132, 0, + 255,199,195, 0, + 255,23,5, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,47,31, 0, + 255,221,218, 0, + 255,50,35, 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, + 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,59,45, 0, + 255,20,2, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,26,9, 0, + 255,59,45, 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,31,13, 0, + 255,26,9, 0, + 255,18,0, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,59,45, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,59,45, 0, + 255,26,9, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,105,94, 0, + 255,63,48, 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,26,9, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,19,1, 0, + 255,18,0, 0, + 255,20,2, 0, + 255,26,9, 0, + 255,31,13, 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, + 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, + 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, + 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, + 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,251,251, 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,251,251, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,251,251, 0, + 255,255,255, 0, + 255,229,227, 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, + 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, + 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, + 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,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,19,2, 0, + 255,19,1, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 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,18,0, 0, + 255,49,34, 0, + 255,22,5, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,35,18, 0, + 255,26,8, 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, + 255,255,255, 0, + 255,255,255, 0, + 255,18,0, 0, + 255,22,5, 0, + 255,35,18, 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,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,22,5, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 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,18,0, 0, + 255,18,0, 0, + 255,22,5, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,19,2, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,19,1, 0, + 255,18,0, 0, + 255,18,0, 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,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,32,15, 0, + 255,18,0, 0, + 255,90,78, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,88,76, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,49,34, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 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,18,0, 0, + 255,32,15, 0, + 255,18,0, 0, + 255,49,34, 0, + 255,18,0, 0, + 255,32,15, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 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,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,88,76, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,1, 0, + 255,90,78, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,18,0, 0, + 255,90,78, 0, + 255,18,0, 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,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,32,15, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 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,18,0, 0, + 255,18,0, 0, + 255,18,1, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,19,2, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 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,18,0, 0, + 255,88,76, 0, + 255,163,155, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,255,255, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,90,78, 0, + 255,18,0, 0, + 255,163,155, 0, + 255,18,0, 0, + 255,18,0, 0, + 255,18,0, 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, + 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, + 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, + 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, + 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, + 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, + 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 level1_modelLara_index[] = { + 181,156,165,0,4, + 181,165,196,0,4, + 139,156,167,0,4, + 139,167,149,0,4, + 165,156,139,0,4, + 165,139,150,0,4, + 171,149,167,0,4, + 171,167,185,0,4, + 183,165,150,0,4, + 183,150,169,0,4, + 166,150,139,0,4, + 166,139,152,0,4, + 188,171,185,0,4, + 185,201,188,0,4, + 189,183,169,0,4, + 189,169,184,0,4, + 193,201,209,0,4, + 193,209,207,0,4, + 181,167,156,0,4, + 167,181,185,0,4, + 196,165,183,0,4, + 181,209,185,0,4, + 209,181,196,0,4, + 189,183,196,0,4, + 196,207,209,0,4, + 149,152,139,0,4, + 152,149,171,0,4, + 150,166,169,0,4, + 188,152,171,0,4, + 152,188,166,0,4, + 166,184,169,0,4, + 188,193,166,0,4, + 197,221,216,0,4, + 225,207,196,0,4, + 197,216,186,0,4, + 202,197,186,0,4, + 202,186,194,0,4, + 220,202,194,0,4, + 220,194,218,0,4, + 189,213,183,0,4, + 196,189,195,0,4, + 183,223,196,0,4, + 196,195,207,0,4, + 241,224,225,0,4, + 241,225,246,0,4, + 214,195,224,0,4, + 223,246,225,0,4, + 224,239,214,0,4, + 214,238,213,0,4, + 213,242,223,0,4, + 194,216,218,0,4, + 216,194,186,0,4, + 220,197,202,0,4, + 197,220,221,0,4, + 218,221,220,0,4, + 221,218,216,0,4, + 225,196,223,0,4, + 223,183,213,0,4, + 238,214,239,0,4, + 224,207,225,0,4, + 242,213,238,0,4, + 223,242,246,0,4, + 224,241,239,0,4, + 241,250,246,0,4, + 330,295,297,0,4, + 288,323,324,0,4, + 330,297,334,0,4, + 295,278,282,0,4, + 295,282,297,0,4, + 278,241,246,0,4, + 323,288,289,0,4, + 288,329,296,0,4, + 329,288,324,0,4, + 297,329,334,0,4, + 329,297,296,0,4, + 295,323,289,0,4, + 323,295,330,0,4, + 273,289,288,0,4, + 289,273,274,0,4, + 273,296,281,0,4, + 296,273,288,0,4, + 281,297,282,0,4, + 297,281,296,0,4, + 274,295,289,0,4, + 295,274,278,0,4, + 242,282,246,0,4, + 278,246,282,0,4, + 329,340,334,0,4, + 331,332,327,0,4, + 331,327,326,0,4, + 340,329,332,0,4, + 342,337,340,0,4, + 342,340,343,0,4, + 330,327,323,0,4, + 343,341,339,0,4, + 343,339,342,0,4, + 336,331,326,0,4, + 336,326,333,0,4, + 326,339,333,0,4, + 339,326,327,0,4, + 336,332,331,0,4, + 332,336,341,0,4, + 333,341,336,0,4, + 341,333,339,0,4, + 332,323,327,0,4, + 327,342,339,0,4, + 342,327,337,0,4, + 343,332,341,0,4, + 332,343,340,0,4, + 162,190,199,0,4, + 162,199,174,0,4, + 162,174,170,0,4, + 162,170,161,0,4, + 187,161,170,0,4, + 187,170,191,0,4, + 211,192,217,0,4, + 211,217,231,0,4, + 217,184,210,0,4, + 211,229,200,0,4, + 210,230,217,0,4, + 226,210,198,0,4, + 228,198,200,0,4, + 190,161,187,0,4, + 161,190,162,0,4, + 174,191,170,0,4, + 191,174,199,0,4, + 199,187,191,0,4, + 187,199,190,0,4, + 217,192,184,0,4, + 210,226,230,0,4, + 198,228,226,0,4, + 229,228,200,0,4, + 230,231,217,0,4, + 232,236,226,0,4, + 278,239,241,0,4, + 306,286,303,0,4, + 263,258,251,0,4, + 253,268,260,0,4, + 253,259,268,0,4, + 285,265,266,0,4, + 284,298,302,0,4, + 303,283,299,0,4, + 303,286,283,0,4, + 286,264,283,0,4, + 257,240,245,0,4, + 229,227,228,0,4, + 277,267,272,0,4, + 311,290,293,0,4, + 311,293,314,0,4, + 275,263,267,0,4, + 275,267,277,0,4, + 252,237,240,0,4, + 252,240,257,0,4, + 264,286,270,0,4, + 264,284,283,0,4, + 298,284,285,0,4, + 298,287,305,0,4, + 275,287,269,0,4, + 280,292,294,0,4, + 306,292,291,0,4, + 276,259,270,0,4, + 247,259,253,0,4, + 247,255,254,0,4, + 266,255,256,0,4, + 249,258,256,0,4, + 275,258,263,0,4, + 280,271,279,0,4, + 260,271,261,0,4, + 247,236,232,0,4, + 247,233,248,0,4, + 237,235,229,0,4, + 252,235,237,0,4, + 262,244,261,0,4, + 301,302,310,0,4, + 311,315,310,0,4, + 312,313,306,0,4, + 312,317,313,0,4, + 317,318,313,0,4, + 315,311,314,0,4, + 310,305,311,0,4, + 302,318,311,0,4, + 302,321,304,0,4, + 307,308,299,0,4, + 301,307,302,0,4, + 307,299,302,0,4, + 308,303,299,0,4, + 308,312,303,0,4, + 312,306,303,0,4, + 211,231,229,0,4, + 244,262,245,0,4, + 261,243,260,0,4, + 261,244,243,0,4, + 234,251,249,0,4, + 234,235,251,0,4, + 235,252,251,0,4, + 235,228,229,0,4, + 239,278,274,0,4, + 230,245,231,0,4, + 239,273,238,0,4, + 233,247,232,0,4, + 248,234,249,0,4, + 248,233,234,0,4, + 243,253,260,0,4, + 243,236,253,0,4, + 236,247,253,0,4, + 316,302,304,0,4, + 321,302,311,0,4, + 261,272,262,0,4, + 261,271,272,0,4, + 271,280,272,0,4, + 279,268,276,0,4, + 279,271,268,0,4, + 271,260,268,0,4, + 263,251,252,0,4, + 258,249,251,0,4, + 256,269,266,0,4, + 256,258,269,0,4, + 258,275,269,0,4, + 256,248,249,0,4, + 256,255,248,0,4, + 255,247,248,0,4, + 254,265,264,0,4, + 254,255,265,0,4, + 255,266,265,0,4, + 259,276,268,0,4, + 270,254,264,0,4, + 270,259,254,0,4, + 259,247,254,0,4, + 291,279,276,0,4, + 291,292,279,0,4, + 292,280,279,0,4, + 294,313,318,0,4, + 294,292,313,0,4, + 292,306,313,0,4, + 269,285,266,0,4, + 269,287,285,0,4, + 287,298,285,0,4, + 305,290,311,0,4, + 305,287,290,0,4, + 287,275,290,0,4, + 285,284,265,0,4, + 284,264,265,0,4, + 283,302,299,0,4, + 283,284,302,0,4, + 270,291,276,0,4, + 270,286,291,0,4, + 286,306,291,0,4, + 257,245,262,0,4, + 277,272,280,0,4, + 267,262,272,0,4, + 267,257,262,0,4, + 267,263,257,0,4, + 263,252,257,0,4, + 314,294,318,0,4, + 314,293,294,0,4, + 293,280,294,0,4, + 293,277,280,0,4, + 293,290,277,0,4, + 290,275,277,0,4, + 309,316,304,0,4, + 337,334,340,0,4, + 309,304,300,0,4, + 335,321,325,0,4, + 335,325,338,0,4, + 337,330,334,0,4, + 321,311,318,0,4, + 338,328,322,0,4, + 338,322,335,0,4, + 320,309,300,0,4, + 320,300,319,0,4, + 328,309,320,0,4, + 309,328,316,0,4, + 304,319,300,0,4, + 319,304,322,0,4, + 322,320,319,0,4, + 320,322,328,0,4, + 302,306,318,0,4, + 306,302,316,0,4, + 316,318,306,0,4, + 338,316,328,0,4, + 316,338,325,0,4, + 304,335,322,0,4, + 335,304,321,0,4, + 141,133,154,0,4, + 126,131,88,0,4, + 121,101,67,0,4, + 82,80,54,0,4, + 206,180,208,0,4, + 83,109,85,0,4, + 141,154,157,0,4, + 126,88,81,0,4, + 111,88,131,0,4, + 111,131,143,0,4, + 142,111,143,0,4, + 142,143,160,0,4, + 140,142,160,0,4, + 140,160,159,0,4, + 133,140,159,0,4, + 133,159,154,0,4, + 121,67,87,0,4, + 82,54,49,0,4, + 101,86,52,0,4, + 101,52,67,0,4, + 79,82,49,0,4, + 79,49,42,0,4, + 86,77,34,0,4, + 86,34,52,0,4, + 77,79,42,0,4, + 77,42,34,0,4, + 138,121,87,0,4, + 138,87,99,0,4, + 80,78,59,0,4, + 80,59,54,0,4, + 184,198,210,0,4, + 147,138,99,0,4, + 147,99,134,0,4, + 163,156,167,0,4, + 145,141,157,0,4, + 145,157,163,0,4, + 83,85,70,0,4, + 70,50,61,0,4, + 70,61,83,0,4, + 61,50,59,0,4, + 61,59,78,0,4, + 149,163,167,0,4, + 134,149,139,0,4, + 126,85,109,0,4, + 85,126,81,0,4, + 154,126,132,0,4, + 85,81,65,0,4, + 123,133,81,0,4, + 123,81,88,0,4, + 123,88,111,0,4, + 123,111,142,0,4, + 123,142,140,0,4, + 123,140,133,0,4, + 151,126,154,0,4, + 151,131,126,0,4, + 151,143,131,0,4, + 151,160,143,0,4, + 151,159,160,0,4, + 151,154,159,0,4, + 163,138,147,0,4, + 156,134,139,0,4, + 134,141,145,0,4, + 180,172,179,0,4, + 132,125,154,0,4, + 58,65,133,0,4, + 121,115,101,0,4, + 115,121,129,0,4, + 129,114,115,0,4, + 114,129,125,0,4, + 114,125,97,0,4, + 125,104,97,0,4, + 97,104,82,0,4, + 104,80,82,0,4, + 101,94,86,0,4, + 94,101,115,0,4, + 115,95,94,0,4, + 95,115,114,0,4, + 114,90,95,0,4, + 90,114,97,0,4, + 97,79,90,0,4, + 79,97,82,0,4, + 86,94,77,0,4, + 94,95,77,0,4, + 95,90,77,0,4, + 90,79,77,0,4, + 56,87,67,0,4, + 87,56,71,0,4, + 48,71,56,0,4, + 71,48,58,0,4, + 39,58,48,0,4, + 39,45,58,0,4, + 49,45,39,0,4, + 54,45,49,0,4, + 41,67,52,0,4, + 67,41,56,0,4, + 35,56,41,0,4, + 56,35,48,0,4, + 36,48,35,0,4, + 48,36,39,0,4, + 39,36,42,0,4, + 42,49,39,0,4, + 34,41,52,0,4, + 34,35,41,0,4, + 34,36,35,0,4, + 34,42,36,0,4, + 125,100,104,0,4, + 54,38,45,0,4, + 80,100,78,0,4, + 65,59,85,0,4, + 100,109,78,0,4, + 81,133,65,0,4, + 59,65,38,0,4, + 109,100,132,0,4, + 126,109,132,0,4, + 100,80,104,0,4, + 156,163,147,0,4, + 138,163,157,0,4, + 141,134,99,0,4, + 59,50,70,0,4, + 70,85,59,0,4, + 78,83,61,0,4, + 78,109,83,0,4, + 38,58,45,0,4, + 38,54,59,0,4, + 65,58,38,0,4, + 58,133,71,0,4, + 125,132,100,0,4, + 154,125,129,0,4, + 71,141,99,0,4, + 141,71,133,0,4, + 154,138,157,0,4, + 138,154,129,0,4, + 71,99,87,0,4, + 138,129,121,0,4, + 128,124,135,0,4, + 135,130,128,0,4, + 128,117,105,0,4, + 128,105,124,0,4, + 117,103,105,0,4, + 60,57,43,0,4, + 43,46,60,0,4, + 60,72,57,0,4, + 72,64,55,0,4, + 72,55,57,0,4, + 55,64,51,0,4, + 51,46,43,0,4, + 51,43,55,0,4, + 60,103,122,0,4, + 60,46,103,0,4, + 72,122,135,0,4, + 72,60,122,0,4, + 64,135,124,0,4, + 64,72,135,0,4, + 51,124,105,0,4, + 51,64,124,0,4, + 46,105,103,0,4, + 117,128,130,0,4, + 55,43,57,0,4, + 46,51,105,0,4, + 130,135,122,0,4, + 117,122,103,0,4, + 117,130,122,0,4, + 180,173,172,0,4, + 135,122,148,0,4, + 124,158,153,0,4, + 149,134,145,0,4, + 103,146,144,0,4, + 180,176,173,0,4, + 124,135,158,0,4, + 122,144,148,0,4, + 122,135,124,0,4, + 122,103,144,0,4, + 156,147,134,0,4, + 135,148,158,0,4, + 103,105,146,0,4, + 149,145,163,0,4, + 105,103,124,0,4, + 105,153,146,0,4, + 122,124,103,0,4, + 105,124,153,0,4, + 146,155,144,0,4, + 146,144,148,0,4, + 155,148,144,0,4, + 158,168,146,0,4, + 148,175,158,0,4, + 155,168,175,0,4, + 155,175,164,0,4, + 158,175,168,0,4, + 179,136,120,0,4, + 112,110,119,0,4, + 178,182,177,0,4, + 179,120,172,0,4, + 180,137,136,0,4, + 180,136,179,0,4, + 176,127,137,0,4, + 176,137,180,0,4, + 173,113,127,0,4, + 173,127,176,0,4, + 172,120,113,0,4, + 172,113,173,0,4, + 119,110,136,0,4, + 110,120,136,0,4, + 136,137,119,0,4, + 112,119,127,0,4, + 119,137,127,0,4, + 112,127,113,0,4, + 113,120,110,0,4, + 110,112,113,0,4, + 179,172,177,0,4, + 180,179,182,0,4, + 179,177,182,0,4, + 182,178,176,0,4, + 176,180,182,0,4, + 173,176,178,0,4, + 172,173,177,0,4, + 173,178,177,0,4, + 198,184,169,0,4, + 233,228,234,0,4, + 204,173,203,0,4, + 205,179,172,0,4, + 208,179,205,0,4, + 203,176,206,0,4, + 205,172,204,0,4, + 203,173,176,0,4, + 208,180,179,0,4, + 204,172,173,0,4, + 169,200,198,0,4, + 206,176,180,0,4, + 228,235,234,0,4, + 242,238,239,0,4, + 208,219,206,0,4, + 222,204,215,0,4, + 203,212,215,0,4, + 206,212,203,0,4, + 222,215,212,0,4, + 222,212,219,0,4, + 206,219,212,0,4, + 29,47,62,0,4, + 32,25,5,0,4, + 0,1,3,0,4, + 107,118,116,0,4, + 11,2,7,0,4, + 37,31,17,0,4, + 18,29,19,0,4, + 1,5,3,0,4, + 4,18,9,0,4, + 76,29,62,0,4, + 29,76,19,0,4, + 5,1,32,0,4, + 21,5,25,0,4, + 62,93,96,0,4, + 73,21,25,0,4, + 107,116,98,0,4, + 107,106,118,0,4, + 108,102,116,0,4, + 108,116,118,0,4, + 89,108,118,0,4, + 89,118,106,0,4, + 102,92,98,0,4, + 102,98,116,0,4, + 84,102,108,0,4, + 84,108,89,0,4, + 84,92,102,0,4, + 107,96,106,0,4, + 84,68,92,0,4, + 92,91,98,0,4, + 91,92,68,0,4, + 75,84,89,0,4, + 68,84,75,0,4, + 106,75,89,0,4, + 75,106,96,0,4, + 91,107,98,0,4, + 96,107,91,0,4, + 44,76,91,0,4, + 91,76,96,0,4, + 68,75,32,0,4, + 32,20,68,0,4, + 66,68,53,0,4, + 68,66,91,0,4, + 20,53,68,0,4, + 76,62,96,0,4, + 96,73,75,0,4, + 11,23,8,0,4, + 37,44,66,0,4, + 31,20,17,0,4, + 31,66,53,0,4, + 96,93,73,0,4, + 73,74,63,0,4, + 26,40,63,0,4, + 74,73,93,0,4, + 63,40,73,0,4, + 69,74,93,0,4, + 3,5,21,0,4, + 0,3,4,0,4, + 18,19,9,0,4, + 4,3,6,0,4, + 17,0,4,0,4, + 69,27,33,0,4, + 22,27,13,0,4, + 24,47,23,0,4, + 24,13,28,0,4, + 21,10,7,0,4, + 7,13,11,0,4, + 15,12,26,0,4, + 12,13,10,0,4, + 47,93,62,0,4, + 76,44,19,0,4, + 20,1,0,0,4, + 4,9,17,0,4, + 19,44,9,0,4, + 0,17,20,0,4, + 21,7,2,0,4, + 21,73,40,0,4, + 28,69,47,0,4, + 93,47,69,0,4, + 47,18,23,0,4, + 44,17,9,0,4, + 75,73,25,0,4, + 53,20,31,0,4, + 40,10,21,0,4, + 23,6,8,0,4, + 6,2,8,0,4, + 2,11,8,0,4, + 20,32,1,0,4, + 28,47,24,0,4, + 23,11,24,0,4, + 26,16,15,0,4, + 13,15,14,0,4, + 33,27,22,0,4, + 16,22,14,0,4, + 16,33,22,0,4, + 69,33,74,0,4, + 30,26,74,0,4, + 12,40,26,0,4, + 40,12,10,0,4, + 13,27,28,0,4, + 13,24,11,0,4, + 13,7,10,0,4, + 47,29,18,0,4, + 69,28,27,0,4, + 13,12,15,0,4, + 3,21,2,0,4, + 15,16,14,0,4, + 22,13,14,0,4, + 37,66,31,0,4, + 17,44,37,0,4, + 6,18,4,0,4, + 26,63,74,0,4, + 33,30,74,0,4, + 16,26,30,0,4, + 2,6,3,0,4, + 25,32,75,0,4, + 66,44,91,0,4, + 33,16,30,0,4, + 6,23,18,0,4, + 146,148,158,0,4, + 148,164,175,0,4, + 146,168,155,0,4, + 148,155,164,0,4, + 224,195,207,0,4, + 214,189,195,0,4, + 213,189,214,0,4, + 200,169,166,0,4, + 200,193,211,0,4, + 211,193,192,0,4, + 200,166,193,0,4, + 207,189,193,0,4, + 189,207,196,0,4, + 189,192,193,0,4, + 184,193,192,0,4, + 215,204,203,0,4, + 203,206,208,0,4, + 208,222,219,0,4, + 208,204,222,0,4, + 203,205,204,0,4, + 230,236,243,0,4, + 240,229,231,0,4, + 244,230,243,0,4, + 230,244,245,0,4, + 273,239,274,0,4, + 229,231,230,0,4, + 240,237,229,0,4, + 240,231,245,0,4, + 273,242,238,0,4, + 242,241,246,0,4, + 242,273,281,0,4, + 282,242,281,0,4, + 236,230,226,0,4, + 227,230,226,0,4, + 228,233,226,0,4, + 226,233,232,0,4, + 228,227,226,0,4, + 242,239,241,0,4, + 321,318,325,0,4, + 330,334,329,0,4, + 327,330,337,0,4, + 318,316,325,0,4, + 329,323,332,0,4, + 329,323,330,0,4, + 302,298,305,0,4, + 310,302,305,0,4, + 318,315,314,0,4, + 185,209,201,0,4, + 193,188,201,0,4, + 302,299,306,0,4, + 207,195,189,0,4, + 189,184,192,0,4, + 184,166,193,0,4, + 208,205,204,0,4, + 203,208,205,0,4, + 329,324,323,0,4 +}; + +BODY level1_modelLara_body = { + {0, 0, 0, 0}, + 59,-78,106, 0, + 0,-3141,0, 0, + 48, + ONE/48, + -40,-79,-18, 0, + 39,106,16, 0, + 0, + }; + +TMESH level1_modelLara = { + level1_modelLara_mesh, + level1_modelLara_normal, + level1_modelLara_uv, + level1_modelLara_color, + 694 +}; + +extern unsigned long _binary_TIM_lara_tim_start[]; +extern unsigned long _binary_TIM_lara_tim_end[]; +extern unsigned long _binary_TIM_lara_tim_length; + +TIM_IMAGE level1_tim_lara; + +MESH level1_meshLara = { + &level1_modelLara, + level1_modelLara_index, + &level1_tim_lara, + _binary_TIM_lara_tim_start, + {0}, + {59,-78,106, 0}, + {0,-3141,0}, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + &level1_modelLara_body, + 0, + 0, + 0 +}; + SVECTOR level1_modelobject_mesh[] = { { 9,17,-20 }, { 9,0,-20 }, @@ -3438,19 +8968,6 @@ PRIM level1_modelobject_index[] = { 1,3,2,0,4 }; -MATRIX level1_modelobject_matrix = {0}; -VECTOR level1_modelobject_pos = {400,-22,-147, 0}; -SVECTOR level1_modelobject_rot = {0,2565,0}; -short level1_modelobject_isRigidBody = 0; -short level1_modelobject_isStaticBody = 1; -short level1_modelobject_isPrism = 0; -short level1_modelobject_isAnim = 0; -short level1_modelobject_isActor = 0; -short level1_modelobject_isLevel = 0; -short level1_modelobject_isBG = 0; -short level1_modelobject_isSprite = 0; -long level1_modelobject_p = 0; -long level1_modelobject_OTz = 0; BODY level1_modelobject_body = { {0, 0, 0, 0}, 400,-22,-147, 0, @@ -3475,19 +8992,19 @@ MESH level1_meshobject = { level1_modelobject_index, &level1_tim_home, _binary_TIM_home_tim_start, - &level1_modelobject_matrix, - &level1_modelobject_pos, - &level1_modelobject_rot, - &level1_modelobject_isRigidBody, - &level1_modelobject_isStaticBody, - &level1_modelobject_isPrism, - &level1_modelobject_isAnim, - &level1_modelobject_isActor, - &level1_modelobject_isLevel, - &level1_modelobject_isBG, - &level1_modelobject_isSprite, - &level1_modelobject_p, - &level1_modelobject_OTz, + {0}, + {400,-22,-147, 0}, + {0,2565,0}, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, &level1_modelobject_body, 0, 0, @@ -3525,19 +9042,6 @@ PRIM level1_modelPlan_index[] = { 0,1,3,2,8 }; -MATRIX level1_modelPlan_matrix = {0}; -VECTOR level1_modelPlan_pos = {-40,-40,194, 0}; -SVECTOR level1_modelPlan_rot = {0,0,0}; -short level1_modelPlan_isRigidBody = 0; -short level1_modelPlan_isStaticBody = 1; -short level1_modelPlan_isPrism = 0; -short level1_modelPlan_isAnim = 0; -short level1_modelPlan_isActor = 0; -short level1_modelPlan_isLevel = 0; -short level1_modelPlan_isBG = 0; -short level1_modelPlan_isSprite = 1; -long level1_modelPlan_p = 0; -long level1_modelPlan_OTz = 0; BODY level1_modelPlan_body = { {0, 0, 0, 0}, -40,-40,194, 0, @@ -3562,19 +9066,19 @@ MESH level1_meshPlan = { level1_modelPlan_index, &level1_tim_home, _binary_TIM_home_tim_start, - &level1_modelPlan_matrix, - &level1_modelPlan_pos, - &level1_modelPlan_rot, - &level1_modelPlan_isRigidBody, - &level1_modelPlan_isStaticBody, - &level1_modelPlan_isPrism, - &level1_modelPlan_isAnim, - &level1_modelPlan_isActor, - &level1_modelPlan_isLevel, - &level1_modelPlan_isBG, - &level1_modelPlan_isSprite, - &level1_modelPlan_p, - &level1_modelPlan_OTz, + {0}, + {-40,-40,194, 0}, + {0,0,0}, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, &level1_modelPlan_body, 0, 0, @@ -4000,19 +9504,6 @@ PRIM level1_modelSphere_index[] = { 0,22,2,0,4 }; -MATRIX level1_modelSphere_matrix = {0}; -VECTOR level1_modelSphere_pos = {333,-129,-298, 0}; -SVECTOR level1_modelSphere_rot = {0,0,0}; -short level1_modelSphere_isRigidBody = 1; -short level1_modelSphere_isStaticBody = 0; -short level1_modelSphere_isPrism = 0; -short level1_modelSphere_isAnim = 0; -short level1_modelSphere_isActor = 1; -short level1_modelSphere_isLevel = 0; -short level1_modelSphere_isBG = 0; -short level1_modelSphere_isSprite = 0; -long level1_modelSphere_p = 0; -long level1_modelSphere_OTz = 0; BODY level1_modelSphere_body = { {0, 0, 0, 0}, 333,-129,-298, 0, @@ -4037,19 +9528,19 @@ MESH level1_meshSphere = { level1_modelSphere_index, &level1_tim_home, _binary_TIM_home_tim_start, - &level1_modelSphere_matrix, - &level1_modelSphere_pos, - &level1_modelSphere_rot, - &level1_modelSphere_isRigidBody, - &level1_modelSphere_isStaticBody, - &level1_modelSphere_isPrism, - &level1_modelSphere_isAnim, - &level1_modelSphere_isActor, - &level1_modelSphere_isLevel, - &level1_modelSphere_isBG, - &level1_modelSphere_isSprite, - &level1_modelSphere_p, - &level1_modelSphere_OTz, + {0}, + {333,-129,-298, 0}, + {0,0,0}, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0, &level1_modelSphere_body, 0, 0, @@ -4475,19 +9966,6 @@ PRIM level1_modelSphere_001_index[] = { 0,22,2,0,4 }; -MATRIX level1_modelSphere_001_matrix = {0}; -VECTOR level1_modelSphere_001_pos = {44,-73,92, 0}; -SVECTOR level1_modelSphere_001_rot = {0,0,0}; -short level1_modelSphere_001_isRigidBody = 1; -short level1_modelSphere_001_isStaticBody = 0; -short level1_modelSphere_001_isPrism = 0; -short level1_modelSphere_001_isAnim = 0; -short level1_modelSphere_001_isActor = 0; -short level1_modelSphere_001_isLevel = 0; -short level1_modelSphere_001_isBG = 0; -short level1_modelSphere_001_isSprite = 0; -long level1_modelSphere_001_p = 0; -long level1_modelSphere_001_OTz = 0; BODY level1_modelSphere_001_body = { {0, 0, 0, 0}, 44,-73,92, 0, @@ -4512,19 +9990,19 @@ MESH level1_meshSphere_001 = { level1_modelSphere_001_index, &level1_tim_home, _binary_TIM_home_tim_start, - &level1_modelSphere_001_matrix, - &level1_modelSphere_001_pos, - &level1_modelSphere_001_rot, - &level1_modelSphere_001_isRigidBody, - &level1_modelSphere_001_isStaticBody, - &level1_modelSphere_001_isPrism, - &level1_modelSphere_001_isAnim, - &level1_modelSphere_001_isActor, - &level1_modelSphere_001_isLevel, - &level1_modelSphere_001_isBG, - &level1_modelSphere_001_isSprite, - &level1_modelSphere_001_p, - &level1_modelSphere_001_OTz, + {0}, + {44,-73,92, 0}, + {0,0,0}, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, &level1_modelSphere_001_body, 0, &level1_nodegnd, @@ -4654,19 +10132,6 @@ PRIM level1_modelwall_index[] = { 10,9,6,0,4 }; -MATRIX level1_modelwall_matrix = {0}; -VECTOR level1_modelwall_pos = {1,-1,0, 0}; -SVECTOR level1_modelwall_rot = {0,0,0}; -short level1_modelwall_isRigidBody = 0; -short level1_modelwall_isStaticBody = 0; -short level1_modelwall_isPrism = 0; -short level1_modelwall_isAnim = 0; -short level1_modelwall_isActor = 0; -short level1_modelwall_isLevel = 0; -short level1_modelwall_isBG = 0; -short level1_modelwall_isSprite = 0; -long level1_modelwall_p = 0; -long level1_modelwall_OTz = 0; BODY level1_modelwall_body = { {0, 0, 0, 0}, 1,-1,0, 0, @@ -4691,19 +10156,19 @@ MESH level1_meshwall = { level1_modelwall_index, &level1_tim_home, _binary_TIM_home_tim_start, - &level1_modelwall_matrix, - &level1_modelwall_pos, - &level1_modelwall_rot, - &level1_modelwall_isRigidBody, - &level1_modelwall_isStaticBody, - &level1_modelwall_isPrism, - &level1_modelwall_isAnim, - &level1_modelwall_isActor, - &level1_modelwall_isLevel, - &level1_modelwall_isBG, - &level1_modelwall_isSprite, - &level1_modelwall_p, - &level1_modelwall_OTz, + {0}, + {1,-1,0, 0}, + {0,0,0}, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, &level1_modelwall_body, 0, 0, @@ -4901,19 +10366,6 @@ PRIM level1_modelwall_001_index[] = { 16,12,15,0,4 }; -MATRIX level1_modelwall_001_matrix = {0}; -VECTOR level1_modelwall_001_pos = {0,-1,0, 0}; -SVECTOR level1_modelwall_001_rot = {0,0,0}; -short level1_modelwall_001_isRigidBody = 0; -short level1_modelwall_001_isStaticBody = 0; -short level1_modelwall_001_isPrism = 0; -short level1_modelwall_001_isAnim = 0; -short level1_modelwall_001_isActor = 0; -short level1_modelwall_001_isLevel = 0; -short level1_modelwall_001_isBG = 0; -short level1_modelwall_001_isSprite = 0; -long level1_modelwall_001_p = 0; -long level1_modelwall_001_OTz = 0; BODY level1_modelwall_001_body = { {0, 0, 0, 0}, 0,-1,0, 0, @@ -4938,19 +10390,19 @@ MESH level1_meshwall_001 = { level1_modelwall_001_index, &level1_tim_home, _binary_TIM_home_tim_start, - &level1_modelwall_001_matrix, - &level1_modelwall_001_pos, - &level1_modelwall_001_rot, - &level1_modelwall_001_isRigidBody, - &level1_modelwall_001_isStaticBody, - &level1_modelwall_001_isPrism, - &level1_modelwall_001_isAnim, - &level1_modelwall_001_isActor, - &level1_modelwall_001_isLevel, - &level1_modelwall_001_isBG, - &level1_modelwall_001_isSprite, - &level1_modelwall_001_p, - &level1_modelwall_001_OTz, + {0}, + {0,-1,0, 0}, + {0,0,0}, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, &level1_modelwall_001_body, 0, 0, @@ -5148,19 +10600,6 @@ PRIM level1_modelwall_002_index[] = { 16,15,12,0,4 }; -MATRIX level1_modelwall_002_matrix = {0}; -VECTOR level1_modelwall_002_pos = {0,0,0, 0}; -SVECTOR level1_modelwall_002_rot = {0,0,0}; -short level1_modelwall_002_isRigidBody = 0; -short level1_modelwall_002_isStaticBody = 0; -short level1_modelwall_002_isPrism = 0; -short level1_modelwall_002_isAnim = 0; -short level1_modelwall_002_isActor = 0; -short level1_modelwall_002_isLevel = 0; -short level1_modelwall_002_isBG = 0; -short level1_modelwall_002_isSprite = 0; -long level1_modelwall_002_p = 0; -long level1_modelwall_002_OTz = 0; BODY level1_modelwall_002_body = { {0, 0, 0, 0}, 0,0,0, 0, @@ -5185,19 +10624,19 @@ MESH level1_meshwall_002 = { level1_modelwall_002_index, &level1_tim_home, _binary_TIM_home_tim_start, - &level1_modelwall_002_matrix, - &level1_modelwall_002_pos, - &level1_modelwall_002_rot, - &level1_modelwall_002_isRigidBody, - &level1_modelwall_002_isStaticBody, - &level1_modelwall_002_isPrism, - &level1_modelwall_002_isAnim, - &level1_modelwall_002_isActor, - &level1_modelwall_002_isLevel, - &level1_modelwall_002_isBG, - &level1_modelwall_002_isSprite, - &level1_modelwall_002_p, - &level1_modelwall_002_OTz, + {0}, + {0,0,0, 0}, + {0,0,0}, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, &level1_modelwall_002_body, 0, 0, @@ -5327,19 +10766,6 @@ PRIM level1_modelwall_003_index[] = { 4,2,0,0,4 }; -MATRIX level1_modelwall_003_matrix = {0}; -VECTOR level1_modelwall_003_pos = {0,0,-1, 0}; -SVECTOR level1_modelwall_003_rot = {0,0,0}; -short level1_modelwall_003_isRigidBody = 0; -short level1_modelwall_003_isStaticBody = 0; -short level1_modelwall_003_isPrism = 0; -short level1_modelwall_003_isAnim = 0; -short level1_modelwall_003_isActor = 0; -short level1_modelwall_003_isLevel = 0; -short level1_modelwall_003_isBG = 0; -short level1_modelwall_003_isSprite = 0; -long level1_modelwall_003_p = 0; -long level1_modelwall_003_OTz = 0; BODY level1_modelwall_003_body = { {0, 0, 0, 0}, 0,0,-1, 0, @@ -5364,32 +10790,33 @@ MESH level1_meshwall_003 = { level1_modelwall_003_index, &level1_tim_home, _binary_TIM_home_tim_start, - &level1_modelwall_003_matrix, - &level1_modelwall_003_pos, - &level1_modelwall_003_rot, - &level1_modelwall_003_isRigidBody, - &level1_modelwall_003_isStaticBody, - &level1_modelwall_003_isPrism, - &level1_modelwall_003_isAnim, - &level1_modelwall_003_isActor, - &level1_modelwall_003_isLevel, - &level1_modelwall_003_isBG, - &level1_modelwall_003_isSprite, - &level1_modelwall_003_p, - &level1_modelwall_003_OTz, + {0}, + {0,0,-1, 0}, + {0,0,0}, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, &level1_modelwall_003_body, 0, 0, 0 }; -MESH * level1_meshes[14] = { +MESH * level1_meshes[15] = { &level1_meshCube, &level1_meshCylindre, &level1_meshgnd, &level1_meshgnd_001, &level1_meshgnd_003, &level1_meshgnd_002, + &level1_meshLara, &level1_meshobject, &level1_meshPlan, &level1_meshSphere, @@ -5400,7 +10827,7 @@ MESH * level1_meshes[14] = { &level1_meshwall_003 }; -int level1_meshes_length = 14; +int level1_meshes_length = 15; CAMANGLE level1_camAngle_camPath_001 = { &level1_camPos_camPath_001, @@ -5415,21 +10842,27 @@ CAMANGLE level1_camAngle_camPath_001 = { CAMANGLE * level1_camAngles[0] = { }; -SIBLINGS level1_nodegnd_003_siblings = { - 1, +SIBLINGS level1_nodegnd_siblings = { + 3, { - &level1_nodegnd + &level1_nodegnd_002, + &level1_nodegnd_003, + &level1_nodegnd_001 } }; -CHILDREN level1_nodegnd_003_objects = { - 0, +CHILDREN level1_nodegnd_objects = { + 5, { - 0 + &level1_meshwall, + &level1_meshSphere_001, + &level1_meshLara, + &level1_meshCube, + &level1_meshwall_001 } }; -CHILDREN level1_nodegnd_003_rigidbodies = { +CHILDREN level1_nodegnd_rigidbodies = { 2, { &level1_meshSphere, @@ -5437,11 +10870,11 @@ CHILDREN level1_nodegnd_003_rigidbodies = { } }; -NODE level1_nodegnd_003 = { - &level1_meshgnd_003, - &level1_nodegnd_003_siblings, - &level1_nodegnd_003_objects, - &level1_nodegnd_003_rigidbodies +NODE level1_nodegnd = { + &level1_meshgnd, + &level1_nodegnd_siblings, + &level1_nodegnd_objects, + &level1_nodegnd_rigidbodies }; SIBLINGS level1_nodegnd_001_siblings = { @@ -5452,11 +10885,12 @@ SIBLINGS level1_nodegnd_001_siblings = { }; CHILDREN level1_nodegnd_001_objects = { - 3, + 4, { - &level1_meshwall_002, + &level1_meshCylindre, &level1_meshwall_003, - &level1_meshCylindre + &level1_meshPlan, + &level1_meshwall_002 } }; @@ -5504,27 +10938,21 @@ NODE level1_nodegnd_002 = { &level1_nodegnd_002_rigidbodies }; -SIBLINGS level1_nodegnd_siblings = { - 3, +SIBLINGS level1_nodegnd_003_siblings = { + 1, { - &level1_nodegnd_003, - &level1_nodegnd_002, - &level1_nodegnd_001 + &level1_nodegnd } }; -CHILDREN level1_nodegnd_objects = { - 5, +CHILDREN level1_nodegnd_003_objects = { + 0, { - &level1_meshPlan, - &level1_meshwall_001, - &level1_meshwall, - &level1_meshSphere_001, - &level1_meshCube + 0 } }; -CHILDREN level1_nodegnd_rigidbodies = { +CHILDREN level1_nodegnd_003_rigidbodies = { 2, { &level1_meshSphere, @@ -5532,11 +10960,11 @@ CHILDREN level1_nodegnd_rigidbodies = { } }; -NODE level1_nodegnd = { - &level1_meshgnd, - &level1_nodegnd_siblings, - &level1_nodegnd_objects, - &level1_nodegnd_rigidbodies +NODE level1_nodegnd_003 = { + &level1_meshgnd_003, + &level1_nodegnd_003_siblings, + &level1_nodegnd_003_objects, + &level1_nodegnd_003_rigidbodies }; MESH * level1_actorPtr = &level1_meshSphere; @@ -5546,3 +10974,19 @@ MESH * level1_propPtr = &level1_meshSphere_001; CAMANGLE * level1_camPtr = &level1_camAngle_camPath_001; NODE * level1_curNode = &level1_nodegnd_002; + +LEVEL level1 = { + &level1_cmat, + &level1_lgtmat, + &level1_meshes, + &level1_meshes_length, + &level1_meshSphere, + &level1_meshgnd_002, + &level1_meshSphere_001, + &level1_camAngle_camPath_001, + &level1_camPath, + &level1_camAngles, + &level1_nodegnd_002, + &level1_meshPlan +}; + diff --git a/levels/level1.h b/levels/level1.h index db8294d..31df560 100644 --- a/levels/level1.h +++ b/levels/level1.h @@ -2,6 +2,8 @@ #include "../custom_types.h" +extern LEVEL level1; + extern CAMPOS level1_camPos_camPath; extern CAMPOS level1_camPos_camPath_001; @@ -30,32 +32,6 @@ extern CVECTOR level1_modelCube_color[]; extern PRIM level1_modelCube_index[]; -extern MATRIX level1_modelCube_matrix; - -extern VECTOR level1_modelCube_pos; - -extern SVECTOR level1_modelCube_rot; - -extern short level1_modelCube_isRigidBody; - -extern short level1_modelCube_isStaticBody; - -extern short level1_modelCube_isPrism; - -extern short level1_modelCube_isAnim; - -extern short level1_modelCube_isActor; - -extern short level1_modelCube_isLevel; - -extern short level1_modelCube_isBG; - -extern short level1_modelCube_isSprite; - -extern long level1_modelCube_p; - -extern long level1_modelCube_OTz; - extern BODY level1_modelCube_body; extern TMESH level1_modelCube; @@ -82,32 +58,6 @@ extern PRIM level1_modelCylindre_index[]; extern VANIM level1_modelCylindre_anim; -extern MATRIX level1_modelCylindre_matrix; - -extern VECTOR level1_modelCylindre_pos; - -extern SVECTOR level1_modelCylindre_rot; - -extern short level1_modelCylindre_isRigidBody; - -extern short level1_modelCylindre_isStaticBody; - -extern short level1_modelCylindre_isPrism; - -extern short level1_modelCylindre_isAnim; - -extern short level1_modelCylindre_isActor; - -extern short level1_modelCylindre_isLevel; - -extern short level1_modelCylindre_isBG; - -extern short level1_modelCylindre_isSprite; - -extern long level1_modelCylindre_p; - -extern long level1_modelCylindre_OTz; - extern BODY level1_modelCylindre_body; extern TMESH level1_modelCylindre; @@ -132,32 +82,6 @@ extern CVECTOR level1_modelgnd_color[]; extern PRIM level1_modelgnd_index[]; -extern MATRIX level1_modelgnd_matrix; - -extern VECTOR level1_modelgnd_pos; - -extern SVECTOR level1_modelgnd_rot; - -extern short level1_modelgnd_isRigidBody; - -extern short level1_modelgnd_isStaticBody; - -extern short level1_modelgnd_isPrism; - -extern short level1_modelgnd_isAnim; - -extern short level1_modelgnd_isActor; - -extern short level1_modelgnd_isLevel; - -extern short level1_modelgnd_isBG; - -extern short level1_modelgnd_isSprite; - -extern long level1_modelgnd_p; - -extern long level1_modelgnd_OTz; - extern BODY level1_modelgnd_body; extern TMESH level1_modelgnd; @@ -174,32 +98,6 @@ extern CVECTOR level1_modelgnd_001_color[]; extern PRIM level1_modelgnd_001_index[]; -extern MATRIX level1_modelgnd_001_matrix; - -extern VECTOR level1_modelgnd_001_pos; - -extern SVECTOR level1_modelgnd_001_rot; - -extern short level1_modelgnd_001_isRigidBody; - -extern short level1_modelgnd_001_isStaticBody; - -extern short level1_modelgnd_001_isPrism; - -extern short level1_modelgnd_001_isAnim; - -extern short level1_modelgnd_001_isActor; - -extern short level1_modelgnd_001_isLevel; - -extern short level1_modelgnd_001_isBG; - -extern short level1_modelgnd_001_isSprite; - -extern long level1_modelgnd_001_p; - -extern long level1_modelgnd_001_OTz; - extern BODY level1_modelgnd_001_body; extern TMESH level1_modelgnd_001; @@ -216,32 +114,6 @@ extern CVECTOR level1_modelgnd_003_color[]; extern PRIM level1_modelgnd_003_index[]; -extern MATRIX level1_modelgnd_003_matrix; - -extern VECTOR level1_modelgnd_003_pos; - -extern SVECTOR level1_modelgnd_003_rot; - -extern short level1_modelgnd_003_isRigidBody; - -extern short level1_modelgnd_003_isStaticBody; - -extern short level1_modelgnd_003_isPrism; - -extern short level1_modelgnd_003_isAnim; - -extern short level1_modelgnd_003_isActor; - -extern short level1_modelgnd_003_isLevel; - -extern short level1_modelgnd_003_isBG; - -extern short level1_modelgnd_003_isSprite; - -extern long level1_modelgnd_003_p; - -extern long level1_modelgnd_003_OTz; - extern BODY level1_modelgnd_003_body; extern TMESH level1_modelgnd_003; @@ -258,38 +130,36 @@ extern CVECTOR level1_modelgnd_002_color[]; extern PRIM level1_modelgnd_002_index[]; -extern MATRIX level1_modelgnd_002_matrix; - -extern VECTOR level1_modelgnd_002_pos; - -extern SVECTOR level1_modelgnd_002_rot; - -extern short level1_modelgnd_002_isRigidBody; - -extern short level1_modelgnd_002_isStaticBody; - -extern short level1_modelgnd_002_isPrism; - -extern short level1_modelgnd_002_isAnim; - -extern short level1_modelgnd_002_isActor; - -extern short level1_modelgnd_002_isLevel; - -extern short level1_modelgnd_002_isBG; - -extern short level1_modelgnd_002_isSprite; - -extern long level1_modelgnd_002_p; - -extern long level1_modelgnd_002_OTz; - extern BODY level1_modelgnd_002_body; extern TMESH level1_modelgnd_002; extern MESH level1_meshgnd_002; +extern SVECTOR modelLara_mesh[]; + +extern SVECTOR level1_modelLara_normal[]; + +extern SVECTOR level1_modelLara_uv[]; + +extern CVECTOR level1_modelLara_color[]; + +extern PRIM level1_modelLara_index[]; + +extern BODY level1_modelLara_body; + +extern TMESH level1_modelLara; + +extern unsigned long _binary_TIM_lara_tim_start[]; + +extern unsigned long _binary_TIM_lara_tim_end[]; + +extern unsigned long _binary_TIM_lara_tim_length; + +extern TIM_IMAGE level1_tim_lara; + +extern MESH level1_meshLara; + extern SVECTOR modelobject_mesh[]; extern SVECTOR level1_modelobject_normal[]; @@ -300,32 +170,6 @@ extern CVECTOR level1_modelobject_color[]; extern PRIM level1_modelobject_index[]; -extern MATRIX level1_modelobject_matrix; - -extern VECTOR level1_modelobject_pos; - -extern SVECTOR level1_modelobject_rot; - -extern short level1_modelobject_isRigidBody; - -extern short level1_modelobject_isStaticBody; - -extern short level1_modelobject_isPrism; - -extern short level1_modelobject_isAnim; - -extern short level1_modelobject_isActor; - -extern short level1_modelobject_isLevel; - -extern short level1_modelobject_isBG; - -extern short level1_modelobject_isSprite; - -extern long level1_modelobject_p; - -extern long level1_modelobject_OTz; - extern BODY level1_modelobject_body; extern TMESH level1_modelobject; @@ -342,32 +186,6 @@ extern CVECTOR level1_modelPlan_color[]; extern PRIM level1_modelPlan_index[]; -extern MATRIX level1_modelPlan_matrix; - -extern VECTOR level1_modelPlan_pos; - -extern SVECTOR level1_modelPlan_rot; - -extern short level1_modelPlan_isRigidBody; - -extern short level1_modelPlan_isStaticBody; - -extern short level1_modelPlan_isPrism; - -extern short level1_modelPlan_isAnim; - -extern short level1_modelPlan_isActor; - -extern short level1_modelPlan_isLevel; - -extern short level1_modelPlan_isBG; - -extern short level1_modelPlan_isSprite; - -extern long level1_modelPlan_p; - -extern long level1_modelPlan_OTz; - extern BODY level1_modelPlan_body; extern TMESH level1_modelPlan; @@ -384,32 +202,6 @@ extern CVECTOR level1_modelSphere_color[]; extern PRIM level1_modelSphere_index[]; -extern MATRIX level1_modelSphere_matrix; - -extern VECTOR level1_modelSphere_pos; - -extern SVECTOR level1_modelSphere_rot; - -extern short level1_modelSphere_isRigidBody; - -extern short level1_modelSphere_isStaticBody; - -extern short level1_modelSphere_isPrism; - -extern short level1_modelSphere_isAnim; - -extern short level1_modelSphere_isActor; - -extern short level1_modelSphere_isLevel; - -extern short level1_modelSphere_isBG; - -extern short level1_modelSphere_isSprite; - -extern long level1_modelSphere_p; - -extern long level1_modelSphere_OTz; - extern BODY level1_modelSphere_body; extern TMESH level1_modelSphere; @@ -426,32 +218,6 @@ extern CVECTOR level1_modelSphere_001_color[]; extern PRIM level1_modelSphere_001_index[]; -extern MATRIX level1_modelSphere_001_matrix; - -extern VECTOR level1_modelSphere_001_pos; - -extern SVECTOR level1_modelSphere_001_rot; - -extern short level1_modelSphere_001_isRigidBody; - -extern short level1_modelSphere_001_isStaticBody; - -extern short level1_modelSphere_001_isPrism; - -extern short level1_modelSphere_001_isAnim; - -extern short level1_modelSphere_001_isActor; - -extern short level1_modelSphere_001_isLevel; - -extern short level1_modelSphere_001_isBG; - -extern short level1_modelSphere_001_isSprite; - -extern long level1_modelSphere_001_p; - -extern long level1_modelSphere_001_OTz; - extern BODY level1_modelSphere_001_body; extern TMESH level1_modelSphere_001; @@ -468,32 +234,6 @@ extern CVECTOR level1_modelwall_color[]; extern PRIM level1_modelwall_index[]; -extern MATRIX level1_modelwall_matrix; - -extern VECTOR level1_modelwall_pos; - -extern SVECTOR level1_modelwall_rot; - -extern short level1_modelwall_isRigidBody; - -extern short level1_modelwall_isStaticBody; - -extern short level1_modelwall_isPrism; - -extern short level1_modelwall_isAnim; - -extern short level1_modelwall_isActor; - -extern short level1_modelwall_isLevel; - -extern short level1_modelwall_isBG; - -extern short level1_modelwall_isSprite; - -extern long level1_modelwall_p; - -extern long level1_modelwall_OTz; - extern BODY level1_modelwall_body; extern TMESH level1_modelwall; @@ -510,32 +250,6 @@ extern CVECTOR level1_modelwall_001_color[]; extern PRIM level1_modelwall_001_index[]; -extern MATRIX level1_modelwall_001_matrix; - -extern VECTOR level1_modelwall_001_pos; - -extern SVECTOR level1_modelwall_001_rot; - -extern short level1_modelwall_001_isRigidBody; - -extern short level1_modelwall_001_isStaticBody; - -extern short level1_modelwall_001_isPrism; - -extern short level1_modelwall_001_isAnim; - -extern short level1_modelwall_001_isActor; - -extern short level1_modelwall_001_isLevel; - -extern short level1_modelwall_001_isBG; - -extern short level1_modelwall_001_isSprite; - -extern long level1_modelwall_001_p; - -extern long level1_modelwall_001_OTz; - extern BODY level1_modelwall_001_body; extern TMESH level1_modelwall_001; @@ -552,32 +266,6 @@ extern CVECTOR level1_modelwall_002_color[]; extern PRIM level1_modelwall_002_index[]; -extern MATRIX level1_modelwall_002_matrix; - -extern VECTOR level1_modelwall_002_pos; - -extern SVECTOR level1_modelwall_002_rot; - -extern short level1_modelwall_002_isRigidBody; - -extern short level1_modelwall_002_isStaticBody; - -extern short level1_modelwall_002_isPrism; - -extern short level1_modelwall_002_isAnim; - -extern short level1_modelwall_002_isActor; - -extern short level1_modelwall_002_isLevel; - -extern short level1_modelwall_002_isBG; - -extern short level1_modelwall_002_isSprite; - -extern long level1_modelwall_002_p; - -extern long level1_modelwall_002_OTz; - extern BODY level1_modelwall_002_body; extern TMESH level1_modelwall_002; @@ -594,39 +282,13 @@ extern CVECTOR level1_modelwall_003_color[]; extern PRIM level1_modelwall_003_index[]; -extern MATRIX level1_modelwall_003_matrix; - -extern VECTOR level1_modelwall_003_pos; - -extern SVECTOR level1_modelwall_003_rot; - -extern short level1_modelwall_003_isRigidBody; - -extern short level1_modelwall_003_isStaticBody; - -extern short level1_modelwall_003_isPrism; - -extern short level1_modelwall_003_isAnim; - -extern short level1_modelwall_003_isActor; - -extern short level1_modelwall_003_isLevel; - -extern short level1_modelwall_003_isBG; - -extern short level1_modelwall_003_isSprite; - -extern long level1_modelwall_003_p; - -extern long level1_modelwall_003_OTz; - extern BODY level1_modelwall_003_body; extern TMESH level1_modelwall_003; extern MESH level1_meshwall_003; -extern MESH * level1_meshes[14]; +extern MESH * level1_meshes[15]; extern int level1_meshes_length; @@ -634,13 +296,13 @@ extern CAMANGLE level1_camAngle_camPath_001; extern CAMANGLE * level1_camAngles[0]; -extern SIBLINGS level1_nodegnd_003_siblings; +extern SIBLINGS level1_nodegnd_siblings; -extern CHILDREN level1_nodegnd_003_objects; +extern CHILDREN level1_nodegnd_objects; -extern CHILDREN level1_nodegnd_003_rigidbodies; +extern CHILDREN level1_nodegnd_rigidbodies; -extern NODE level1_nodegnd_003; +extern NODE level1_nodegnd; extern SIBLINGS level1_nodegnd_001_siblings; @@ -658,13 +320,13 @@ extern CHILDREN level1_nodegnd_002_rigidbodies; extern NODE level1_nodegnd_002; -extern SIBLINGS level1_nodegnd_siblings; +extern SIBLINGS level1_nodegnd_003_siblings; -extern CHILDREN level1_nodegnd_objects; +extern CHILDREN level1_nodegnd_003_objects; -extern CHILDREN level1_nodegnd_rigidbodies; +extern CHILDREN level1_nodegnd_003_rigidbodies; -extern NODE level1_nodegnd; +extern NODE level1_nodegnd_003; extern MESH * level1_actorPtr; @@ -676,10 +338,11 @@ extern CAMANGLE * level1_camPtr; extern NODE * level1_curNode; -extern NODE level1_nodegnd_003; +extern NODE level1_nodegnd; extern NODE level1_nodegnd_001; extern NODE level1_nodegnd_002; -extern NODE level1_nodegnd; +extern NODE level1_nodegnd_003; + diff --git a/main.c b/main.c index d613f48..e2baf4d 100644 --- a/main.c +++ b/main.c @@ -20,7 +20,7 @@ // Blender debug mode // bpy. app. debug = True -//~ #define _WCHAR_T +#define _WCHAR_T #include "psx.h" #include "math.h" @@ -29,22 +29,28 @@ #include "graphics.h" #include "space.h" -#include -//~ #include "defines.h" +//~ #define USECD // START OVERLAY -extern u_long __load_start_ovly0; +extern u_long load_all_overlays_here; +extern u_long __lvl0_end; +extern u_long __lvl1_end; + +#define LLEVEL 1 -//~ #define LEVEL 0 //#define USE_POINTER -//~ #if LEVEL == 0 - //~ static const char*const overlayFile = "\\level.bin;1"; -//~ #else - //~ static const char*const overlayFile = "\\level1.bin;1"; -//~ #endif +#if LLEVEL == 0 + + static const char*const overlayFile = "\\level0.bin;1"; + +#else + + static const char*const overlayFile = "\\level1.bin;1"; + +#endif //~ #ifdef USE_POINTER @@ -60,15 +66,13 @@ extern u_long __load_start_ovly0; // END OVERLAY -//~ #if LEVEL == 0 -#include "levels/level.h" -//~ #elif LEVEL == 1 -#include "levels/level1.h" -//~ #endif +#include "levels/level0.h" -static char* overlayFile; +#include "levels/level1.h" + +//~ static char* overlayFile; -char level = 1; +//~ char level = 0; // Display and draw environments, double buffered @@ -138,25 +142,25 @@ u_long triCount = 0; // TODO : Add switch case to get the correct pointers - // Get needed pointers from level file +// Get needed pointers from level file - MATRIX * cmat, *lgtmat; +MATRIX * cmat, *lgtmat; - MESH * actorPtr, * levelPtr, * propPtr, ** meshes; +MESH * actorPtr, * levelPtr, * propPtr, ** meshes; - int * meshes_length; +int * meshes_length; - NODE * curNode; +NODE * curNode; - CAMPATH * camPath; +CAMPATH * camPath; - CAMANGLE * camPtr, ** camAngles; +CAMANGLE * camPtr, ** camAngles; - // Get rid of those +// Get rid of those - MESH * meshPlan; +MESH * meshPlan; - VECTOR * modelPlan_pos; +VECTOR * modelPlan_pos; // Pad @@ -164,84 +168,106 @@ void callback(); int main() { - CdInit(); + // Load overlay + + - int cdread = 0, cdsync = 1; + #ifdef USECD - if ( level == 0) { - - overlayFile = "\\level.bin;1"; + CdInit(); - } else { - - overlayFile = "\\level1.bin;1"; - } - - cdread = CdReadFile( (char *)(overlayFile), &__load_start_ovly0, 0); - - cdsync = CdReadSync(0, NULL); + LoadLevel(overlayFile, &load_all_overlays_here); + + #endif - if ( level == 0) { + if ( LLEVEL == 0 ) { - cmat = &level_cmat; + cmat = level0.cmat; - lgtmat = &level_lgtmat; + lgtmat = level0.lgtmat; - meshes = level_meshes; + meshes = (MESH **)level0.meshes; - meshes_length = &level_meshes_length; + meshes_length = level0.meshes_length; - actorPtr = level_actorPtr; + actorPtr = level0.actorPtr; - levelPtr = level_levelPtr; + levelPtr = level0.levelPtr; - propPtr = level_propPtr; + propPtr = level0.propPtr; - camPtr = level_camPtr; + camPtr = level0.camPtr; - camPath = &level_camPath; + camPath = level0.camPath; - camAngles = level_camAngles; + camAngles = (CAMANGLE **)level0.camAngles; - curNode = level_curNode; + curNode = level0.curNode; // Move these to drawPoly() - meshPlan = &level_meshPlan; + meshPlan = level0.meshPlan; - modelPlan_pos = &level_modelPlan_pos; - - } else if ( level == 1) { + //~ cmat = &level_cmat; - cmat = &level1_cmat; + //~ lgtmat = &level_lgtmat; - lgtmat = &level1_lgtmat; + //~ meshes = level_meshes; - meshes = level1_meshes; + //~ meshes_length = &level_meshes_length; - meshes_length = &level1_meshes_length; - - actorPtr = level1_actorPtr; + //~ actorPtr = level_actorPtr; - levelPtr = level1_levelPtr; + //~ levelPtr = level_levelPtr; - propPtr = level1_propPtr; + //~ propPtr = level_propPtr; - camPtr = level1_camPtr; + //~ camPtr = level_camPtr; - camPath = &level1_camPath; + //~ camPath = &level_camPath; - camAngles = level1_camAngles; + //~ camAngles = level_camAngles; - curNode = level1_curNode; + //~ curNode = level_curNode; + + //~ // Move these to drawPoly() + + //~ meshPlan = &level_meshPlan; + + //~ modelPlan_pos = &level_meshPlan.pos; + + } else if ( LLEVEL == 1) { + + cmat = level1.cmat; + + lgtmat = level1.lgtmat; + + meshes = (MESH **)level1.meshes; + + meshes_length = level1.meshes_length; + + actorPtr = level1.actorPtr; + + levelPtr = level1.levelPtr; + + propPtr = level1.propPtr; + + camPtr = level1.camPtr; + + camPath = level1.camPath; + + camAngles = (CAMANGLE **)level1.camAngles; + + curNode = level1.curNode; // Move these to drawPoly() - meshPlan = &level1_meshPlan; + meshPlan = level1.meshPlan; - modelPlan_pos = &level1_modelPlan_pos; + //~ modelPlan_pos = level1_meshPlan->pos; } + // Overlay VECTOR sp = {CENTERX,CENTERY,0}; @@ -340,7 +366,7 @@ int main() { while ( VSync(1) ) { - FntPrint("%d %d %x\n", cdread, cdsync, __load_start_ovly0); + //~ FntPrint("%d %d %x %x\n", cdread, cdsync, &load_all_overlays_here, &__ovly0_end); // Clear the main OT @@ -388,27 +414,27 @@ int main() { //~ meshPlan.rot->vx = ( (objAngleToCam.vx >> 4) - 3076 ) * ( (objAngleToCam.vz >> 4) - 3076 ) >> 12 ; - meshPlan->rot->vy = -( (objAngleToCam.vy >> 4) + 1024 ) ; + meshPlan->rot.vy = -( (objAngleToCam.vy >> 4) + 1024 ) ; //~ posToCam = getVectorTo(*meshPlan.pos, camera.pos); //~ posToCam = getVectorTo(camera.pos, *meshPlan.pos); - posToCam.vx = -camera.pos.vx - modelPlan_pos->vx ; + posToCam.vx = -camera.pos.vx - meshPlan->pos.vx ; - posToCam.vz = -camera.pos.vz - modelPlan_pos->vz ; + posToCam.vz = -camera.pos.vz - meshPlan->pos.vz ; - posToCam.vy = -camera.pos.vy - modelPlan_pos->vy ; + posToCam.vy = -camera.pos.vy - meshPlan->pos.vy ; //~ psqrt(posToCam.vx * posToCam.vx + posToCam.vy * posToCam.vy); // Actor Forward vector for 3d relative orientation - fVecActor = *actorPtr->pos; + fVecActor = actorPtr->pos; - fVecActor.vx = actorPtr->pos->vx + (nsin(actorPtr->rot->vy/2)); + fVecActor.vx = actorPtr->pos.vx + (nsin(actorPtr->rot.vy/2)); - fVecActor.vz = actorPtr->pos->vz - (ncos(actorPtr->rot->vy/2)); + fVecActor.vz = actorPtr->pos.vz - (ncos(actorPtr->rot.vy/2)); // Camera modes @@ -448,11 +474,11 @@ int main() { //~ applyVector(&InvCamPos, -1,-1,-1, *=); - angle = -actorPtr->rot->vy / 2; + angle = -actorPtr->rot.vy / 2; //~ angle = actorPtr->rot->vy; - getCameraXZ(&camera.x, &camera.z, actorPtr->pos->vx, actorPtr->pos->vz, angle, dist); + getCameraXZ(&camera.x, &camera.z, actorPtr->pos.vx, actorPtr->pos.vz, angle, dist); // FIXME! camera lerping to pos //~ angle += lerp(camera.rot.vy, -actorPtr->rot->vy, 128); @@ -478,7 +504,7 @@ int main() { //~ fVecActor.vz = actorPtr->pos->vz - (ncos(actorPtr->rot->vy)); - getCameraXZ(&camera.x, &camera.z, actorPtr->pos->vx, actorPtr->pos->vz, angle, dist); + getCameraXZ(&camera.x, &camera.z, actorPtr->pos.vx, actorPtr->pos.vz, angle, dist); angle += 10; } @@ -804,12 +830,12 @@ int main() { for ( int k = 0; k < *meshes_length; k ++ ) { //~ for ( int k = 0; k < curNode->objects->index ; k ++){ - if ( ( *meshes[k]->isRigidBody == 1 ) ) { + if ( ( meshes[k]->isRigidBody == 1 ) ) { //~ if ( ( *curNode->rigidbodies->list[k]->isRigidBody == 1 ) ) { //~ applyAcceleration(curNode->rigidbodies->list[k]->body); - applyAcceleration(meshes[k]->body); + applyAcceleration( meshes[k]->body ); // Get col with level ( modelgnd_body ) @@ -852,24 +878,24 @@ int main() { if ( propPtr->body->velocity.vx ) { - VECTOR L = angularMom(*propPtr->body); + VECTOR L = angularMom( *propPtr->body ); - propPtr->rot->vz -= L.vx; + propPtr->rot.vz -= L.vx; } if ( propPtr->body->velocity.vz ) { VECTOR L = angularMom( *propPtr->body ); - propPtr->rot->vx -= L.vz; + propPtr->rot.vx -= L.vz; } } - meshes[k]->pos->vx = meshes[k]->body->position.vx; + meshes[k]->pos.vx = meshes[k]->body->position.vx; - meshes[k]->pos->vy = meshes[k]->body->position.vy ; + meshes[k]->pos.vy = meshes[k]->body->position.vy ; - meshes[k]->pos->vz = meshes[k]->body->position.vz; + meshes[k]->pos.vz = meshes[k]->body->position.vz; } @@ -887,7 +913,7 @@ int main() { if ( (camMode == 2) && (camPtr->tim_data ) ) { - worldToScreen(actorPtr->pos, &actorPtr->pos2D); + worldToScreen( &actorPtr->pos, &actorPtr->pos2D ); } @@ -896,11 +922,11 @@ int main() { // position of cam relative to actor - posToActor.vx = actorPtr->pos->vx + camera.pos.vx; + posToActor.vx = actorPtr->pos.vx + camera.pos.vx; - posToActor.vz = actorPtr->pos->vz + camera.pos.vz; + posToActor.vz = actorPtr->pos.vz + camera.pos.vz; - posToActor.vy = actorPtr->pos->vy + camera.pos.vy; + posToActor.vy = actorPtr->pos.vy + camera.pos.vy; // Polygon drawing @@ -992,7 +1018,7 @@ int main() { //~ FntPrint("CurNode : %x\nIndex: %d", curNode, curNode->siblings->index); - FntPrint("Time : %d dt :%d level: %d\n", VSync(-1) / 60, dt, level); + FntPrint("Time : %d dt :%d level: %d\n", VSync(-1) / 60, dt); //~ FntPrint("%d\n", curCamAngle ); //~ FntPrint("%x\n", primbuff[db]); @@ -1111,19 +1137,18 @@ void callback() { if ( pad & PADL1 ) { lgtang.vz += 32; - level = !level; } if ( pad & PADRup && !timer ){ - if (*actorPtr->isPrism){ + if (actorPtr->isPrism){ - *actorPtr->isPrism = 0; + actorPtr->isPrism = 0; } else { - *actorPtr->isPrism = 1; + actorPtr->isPrism = 1; } @@ -1166,9 +1191,9 @@ void callback() { if ( pad & PADLup ) { - actorPtr->body->gForce.vz = getVectorTo(fVecActor, *actorPtr->pos).vz >> 8 ; + actorPtr->body->gForce.vz = getVectorTo(fVecActor, actorPtr->pos).vz >> 8 ; - actorPtr->body->gForce.vx = -getVectorTo(fVecActor, *actorPtr->pos).vx >> 8 ; + actorPtr->body->gForce.vx = -getVectorTo(fVecActor, actorPtr->pos).vx >> 8 ; lastPad = pad; } @@ -1182,9 +1207,9 @@ void callback() { if ( pad & PADLdown ) { - actorPtr->body->gForce.vz = -getVectorTo(fVecActor, *actorPtr->pos).vz >> 8 ; + actorPtr->body->gForce.vz = -getVectorTo(fVecActor, actorPtr->pos).vz >> 8 ; - actorPtr->body->gForce.vx = getVectorTo(fVecActor, *actorPtr->pos).vx >> 8 ; + actorPtr->body->gForce.vx = getVectorTo(fVecActor, actorPtr->pos).vx >> 8 ; lastPad = pad; } @@ -1201,7 +1226,7 @@ void callback() { if ( pad & PADLleft ) { - actorPtr->rot->vy -= 32; + actorPtr->rot.vy -= 32; lastPad = pad; @@ -1209,7 +1234,7 @@ void callback() { if ( pad & PADLright ) { - actorPtr->rot->vy += 32; + actorPtr->rot.vy += 32; lastPad = pad; } diff --git a/overlay.ld b/overlay.ld index 67452ce..d95f491 100644 --- a/overlay.ld +++ b/overlay.ld @@ -1,29 +1,44 @@ -__heap_base = MAX(__ovly0_end, __ovly1_end); +__heap_base = MAX(__lvl0_end, __lvl1_end); -SECTIONS { - OVERLAY __bss_end : NOCROSSREFS SUBALIGN(4) - { - .ovly0 +SECTIONS { + OVERLAY __bss_end : NOCROSSREFS SUBALIGN(4) + { + .lvlload { - KEEP(levels/level.o(.text)) - __ovly0_ctor = .; - KEEP(levels/level.o(.text.startup._GLOBAL__*)) - KEEP(levels/level.o(.text.*)) - KEEP(levels/level.o(.rodata*)) - KEEP(levels/level.o(.sdata*)) - KEEP(levels/level.o(.data*)) - KEEP(levels/level.o(.sbss*)) - KEEP(levels/level.o(.bss*)) - KEEP(levels/level.o(.ctors)) + load_all_overlays_here = .; + } + .lvl0 + { + KEEP(levels/level0.o(.text)) + __lvl0_ctor = .; + KEEP(levels/level0.o(.text.startup._GLOBAL__*)) + KEEP(levels/level0.o(.text.*)) + KEEP(levels/level0.o(.rodata*)) + KEEP(levels/level0.o(.sdata*)) + KEEP(levels/level0.o(.data*)) + KEEP(levels/level0.o(.sbss*)) + KEEP(levels/level0.o(.bss*)) + KEEP(levels/level0.o(.ctors)) + /*KEEP(TIM/bg_camPath_*.o(.text)) + __lvl0_ctor = .; + KEEP(TIM/bg_camPath_*.o(.text.startup._GLOBAL__*)) + KEEP(TIM/bg_camPath_*.o(.text.*)) + KEEP(TIM/bg_camPath_*.o(.rodata*)) + KEEP(TIM/bg_camPath_*.o(.sdata*)) + KEEP(TIM/bg_camPath_*.o(.data*)) + KEEP(TIM/bg_camPath_*.o(.sbss*)) + KEEP(TIM/bg_camPath_*.o(.bss*)) + KEEP(TIM/bg_camPath_*.o(.ctors)) + */ . = ALIGN(4); - __ovly0_end = .; + __lvl0_end = .; } - .ovly1 + .lvl1 { KEEP(levels/level1.o(.text)) - __ovly1_ctor = .; + __lvl1_ctor = .; KEEP(levels/level1.o(.text.startup._GLOBAL__*)) KEEP(levels/level1.o(.text.*)) KEEP(levels/level1.o(.rodata*)) @@ -34,7 +49,7 @@ SECTIONS { KEEP(levels/level1.o(.ctors)) . = ALIGN(4); - __ovly1_end = .; + __lvl1_end = .; } } } diff --git a/psx.c b/psx.c index 93756b2..1823725 100644 --- a/psx.c +++ b/psx.c @@ -10,6 +10,8 @@ void init(DISPENV disp[2], DRAWENV draw[2], short db, MATRIX * cmat, CVECTOR * B PadInit(0); + //~ CdInit(); + // Initialize and setup the GTE InitGeom(); @@ -102,6 +104,15 @@ void display(DISPENV * disp, DRAWENV * draw, u_long * otdisc, char * primbuff, c }; +void LoadLevel(const char*const LevelName, u_long * LoadAddress){ + + int cdread = 0, cdsync = 1; + + cdread = CdReadFile( (char *)(LevelName), LoadAddress, 0); + + cdsync = CdReadSync(0, 0); +}; + void LoadTexture(u_long * tim, TIM_IMAGE * tparam){ // This part is from Lameguy64's tutorial series : lameguy64.net/svn/pstutorials/chapter1/3-textures.html login/pw: annoyingmous OpenTIM(tim); // Open the tim binary data, feed it the address of the data in memory ReadTIM(tparam); // This read the header of the TIM data and sets the corresponding members of the TIM_IMAGE structure diff --git a/psx.h b/psx.h index da936fc..bd98162 100644 --- a/psx.h +++ b/psx.h @@ -4,6 +4,7 @@ #include #include #include +#include #include "defines.h" @@ -15,4 +16,6 @@ void display(DISPENV * disp, DRAWENV * draw, u_long * otdisc, char * primbuff, c // Utils +void LoadLevel(const char*const LevelName, u_long * LoadAddress); + void LoadTexture(u_long * tim, TIM_IMAGE * tparam);