687 lines
13 KiB
C
687 lines
13 KiB
C
#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;
|
|
|