소스 검색

Add some missing includes

Marc Legendre 9 년 전
부모
커밋
e75714d01c

+ 3 - 1
Source/BansheeCore/Include/BsPhysics.h

@@ -2,6 +2,8 @@
 //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
 #pragma once
 
+#include <cfloat>
+
 #include "BsCorePrerequisites.h"
 #include "BsPhysicsCommon.h"
 #include "BsModule.h"
@@ -575,4 +577,4 @@ namespace BansheeEngine
 	};
 
 	/** @} */
-}
+}

+ 2 - 0
Source/BansheeCore/Include/BsSamplerState.h

@@ -7,6 +7,8 @@
 #include "BsIReflectable.h"
 #include "BsCoreObject.h"
 
+#include <cfloat>
+
 namespace BansheeEngine 
 {
 	/** @addtogroup RenderAPI

+ 3 - 1
Source/BansheeEngine/Source/BsGUIDropDownContent.cpp

@@ -10,6 +10,8 @@
 #include "BsGUIMouseEvent.h"
 #include "BsGUICommandEvent.h"
 
+#include <climits>
+
 using namespace std::placeholders;
 
 namespace BansheeEngine
@@ -418,4 +420,4 @@ namespace BansheeEngine
 		static String typeName = "GUIDropDownContent";
 		return typeName;
 	}
-}
+}

+ 5 - 1
Source/BansheeUtility/Include/BsCrashHandler.h

@@ -2,6 +2,10 @@
 //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
 #pragma once
 
+#include "BsPath.h"
+#include "BsPlatformDefines.h"
+#include "BsString.h"
+
 #define BS_MAX_STACKTRACE_DEPTH 200
 #define BS_MAX_STACKTRACE_NAME_BYTES 1024
 
@@ -86,4 +90,4 @@ namespace BansheeEngine
 
 	/** @} */
 	/** @} */
-}
+}

+ 4 - 3
Source/BansheeUtility/Include/BsDegree.h

@@ -2,11 +2,12 @@
 //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
 #pragma once
 
-#include "BsPrerequisitesUtil.h"
-#include "BsRadian.h"
+#include "BsPlatformDefines.h"
+#include "BsRTTIPrerequisites.h"
 
 namespace BansheeEngine
 {
+	class Radian;
 	/** @addtogroup Math
 	 *  @{
 	 */
@@ -74,4 +75,4 @@ namespace BansheeEngine
 	/** @cond SPECIALIZATIONS */
 	BS_ALLOW_MEMCPY_SERIALIZATION(Degree);
 	/** @endcond */
-}
+}

+ 2 - 0
Source/BansheeUtility/Include/BsMemoryAllocator.h

@@ -4,6 +4,8 @@
 #undef min
 #undef max
 
+#include "BsTypes.h"	        // for UINT64
+
 #include <atomic>
 #include <limits>
 #include <new>                  /* For 'placement new' */

+ 4 - 1
Source/BansheeUtility/Include/BsMessageHandlerFwd.h

@@ -2,6 +2,9 @@
 //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
 #pragma once
 
+#include "BsTypes.h"
+#include "BsString.h"
+
 namespace BansheeEngine
 {
 	/** @addtogroup General
@@ -63,4 +66,4 @@ namespace BansheeEngine
 	class MessageHandler;
 
 	/** @} */
-}
+}

+ 4 - 0
Source/BansheeUtility/Include/BsPath.h

@@ -2,6 +2,10 @@
 //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
 #pragma once
 
+#include "BsPlatformDefines.h"
+#include "BsString.h"
+#include "BsUtil.h"                // For hash_combine()
+
 namespace BansheeEngine
 {
 	/** @addtogroup Filesystem

+ 5 - 1
Source/BansheeUtility/Include/BsPlatformUtility.h

@@ -2,6 +2,10 @@
 //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
 #pragma once
 
+#include "BsPlatformDefines.h"
+#include "BsString.h"
+#include "BsTypes.h"
+
 namespace BansheeEngine
 {
 	/** @addtogroup General
@@ -83,4 +87,4 @@ namespace BansheeEngine
 	};
 
 	/** @} */
-}
+}

+ 9 - 0
Source/BansheeUtility/Include/BsRTTIPrerequisites.h

@@ -2,6 +2,15 @@
 //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
 #pragma once
 
+#include "BsMemoryAllocator.h"
+#include "BsFwdDeclUtil.h"      // For TIDs
+#include "BsTypes.h"            // For UINT32
+
+#include <limits>
+#include <type_traits>          // For std::is_pod
+#include <utility>              // For std::pair
+#include <vector>
+
 namespace BansheeEngine
 {
 	/** @addtogroup Utility 

+ 5 - 3
Source/BansheeUtility/Include/BsRadian.h

@@ -2,11 +2,13 @@
 //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
 #pragma once
 
-#include "BsPrerequisitesUtil.h"
-#include "BsDegree.h"
+#include "BsPlatformDefines.h"
+#include "BsRTTIPrerequisites.h"
 
 namespace BansheeEngine
 {
+	class Degree;
+
 	/** @addtogroup Math
 	 *  @{
 	 */
@@ -74,4 +76,4 @@ namespace BansheeEngine
 	/** @cond SPECIALIZATIONS */
 	BS_ALLOW_MEMCPY_SERIALIZATION(Radian);
 	/** @endcond */
-}
+}

+ 3 - 0
Source/BansheeUtility/Include/BsString.h

@@ -2,7 +2,10 @@
 //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
 #pragma once
 
+#include "BsMemoryAllocator.h"
+#include "BsRadian.h"
 
+#include <string>
 
 namespace BansheeEngine
 {