BGE is compilable by MSVC again
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 23 Feb 2012 09:40:10 +0000 (09:40 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 23 Feb 2012 09:40:10 +0000 (09:40 +0000)
commitd881bb4b32d1dff089b6f8c61d0f0fdd16d2b82b
tree9bbbb4dff81ea59ddc2daf386e851f8ac2588d0b
parent09ee59c669dfa51bab22fe2552d619763a8c98a3
BGE is compilable by MSVC again

Compilation error was mostly caused by trying to use namespace std before it was
actually defined (e.g. before any include of stl header).
It's not actually good idea to use namespaces in header files -- it's really easy to
run into namespace conflicts and so. Resolved by not using "using namespace" in header
files and using full quality accessing to stl collections (e.g. std::vector).
source/gameengine/GameLogic/SCA_IScene.h
source/gameengine/Ketsji/KX_Scene.h
source/gameengine/Network/LoopBackNetwork/NG_LoopBackNetworkDeviceInterface.cpp
source/gameengine/Network/LoopBackNetwork/NG_LoopBackNetworkDeviceInterface.h
source/gameengine/Rasterizer/RAS_2DFilterManager.h
source/gameengine/Rasterizer/RAS_ICanvas.h