Changed: Memory leaks detection

This commit is contained in:
kervala 2016-12-18 13:57:26 +01:00
parent 288b13dbfb
commit 5756137e9f
273 changed files with 972 additions and 8 deletions

View file

@ -26,6 +26,9 @@
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -19,6 +19,9 @@
#include "nel/3d/animation_set_user.h" #include "nel/3d/animation_set_user.h"
#include "nel/3d/driver_user.h" #include "nel/3d/driver_user.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -25,6 +25,10 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -20,6 +20,10 @@
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D { namespace NL3D {
// *************************************************************************** // ***************************************************************************

View file

@ -33,6 +33,10 @@ using namespace NLMISC;
using namespace NL3D; using namespace NL3D;
using namespace std; using namespace std;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -20,6 +20,9 @@
#include "nel/3d/anim_ctrl.h" #include "nel/3d/anim_ctrl.h"
#include "nel/misc/hierarchical_timer.h" #include "nel/misc/hierarchical_timer.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -19,6 +19,9 @@
#include "nel/3d/camera.h" #include "nel/3d/camera.h"
#include "nel/3d/scene.h" #include "nel/3d/scene.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -22,6 +22,9 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D { namespace NL3D {

View file

@ -27,6 +27,10 @@
using namespace NLMISC; using namespace NLMISC;
using namespace std; using namespace std;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -37,6 +37,9 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -23,6 +23,10 @@
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -22,6 +22,9 @@
#include "nel/3d/cloud_scape.h" #include "nel/3d/cloud_scape.h"
#include "nel/3d/scene.h" #include "nel/3d/scene.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -28,6 +28,10 @@
using namespace NLMISC; using namespace NLMISC;
using namespace std; using namespace std;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -23,6 +23,10 @@
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -28,6 +28,10 @@
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -32,6 +32,10 @@
using namespace std; using namespace std;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D { namespace NL3D {

View file

@ -26,6 +26,9 @@
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -19,6 +19,10 @@
#include "nel/3d/vertex_buffer.h" #include "nel/3d/vertex_buffer.h"
#include "nel/3d/index_buffer.h" #include "nel/3d/index_buffer.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -27,6 +27,10 @@
#include "nel/3d/dru.h" #include "nel/3d/dru.h"
#include "nel/3d/material.h" #include "nel/3d/material.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D { namespace NL3D {

View file

@ -28,6 +28,10 @@
using namespace NLMISC; using namespace NLMISC;
using namespace std; using namespace std;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -40,6 +40,10 @@
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -37,6 +37,9 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -46,6 +46,10 @@
using namespace NLMISC; using namespace NLMISC;
using namespace std; using namespace std;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -24,6 +24,10 @@
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -20,6 +20,10 @@
using namespace std; using namespace std;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -26,6 +26,9 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -30,6 +30,9 @@
#include "nel/misc/common.h" #include "nel/misc/common.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D { namespace NL3D {

View file

@ -24,6 +24,9 @@
#include "nel/3d/shape_bank.h" #include "nel/3d/shape_bank.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D { namespace NL3D {

View file

@ -58,6 +58,10 @@ const char* err_msg;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D { namespace NL3D {
FT_Library CFontGenerator::_Library = NULL; FT_Library CFontGenerator::_Library = NULL;

View file

@ -32,6 +32,10 @@
using namespace std; using namespace std;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D { namespace NL3D {

View file

@ -23,6 +23,10 @@
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -49,11 +49,17 @@ using namespace std;
namespace NL3D { namespace NL3D {
namespace { namespace {
#include "fxaa_program.h" #include "fxaa_program.h"
} /* anonymous namespace */ } /* anonymous namespace */
}
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D {
CFXAA::CFXAA(NL3D::UDriver *driver) : m_Driver(driver), m_VP(NULL), m_PP(NULL), m_Width(~0), m_Height(~0) CFXAA::CFXAA(NL3D::UDriver *driver) : m_Driver(driver), m_VP(NULL), m_PP(NULL), m_Width(~0), m_Height(~0)
{ {
nldebug("3D: Create FXAA"); nldebug("3D: Create FXAA");

View file

@ -27,6 +27,10 @@
#include "nel/3d/driver.h" #include "nel/3d/driver.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -41,6 +41,10 @@
using namespace std; using namespace std;
// using namespace NLMISC; // using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D { namespace NL3D {
const size_t CGPUProgramParams::s_End = -1; const size_t CGPUProgramParams::s_End = -1;

View file

@ -22,6 +22,10 @@
#include "nel/3d/deform_2d.h" #include "nel/3d/deform_2d.h"
#include "nel/misc/vector_2f.h" #include "nel/misc/vector_2f.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -21,6 +21,9 @@
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -27,6 +27,10 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -21,6 +21,10 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -22,6 +22,10 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D { namespace NL3D {

View file

@ -23,6 +23,9 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -18,6 +18,9 @@
#include "nel/3d/ig_surface_light.h" #include "nel/3d/ig_surface_light.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -23,6 +23,10 @@
using namespace NLMISC; using namespace NLMISC;
using namespace std; using namespace std;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -23,6 +23,10 @@
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {
// *************************************************************************** // ***************************************************************************

View file

@ -22,6 +22,10 @@
#include "nel/3d/scene.h" #include "nel/3d/scene.h"
#include "nel/3d/register_3d.h" #include "nel/3d/register_3d.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace namespace
{ {
static bool _Initialized = false; static bool _Initialized = false;

View file

@ -29,6 +29,10 @@
using namespace NLMISC; using namespace NLMISC;
using namespace std; using namespace std;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -28,6 +28,10 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D { namespace NL3D {

View file

@ -18,6 +18,9 @@
#include "nel/3d/key.h" #include "nel/3d/key.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -41,6 +41,9 @@
using namespace NLMISC; using namespace NLMISC;
using namespace std; using namespace std;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D

View file

@ -24,6 +24,10 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -23,6 +23,10 @@
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -23,6 +23,9 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -23,9 +23,14 @@
#include "nel/3d/cluster.h" #include "nel/3d/cluster.h"
#include "nel/3d/scene.h" #include "nel/3d/scene.h"
#include "nel/3d/light_trav.h" #include "nel/3d/light_trav.h"
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -18,6 +18,9 @@
#include "nel/3d/landscape_profile.h" #include "nel/3d/landscape_profile.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -24,6 +24,10 @@
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -27,6 +27,9 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -36,6 +36,10 @@ H_AUTO_DECL ( NL3D_Unload_Zone_IG )
#define NL3D_HAUTO_LAND_MNGR_LOAD_ZONEIG H_AUTO_USE( NL3D_Load_Zone_IG ) #define NL3D_HAUTO_LAND_MNGR_LOAD_ZONEIG H_AUTO_USE( NL3D_Load_Zone_IG )
#define NL3D_HAUTO_LAND_MNGR_UNLOAD_ZONEIG H_AUTO_USE( NL3D_Unload_Zone_IG ) #define NL3D_HAUTO_LAND_MNGR_UNLOAD_ZONEIG H_AUTO_USE( NL3D_Unload_Zone_IG )
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -24,6 +24,10 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -20,6 +20,9 @@
#include "nel/3d/vertex_buffer.h" #include "nel/3d/vertex_buffer.h"
#include "nel/3d/landscapevb_allocator.h" #include "nel/3d/landscapevb_allocator.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -20,6 +20,10 @@
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -18,6 +18,9 @@
#include "nel/3d/light_contribution.h" #include "nel/3d/light_contribution.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D { namespace NL3D {

View file

@ -20,6 +20,9 @@
#include "nel/misc/debug.h" #include "nel/misc/debug.h"
#include "nel/3d/point_light_named.h" #include "nel/3d/point_light_named.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -27,12 +27,13 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {
using namespace NLMISC;
// *************************************************************************** // ***************************************************************************
CLightTrav::CLightTrav(bool bSmallScene) : LightingManager(bSmallScene) CLightTrav::CLightTrav(bool bSmallScene) : LightingManager(bSmallScene)
{ {

View file

@ -18,6 +18,9 @@
#include "nel/3d/light_user.h" #include "nel/3d/light_user.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -28,6 +28,9 @@
using namespace NLMISC; using namespace NLMISC;
using namespace std; using namespace std;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D { namespace NL3D {

View file

@ -32,6 +32,10 @@ using namespace NLMISC;
#define NL3D_DEFAULT_LOADBALANCING_VALUE_SMOOTHER 50 #define NL3D_DEFAULT_LOADBALANCING_VALUE_SMOOTHER 50
#define NL3D_LOADBALANCING_SMOOTHER_MAX_RATIO 1.1f #define NL3D_LOADBALANCING_SMOOTHER_MAX_RATIO 1.1f
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -27,6 +27,9 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -18,6 +18,9 @@
#include "nel/3d/lod_character_instance.h" #include "nel/3d/lod_character_instance.h"
#include "nel/3d/lod_character_manager.h" #include "nel/3d/lod_character_manager.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -34,6 +34,10 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -28,6 +28,9 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -23,6 +23,10 @@
using namespace NLMISC; using namespace NLMISC;
using namespace std; using namespace std;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -18,6 +18,9 @@
#include "std3d.h" #include "std3d.h"
#include "nel/3d/lod_character_texture.h" #include "nel/3d/lod_character_texture.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D { namespace NL3D {

View file

@ -18,6 +18,9 @@
#include "nel/3d/logic_info.h" #include "nel/3d/logic_info.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D { namespace NL3D {

View file

@ -24,6 +24,10 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -36,6 +36,9 @@ using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -25,6 +25,9 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -29,6 +29,10 @@
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -20,6 +20,9 @@
#include "nel/3d/driver.h" #include "nel/3d/driver.h"
#include "nel/misc/fast_floor.h" #include "nel/misc/fast_floor.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D { namespace NL3D {

View file

@ -21,6 +21,10 @@
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -19,6 +19,9 @@
#include "nel/3d/mesh_geom.h" #include "nel/3d/mesh_geom.h"
#include "nel/3d/mesh_block_manager.h" #include "nel/3d/mesh_block_manager.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -26,6 +26,10 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -24,6 +24,9 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -38,6 +38,9 @@
using namespace NLMISC; using namespace NLMISC;
using namespace std; using namespace std;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -27,6 +27,10 @@
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -20,6 +20,10 @@
#include "std3d.h" #include "std3d.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
// ace: before including this, #define this define to use it // ace: before including this, #define this define to use it
// the goal is to be able to compile every .cpp file with no // the goal is to be able to compile every .cpp file with no
// special case (GNU/Linux needs) // special case (GNU/Linux needs)

View file

@ -39,6 +39,9 @@
using namespace NLMISC; using namespace NLMISC;
using namespace std; using namespace std;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -27,6 +27,10 @@
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -20,6 +20,10 @@
#include "std3d.h" #include "std3d.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
// *************************************************************************** // ***************************************************************************
// *************************************************************************** // ***************************************************************************
// Raw "Vertex/Normal only" ApplySkin methods. // Raw "Vertex/Normal only" ApplySkin methods.

View file

@ -35,6 +35,9 @@ using namespace std;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -25,6 +25,10 @@
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -29,6 +29,9 @@
#include <string> #include <string>
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -28,6 +28,9 @@
using namespace NLMISC; using namespace NLMISC;
using namespace std; using namespace std;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -19,9 +19,13 @@
#include "nel/3d/mini_col.h" #include "nel/3d/mini_col.h"
#include "nel/misc/aabbox.h" #include "nel/misc/aabbox.h"
#include "nel/3d/quad_grid.h" #include "nel/3d/quad_grid.h"
using namespace NLMISC; using namespace NLMISC;
using namespace std; using namespace std;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -23,6 +23,9 @@
#include "nel/3d/texture_blank.h" #include "nel/3d/texture_blank.h"
#include "nel/3d/material.h" #include "nel/3d/material.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D { namespace NL3D {

View file

@ -18,9 +18,13 @@
#include "nel/3d/mrm_builder.h" #include "nel/3d/mrm_builder.h"
#include "nel/3d/mrm_parameters.h" #include "nel/3d/mrm_parameters.h"
using namespace NLMISC; using namespace NLMISC;
using namespace std; using namespace std;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -23,6 +23,9 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -19,6 +19,9 @@
#include "nel/3d/mrm_level_detail.h" #include "nel/3d/mrm_level_detail.h"
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -21,6 +21,10 @@
using namespace std; using namespace std;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -30,6 +30,9 @@
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -20,6 +20,10 @@
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

View file

@ -23,6 +23,10 @@
using namespace NLMISC; using namespace NLMISC;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespace NL3D namespace NL3D
{ {

Some files were not shown because too many files have changed in this diff Show more