Browse Source

Added missing DebugNew.h includes.

Lasse Öörni 13 years ago
parent
commit
7ea084bc4b

+ 2 - 0
Engine/Graphics/Direct3D9/D3D9GraphicsImpl.cpp

@@ -26,6 +26,8 @@
 #include "GraphicsEvents.h"
 #include "GraphicsImpl.h"
 
+#include "DebugNew.h"
+
 GraphicsImpl::GraphicsImpl() :
     interface_(0),
     device_(0),

+ 2 - 0
Engine/Graphics/Direct3D9/D3D9Shader.cpp

@@ -32,6 +32,8 @@
 #include "Shader.h"
 #include "ShaderVariation.h"
 
+#include "DebugNew.h"
+
 OBJECTTYPESTATIC(Shader);
 
 Shader::Shader(Context* context) :

+ 1 - 0
Engine/Graphics/OctreeQuery.cpp

@@ -23,6 +23,7 @@
 
 #include "Precompiled.h"
 #include "OctreeQuery.h"
+
 #include "DebugNew.h"
 
 Intersection PointOctreeQuery::TestOctant(const BoundingBox& box, bool inside) const

+ 2 - 0
Engine/Graphics/OpenGL/OGLGraphicsImpl.cpp

@@ -29,6 +29,8 @@
 #include "Mutex.h"
 #include "ProcessUtils.h"
 
+#include "DebugNew.h"
+
 static HashMap<GLFWwindow, Context*> windowContexts;
 
 GraphicsImpl::GraphicsImpl() :

+ 2 - 0
Engine/Graphics/OpenGL/OGLShader.cpp

@@ -33,6 +33,8 @@
 #include "ShaderVariation.h"
 #include "XMLFile.h"
 
+#include "DebugNew.h"
+
 OBJECTTYPESTATIC(Shader);
 
 Shader::Shader(Context* context) :

+ 2 - 0
Engine/Graphics/PostProcess.cpp

@@ -29,6 +29,8 @@
 #include "Texture2D.h"
 #include "XMLFile.h"
 
+#include "DebugNew.h"
+
 static const String emptyName;
 
 TextureUnit ParseTextureUnitName(const String& name);

+ 2 - 0
Engine/Graphics/Skybox.cpp

@@ -27,6 +27,8 @@
 #include "Context.h"
 #include "Skybox.h"
 
+#include "DebugNew.h"
+
 OBJECTTYPESTATIC(Skybox);
 
 Skybox::Skybox(Context* context) :

+ 2 - 0
Engine/Graphics/Technique.cpp

@@ -31,6 +31,8 @@
 #include "StringUtils.h"
 #include "XMLFile.h"
 
+#include "DebugNew.h"
+
 static const String passNames[] =
 {
     "base",

+ 2 - 0
Engine/Graphics/Viewport.cpp

@@ -27,6 +27,8 @@
 #include "Scene.h"
 #include "Viewport.h"
 
+#include "DebugNew.h"
+
 Viewport::Viewport() :
     rect_(IntRect::ZERO)
 {

+ 2 - 0
Engine/Graphics/Zone.cpp

@@ -28,6 +28,8 @@
 #include "XMLElement.h"
 #include "Zone.h"
 
+#include "DebugNew.h"
+
 static const Vector3 DEFAULT_BOUNDING_BOX_MIN(-10.0f, -10.0f, -10.0f);
 static const Vector3 DEFAULT_BOUNDING_BOX_MAX(10.0f, 10.0f, 10.0f);
 static const Color DEFAULT_AMBIENT_COLOR(0.1f, 0.1f, 0.1f);

+ 2 - 0
Engine/Resource/XMLElement.cpp

@@ -29,6 +29,8 @@
 
 #include <pugixml.hpp>
 
+#include "DebugNew.h"
+
 XMLElement::XMLElement() :
     node_(0)
 {

+ 2 - 0
Engine/Scene/Component.cpp

@@ -27,6 +27,8 @@
 #include "Node.h"
 #include "XMLElement.h"
 
+#include "DebugNew.h"
+
 OBJECTTYPESTATIC(Component);
 
 Component::Component(Context* context) :

+ 2 - 0
Engine/Scene/SceneResolver.cpp

@@ -28,6 +28,8 @@
 #include "Log.h"
 #include "Node.h"
 
+#include "DebugNew.h"
+
 SceneResolver::SceneResolver()
 {
 }

+ 2 - 0
Engine/Scene/SmoothedTransform.cpp

@@ -27,6 +27,8 @@
 #include "SceneEvents.h"
 #include "SmoothedTransform.h"
 
+#include "DebugNew.h"
+
 static const float DEFAULT_SMOOTHING_CONSTANT = 50.0f;
 static const float DEFAULT_SNAP_THRESHOLD = 5.0f;