comparison Outdoor.cpp @ 106:1e18102bd4d0

5.11.12
author Ritor1
date Mon, 05 Nov 2012 09:15:53 +0600
parents e633cde38d64
children ccc0cf95706a
comparison
equal deleted inserted replaced
105:e633cde38d64 106:1e18102bd4d0
364 v11 = (unsigned __int8)aTiletableLoadU[v10 + 39]; 364 v11 = (unsigned __int8)aTiletableLoadU[v10 + 39];
365 if ( v11 >= 1 && v11 <= 15 ) 365 if ( v11 >= 1 && v11 <= 15 )
366 { 366 {
367 v12 = (unsigned __int8)aTiletableLoadU[v10 + 39]; 367 v12 = (unsigned __int8)aTiletableLoadU[v10 + 39];
368 uDefaultTravelTime_ByFoot = (unsigned __int8)byte_4ECA93[v10]; 368 uDefaultTravelTime_ByFoot = (unsigned __int8)byte_4ECA93[v10];
369 sprintfex(pOut, "out%02d.odm", v12); 369 sprintf(pOut, "out%02d.odm", v12);
370 uLevel_StartingPointType = (unsigned __int8)byte_4ECACF[v10]; 370 uLevel_StartingPointType = (unsigned __int8)byte_4ECACF[v10];
371 return 1; 371 return 1;
372 } 372 }
373 return 0; 373 return 0;
374 } 374 }
1410 pOutdoorLocation->pBModels[v12].pFaces = 0; 1410 pOutdoorLocation->pBModels[v12].pFaces = 0;
1411 pOutdoorLocation->pBModels[v12].pFacesOrdering = 0; 1411 pOutdoorLocation->pBModels[v12].pFacesOrdering = 0;
1412 pOutdoorLocation->pBModels[v12].pNodes = 0; 1412 pOutdoorLocation->pBModels[v12].pNodes = 0;
1413 FileName[0] = 0; 1413 FileName[0] = 0;
1414 v108 = (int)&pOutdoorLocation->pBModels[v12]; 1414 v108 = (int)&pOutdoorLocation->pBModels[v12];
1415 sprintfex(FileName, "%s", v108); 1415 sprintf(FileName, "%s", v108);
1416 v13 = pOutdoorLocation->pBModels; 1416 v13 = pOutdoorLocation->pBModels;
1417 v138 = 0; 1417 v138 = 0;
1418 pOutdoorLocation->pBModels[v12].pVertices.pVertices = (Vec3_int_ *)pAllocator->AllocNamedChunk(v13[v12].pVertices.pVertices, 12 * v13[v12].pVertices.uNumVertices, 1418 pOutdoorLocation->pBModels[v12].pVertices.pVertices = (Vec3_int_ *)pAllocator->AllocNamedChunk(v13[v12].pVertices.pVertices, 12 * v13[v12].pVertices.uNumVertices,
1419 FileName); 1419 FileName);
1420 pOutdoorLocation->pBModels[v12].pFaces = (ODMFace *)pAllocator->AllocNamedChunk(pOutdoorLocation->pBModels[v12].pFaces, 308 * pOutdoorLocation->pBModels[v12].uNumFaces, 1420 pOutdoorLocation->pBModels[v12].pFaces = (ODMFace *)pAllocator->AllocNamedChunk(pOutdoorLocation->pBModels[v12].pFaces, 308 * pOutdoorLocation->pBModels[v12].uNumFaces,