diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-23 14:41:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-23 14:41:31 +0400 |
commit | b8e019d8396ed102323df234df8b1cc6b35712a1 (patch) | |
tree | 64f4fdb413336113b8c92198097831941c6fc171 /source/gameengine/SceneGraph | |
parent | 3dd449ae4fbb2eb6f9eb63e9f9de61def58abe16 (diff) |
use __ prefix on header guards to avoid mixing up defines with api functions / classes.
Diffstat (limited to 'source/gameengine/SceneGraph')
-rw-r--r-- | source/gameengine/SceneGraph/SG_Controller.h | 6 | ||||
-rw-r--r-- | source/gameengine/SceneGraph/SG_DList.h | 6 | ||||
-rw-r--r-- | source/gameengine/SceneGraph/SG_IObject.h | 6 | ||||
-rw-r--r-- | source/gameengine/SceneGraph/SG_Node.h | 6 | ||||
-rw-r--r-- | source/gameengine/SceneGraph/SG_ParentRelation.h | 4 | ||||
-rw-r--r-- | source/gameengine/SceneGraph/SG_QList.h | 6 | ||||
-rw-r--r-- | source/gameengine/SceneGraph/SG_Spatial.h | 6 |
7 files changed, 20 insertions, 20 deletions
diff --git a/source/gameengine/SceneGraph/SG_Controller.h b/source/gameengine/SceneGraph/SG_Controller.h index dd4ed0755cb..f6361d2c992 100644 --- a/source/gameengine/SceneGraph/SG_Controller.h +++ b/source/gameengine/SceneGraph/SG_Controller.h @@ -32,8 +32,8 @@ * \ingroup bgesg */ -#ifndef __SG_CONTROLLER_H -#define __SG_CONTROLLER_H +#ifndef __SG_CONTROLLER_H__ +#define __SG_CONTROLLER_H__ #include "SG_IObject.h" @@ -124,5 +124,5 @@ protected: }; -#endif //__SG_CONTROLLER_H +#endif //__SG_CONTROLLER_H__ diff --git a/source/gameengine/SceneGraph/SG_DList.h b/source/gameengine/SceneGraph/SG_DList.h index c4c71ca859f..90e3226f227 100644 --- a/source/gameengine/SceneGraph/SG_DList.h +++ b/source/gameengine/SceneGraph/SG_DList.h @@ -29,8 +29,8 @@ * \ingroup bgesg */ -#ifndef __SG_DLIST -#define __SG_DLIST +#ifndef __SG_DLIST_H__ +#define __SG_DLIST_H__ #include <stdlib.h> @@ -250,5 +250,5 @@ public: }; -#endif //__SG_DLIST +#endif //__SG_DLIST_H__ diff --git a/source/gameengine/SceneGraph/SG_IObject.h b/source/gameengine/SceneGraph/SG_IObject.h index 764d92b6fd1..df14631d0d9 100644 --- a/source/gameengine/SceneGraph/SG_IObject.h +++ b/source/gameengine/SceneGraph/SG_IObject.h @@ -29,8 +29,8 @@ * \ingroup bgesg */ -#ifndef __SG_IOBJECT -#define __SG_IOBJECT +#ifndef __SG_IOBJECT_H__ +#define __SG_IOBJECT_H__ #include "SG_QList.h" #include <vector> @@ -373,5 +373,5 @@ public: #endif }; -#endif //__SG_IOBJECT +#endif //__SG_IOBJECT_H__ diff --git a/source/gameengine/SceneGraph/SG_Node.h b/source/gameengine/SceneGraph/SG_Node.h index ad4c35198f8..d1991537cf9 100644 --- a/source/gameengine/SceneGraph/SG_Node.h +++ b/source/gameengine/SceneGraph/SG_Node.h @@ -29,8 +29,8 @@ * \ingroup bgesg */ -#ifndef __SG_NODE_H -#define __SG_NODE_H +#ifndef __SG_NODE_H__ +#define __SG_NODE_H__ #include "SG_Spatial.h" #include <vector> @@ -277,5 +277,5 @@ public: #endif }; -#endif //__SG_NODE_H +#endif //__SG_NODE_H__ diff --git a/source/gameengine/SceneGraph/SG_ParentRelation.h b/source/gameengine/SceneGraph/SG_ParentRelation.h index c704146160c..07f11c87a36 100644 --- a/source/gameengine/SceneGraph/SG_ParentRelation.h +++ b/source/gameengine/SceneGraph/SG_ParentRelation.h @@ -49,8 +49,8 @@ * */ -#ifndef __SG_ParentRelation_h -#define __SG_ParentRelation_h +#ifndef __SG_PARENTRELATION_H__ +#define __SG_PARENTRELATION_H__ class SG_Spatial; diff --git a/source/gameengine/SceneGraph/SG_QList.h b/source/gameengine/SceneGraph/SG_QList.h index 9df8f35f3a4..e1288877b1d 100644 --- a/source/gameengine/SceneGraph/SG_QList.h +++ b/source/gameengine/SceneGraph/SG_QList.h @@ -29,8 +29,8 @@ * \ingroup bgesg */ -#ifndef __SG_QLIST -#define __SG_QLIST +#ifndef __SG_QLIST_H__ +#define __SG_QLIST_H__ #include "SG_DList.h" @@ -163,5 +163,5 @@ public: #endif }; -#endif //__SG_QLIST +#endif //__SG_QLIST_H__ diff --git a/source/gameengine/SceneGraph/SG_Spatial.h b/source/gameengine/SceneGraph/SG_Spatial.h index 3f2f66c0e1c..085c2d12267 100644 --- a/source/gameengine/SceneGraph/SG_Spatial.h +++ b/source/gameengine/SceneGraph/SG_Spatial.h @@ -29,8 +29,8 @@ * \ingroup bgesg */ -#ifndef __SG_SPATIAL_H -#define __SG_SPATIAL_H +#ifndef __SG_SPATIAL_H__ +#define __SG_SPATIAL_H__ #include <MT_Vector3.h> #include <MT_Point3.h> @@ -293,5 +293,5 @@ public: #endif }; -#endif //__SG_SPATIAL_H +#endif //__SG_SPATIAL_H__ |