Guest User

Untitled

a guest
Dec 28th, 2017
390
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.60 KB | None | 0 0
  1. diff --git a/Source/BansheeUtility/Allocators/BsFreeAlloc.h b/Source/BansheeUtility/Allocators/BsFreeAlloc.h
  2. index d9ec441dc..237c5d1e8 100644
  3. --- a/Source/BansheeUtility/Allocators/BsFreeAlloc.h
  4. +++ b/Source/BansheeUtility/Allocators/BsFreeAlloc.h
  5. @@ -2,8 +2,6 @@
  6. //**************** Copyright (c) 2017 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
  7. #pragma once
  8.  
  9. -#include "Prerequisites/BsPrerequisitesUtil.h"
  10. -
  11. namespace bs
  12. {
  13. /** @addtogroup Internal-Utility
  14. diff --git a/Source/BansheeUtility/Allocators/BsPoolAlloc.h b/Source/BansheeUtility/Allocators/BsPoolAlloc.h
  15. index 6c79338c7..48f706ad4 100644
  16. --- a/Source/BansheeUtility/Allocators/BsPoolAlloc.h
  17. +++ b/Source/BansheeUtility/Allocators/BsPoolAlloc.h
  18. @@ -2,6 +2,8 @@
  19. //**************** Copyright (c) 2017 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
  20. #pragma once
  21.  
  22. +#include <climits>
  23. +
  24. #include "Prerequisites/BsPrerequisitesUtil.h"
  25.  
  26. namespace bs
  27. diff --git a/Source/BansheeUtility/Error/BsCrashHandler.h b/Source/BansheeUtility/Error/BsCrashHandler.h
  28. index 0c116c33f..c9d83b9a3 100644
  29. --- a/Source/BansheeUtility/Error/BsCrashHandler.h
  30. +++ b/Source/BansheeUtility/Error/BsCrashHandler.h
  31. @@ -2,6 +2,8 @@
  32. //**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
  33. #pragma once
  34.  
  35. +#include "Prerequisites/BsPrerequisitesUtil.h"
  36. +
  37. #define BS_MAX_STACKTRACE_DEPTH 200
  38. #define BS_MAX_STACKTRACE_NAME_BYTES 1024
  39.  
  40. diff --git a/Source/BansheeUtility/Math/BsRadian.h b/Source/BansheeUtility/Math/BsRadian.h
  41. index 2772acd6f..d3039c131 100644
  42. --- a/Source/BansheeUtility/Math/BsRadian.h
  43. +++ b/Source/BansheeUtility/Math/BsRadian.h
  44. @@ -2,7 +2,8 @@
  45. //**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
  46. #pragma once
  47.  
  48. -#include "Prerequisites/BsPrerequisitesUtil.h"
  49. +#include "Prerequisites/BsPlatformDefines.h"
  50. +#include "Prerequisites/BsRTTIPrerequisites.h"
  51.  
  52. namespace bs
  53. {
  54. diff --git a/Source/BansheeUtility/Utility/BsOctree.h b/Source/BansheeUtility/Utility/BsOctree.h
  55. index c6ea43e84..4b1807aec 100644
  56. --- a/Source/BansheeUtility/Utility/BsOctree.h
  57. +++ b/Source/BansheeUtility/Utility/BsOctree.h
  58. @@ -709,7 +709,7 @@ namespace bs
  59. {
  60. // Create the child node if needed, and add the element to it
  61. if (!node->mChildren[child.index])
  62. - node->mChildren[child.index] = mNodeAlloc.construct<Node>(node);
  63. + node->mChildren[child.index] = mNodeAlloc.construct(node);
  64.  
  65. addElementToNode(elem, node->mChildren[child.index], nodeBounds.getChild(child));
  66. }
  67. @@ -739,8 +739,8 @@ namespace bs
  68. UINT32 freeIdx = elements.count % Options::MaxElementsPerNode;
  69. if(freeIdx == 0) // New group needed
  70. {
  71. - ElementGroup* elementGroup = (ElementGroup*)mElemAlloc.construct<ElementGroup>();
  72. - ElementBoundGroup* boundGroup = (ElementBoundGroup*)mElemBoundsAlloc.construct<ElementBoundGroup>();
  73. + ElementGroup* elementGroup = (ElementGroup*)mElemAlloc.construct();
  74. + ElementBoundGroup* boundGroup = (ElementBoundGroup*)mElemBoundsAlloc.construct();
  75.  
  76. elementGroup->next = elements.values;
  77. boundGroup->next = elements.bounds;
  78. diff --git a/Source/RenderBeast/BsPostProcessing.h b/Source/RenderBeast/BsPostProcessing.h
  79. index 19c68d72c..55fe1c0b4 100644
  80. --- a/Source/RenderBeast/BsPostProcessing.h
  81. +++ b/Source/RenderBeast/BsPostProcessing.h
  82. @@ -315,8 +315,8 @@ namespace bs { namespace ct
  83. static ShaderVariation VAR_##x##_NoAutoExposure_NoMSAA;
  84.  
  85. #define VARIATION_VOLUME_LUT(x) \
  86. - VARIATION_GAMMA(##x##_Gamma) \
  87. - VARIATION_GAMMA(##x##_NoGamma)
  88. + VARIATION_GAMMA(x##_Gamma) \
  89. + VARIATION_GAMMA(x##_NoGamma)
  90.  
  91. VARIATION_VOLUME_LUT(VolumeLUT)
  92. VARIATION_VOLUME_LUT(NoVolumeLUT)
  93. diff --git a/Source/SBansheeEngine/CMakeLists.txt b/Source/SBansheeEngine/CMakeLists.txt
  94. index 8a07bf656..ec5981201 100644
  95. --- a/Source/SBansheeEngine/CMakeLists.txt
  96. +++ b/Source/SBansheeEngine/CMakeLists.txt
  97. @@ -10,7 +10,6 @@ set(SBansheeEngine_INC
  98. "../BansheeUtility"
  99. "../BansheeCore"
  100. "../BansheeEngine"
  101. - "../BansheeEditor"
  102. "../BansheeMono"
  103. "${PROJECT_BINARY_DIR}/Generated/Engine/Include")
  104.  
  105. @@ -27,7 +26,7 @@ target_compile_definitions(SBansheeEngine PRIVATE -DBS_SCR_BE_EXPORTS)
  106.  
  107. # Libraries
  108. ## Local libs
  109. -target_link_libraries(SBansheeEngine BansheeMono BansheeEditor BansheeEngine BansheeUtility BansheeCore)
  110. +target_link_libraries(SBansheeEngine BansheeMono BansheeEngine BansheeUtility BansheeCore)
  111.  
  112. # IDE specific
  113. -set_property(TARGET SBansheeEngine PROPERTY FOLDER Script)
  114. \ No newline at end of file
  115. +set_property(TARGET SBansheeEngine PROPERTY FOLDER Script)
Add Comment
Please, Sign In to add comment