mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-25 19:55:54 +01:00
1a2ccb8f50
Conflicts: Sources/Ecc/Parser.cpp Sources/Ecc/Scanner.cpp Sources/Engine/Base/Scanner.cpp Sources/Engine/GameAgent/GameAgent.cpp Sources/Engine/Graphics/Gfx_wrapper.h Sources/Engine/Network/Network.cpp Sources/Engine/Sound/SoundDecoder.h Sources/Engine/Templates/HashTableTemplate.cpp Sources/Engine/Terrain/Terrain.h Sources/EntitiesMP/ParticleCloudsHolder.es Sources/EntitiesMP/ParticleCloudsMarker.es Sources/SeriousSam/CDCheck.h Sources/SeriousSam/Menu.cpp Sources/SeriousSam/MenuGadgets.cpp Sources/SeriousSam/SeriousSam.cpp Sources/SeriousSam/SplashScreen.cpp Sources/SeriousSam/StdH.cpp Sources/SeriousSam/StdH.h Sources/Shaders/StdH.cpp
65 lines
3.1 KiB
C++
65 lines
3.1 KiB
C++
/* Copyright (c) 2002-2012 Croteam Ltd.
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of version 2 of the GNU General Public License as published by
|
|
the Free Software Foundation
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License along
|
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
|
|
|
|
#include "Engine/StdH.h"
|
|
|
|
#include <Engine/World/WorldEditingProfile.h>
|
|
|
|
// profile form for profiling world editing
|
|
CWorldEditingProfile wepWorldEditingProfile;
|
|
CProfileForm &_pfWorldEditingProfile = wepWorldEditingProfile;
|
|
|
|
/////////////////////////////////////////////////////////////////////
|
|
// CWorldEditingProfile
|
|
|
|
CWorldEditingProfile::CWorldEditingProfile(void)
|
|
: CProfileForm ("World editing", "operations",
|
|
CWorldEditingProfile::PCI_COUNT, CWorldEditingProfile::PTI_COUNT)
|
|
{
|
|
SETTIMERNAME(PTI_CSGTOTAL, "CSG operations total", "");
|
|
SETTIMERNAME(PTI_OBJECTOPTIMIZE, "CObject3D::Optimize()", "");
|
|
SETTIMERNAME(PTI_OBJECTCSG, "CObject3D::CSGxxxx()", "");
|
|
SETTIMERNAME(PTI_OBJECTCSG, "CObject3D::CSGxxxx()", "");
|
|
|
|
SETTIMERNAME(PTI_ADDOBJECTTOBRUSH, "AddObjectToBrush()", "");
|
|
SETTIMERNAME(PTI_FINDSHADOWLAYERS, "FindShadowLayers()", "");
|
|
SETTIMERNAME(PTI_CALCULATEBOUNDINGBOXES, "CalculateBoundingBoxes()", "");
|
|
SETTIMERNAME(PTI_ADDFROMOBJECT3D, "AddFromObject3D()", "");
|
|
SETTIMERNAME(PTI_TRIANGULATE, "Triangulate()", "");
|
|
SETTIMERNAME(PTI_TRISTRIPMODELS, "tristrip models", "");
|
|
|
|
SETTIMERNAME(PTI_LINKENTITIESTOSECTORS, "LinkEntitiesToSectors()", "");
|
|
SETTIMERNAME(PTI_LINKPORTALSANDSECTORS, "LinkPortalsAndSectors()", "");
|
|
SETTIMERNAME(PTI_READBRUSHES, "ReadBrushes()", "");
|
|
SETTIMERNAME(PTI_READBSP, "ReadBSP()", "");
|
|
SETTIMERNAME(PTI_READPORTALSECTORLINKS, "ReadPortalSectorLinks()", "");
|
|
SETTIMERNAME(PTI_READSTATE, "ReadState()", "");
|
|
SETTIMERNAME(PTI_REINITIALIZEENTITIES, "ReinitializeEntities()", "");
|
|
|
|
SETTIMERNAME(PTI_MAKESHADOWMAP, "MakeShadowMap()", "");
|
|
SETTIMERNAME(PTI_RENDERSHADOWS, "RenderShadows()", "");
|
|
|
|
SETTIMERNAME(PTI_MIXLAYERS, "CLayerMixer::MixLayers()", "");
|
|
SETTIMERNAME(PTI_CALCULATEDATA, "CLayerMixer::CalculateData()", "");
|
|
SETTIMERNAME(PTI_AMBIENTFILL, "CLayerMixer::FillWithAmbientLight()", "");
|
|
SETTIMERNAME(PTI_ADDONELAYERPOINT, "CLayerMixer::AddOneLayerPoint()", "");
|
|
SETTIMERNAME(PTI_ADDONELAYERDIRECTIONAL, "CLayerMixer::AddOneLayerDirectional()", "");
|
|
|
|
SETCOUNTERNAME(PCI_SECTORSOPTIMIZED, "sectors optimized");
|
|
SETCOUNTERNAME(PCI_SHADOWIMAGES, "shadow images generated");
|
|
SETCOUNTERNAME(PCI_SHADOWCLUSTERS, "total shadow clusters generated in all images");
|
|
SETCOUNTERNAME(PCI_POLYGONSHADOWS, "total polygon shadows cast");
|
|
}
|