clean namedentity, forward declarations, ostream_write

This commit is contained in:
Garux
2018-02-22 18:56:53 +03:00
parent 327fa13d54
commit eae7ac024a
17 changed files with 26 additions and 122 deletions

View File

@@ -22,12 +22,7 @@
#if !defined( INCLUDED_EDITABLE_H )
#define INCLUDED_EDITABLE_H
template<typename Element> class BasicVector3;
typedef BasicVector3<float> Vector3;
template<typename Element> class BasicVector4;
typedef BasicVector4<float> Vector4;
class Matrix4;
typedef Vector4 Quaternion;
#include "scenelib.h"

View File

@@ -24,6 +24,7 @@
#include "generic/constant.h"
#include "generic/callbackfwd.h"
#include "generic/vector.h"
// Rendering states to sort by.
@@ -60,9 +61,6 @@ typedef unsigned int RenderStateFlags;
class AABB;
class Matrix4;
template<typename Element> class BasicVector3;
typedef BasicVector3<float> Vector3;
class Shader;
class RendererLight
@@ -115,8 +113,6 @@ class Matrix4;
struct qtexture_t;
class ModuleObserver;
#include "generic/vector.h"
class Shader
{
public:

View File

@@ -54,7 +54,6 @@ template<typename Element> class BasicVector3;
typedef BasicVector3<float> Vector3;
template<typename Element> class BasicVector4;
typedef BasicVector4<float> Vector4;
class Matrix4;
typedef Vector4 Quaternion;
typedef Callback1<const Selectable&> SelectionChangeCallback;

View File

@@ -42,10 +42,6 @@ enum
struct qtexture_t;
template<typename Element> class BasicVector3;
typedef BasicVector3<float> Vector3;
typedef Vector3 Colour3;
typedef unsigned char BlendFactor;
const BlendFactor BLEND_ZERO = 0;
const BlendFactor BLEND_ONE = 1;

View File

@@ -120,8 +120,6 @@ virtual Type* findModule( const char* name ) = 0;
virtual void foreachModule( const Visitor& visitor ) = 0;
};
#include "debugging/debugging.h"
template<typename Type>
class ModuleRef
{

View File

@@ -219,13 +219,9 @@ pointer m_indices;
pointer m_finish;
};
template<typename Element> class BasicVector3;
typedef BasicVector3<float> Vector3;
class Matrix4;
class VolumeTest;
typedef BasicVector3<double> DoubleVector3;
class SelectionTest
{
public: