comparison Engine/Engine.cpp @ 2568:f2f2595fe308

rename Decals[], DecalCount
author Ritor1
date Thu, 21 May 2015 18:32:45 +0600
parents 117c219bf913
children d433439699be
comparison
equal deleted inserted replaced
2565:117c219bf913 2568:f2f2595fe308
460 //depth = v2; 460 //depth = v2;
461 461
462 PickMouse(depth, cursor.x, cursor.y, false, v10, v11); 462 PickMouse(depth, cursor.x, cursor.y, false, v10, v11);
463 pLightmapBuilder->StationaryLightsCount = 0; 463 pLightmapBuilder->StationaryLightsCount = 0;
464 pLightmapBuilder->MobileLightsCount = 0; 464 pLightmapBuilder->MobileLightsCount = 0;
465 pDecalBuilder->std__vector_pDecals_size = 0; 465 pDecalBuilder->DecalsCount = 0;
466 pDecalBuilder->field_308008 = 0; 466 pDecalBuilder->curent_decal_id = 0;
467 if (!_44F07B()) 467 if (!_44F07B())
468 return false; 468 return false;
469 469
470 if (uFlags & GAME_FLAGS_1_DRAW_BLV_DEBUGS) 470 if (uFlags & GAME_FLAGS_1_DRAW_BLV_DEBUGS)
471 pStru10Instance->bDoNotDrawPortalFrustum = false; 471 pStru10Instance->bDoNotDrawPortalFrustum = false;
546 bool Engine::draw_debug_outlines() 546 bool Engine::draw_debug_outlines()
547 { 547 {
548 if (/*uFlags & 0x04*/ debug_lights) 548 if (/*uFlags & 0x04*/ debug_lights)
549 { 549 {
550 pLightmapBuilder->DrawDebugOutlines(-1); 550 pLightmapBuilder->DrawDebugOutlines(-1);
551 //pDecalBuilder->DrawDecalDebugOutlines(); 551 pDecalBuilder->DrawDecalDebugOutlines();
552 } 552 }
553 return true; 553 return true;
554 } 554 }
555 555
556 //----- (0044EC23) -------------------------------------------------------- 556 //----- (0044EC23) --------------------------------------------------------