compile fixes

loadfix
gus 11 years ago
parent 875daed4ec
commit 2092e5fe22

@ -1,6 +1,7 @@
#include "document.hpp" #include "document.hpp"
#include <cassert> #include <cassert>
#include <iostream>
#include <boost/filesystem.hpp> #include <boost/filesystem.hpp>

@ -8,6 +8,8 @@
#include "../mwbase/environment.hpp" #include "../mwbase/environment.hpp"
#include "../mwmechanics/creaturestats.hpp" #include "../mwmechanics/creaturestats.hpp"
#include <iostream>
namespace MWMechanics namespace MWMechanics
{ {

@ -1,5 +1,7 @@
#include "animation.hpp" #include "animation.hpp"
#include <iostream>
#include <OgreSkeletonManager.h> #include <OgreSkeletonManager.h>
#include <OgreSkeletonInstance.h> #include <OgreSkeletonInstance.h>
#include <OgreEntity.h> #include <OgreEntity.h>

@ -1,5 +1,7 @@
#include "occlusionquery.hpp" #include "occlusionquery.hpp"
#include <iostream>
#include <OgreRenderSystem.h> #include <OgreRenderSystem.h>
#include <OgreRoot.h> #include <OgreRoot.h>
#include <OgreBillboardSet.h> #include <OgreBillboardSet.h>

@ -1,6 +1,7 @@
#include "renderingmanager.hpp" #include "renderingmanager.hpp"
#include <cassert> #include <cassert>
#include <iostream>
#include <OgreRoot.h> #include <OgreRoot.h>
#include <OgreRenderWindow.h> #include <OgreRenderWindow.h>

@ -1,6 +1,8 @@
#include "statemanagerimp.hpp" #include "statemanagerimp.hpp"
#include <iostream>
#include <components/esm/esmwriter.hpp> #include <components/esm/esmwriter.hpp>
#include <components/esm/esmreader.hpp> #include <components/esm/esmreader.hpp>
#include <components/esm/cellid.hpp> #include <components/esm/cellid.hpp>

@ -1,6 +1,7 @@
#include "containerstore.hpp" #include "containerstore.hpp"
#include <iostream>
#include <cassert> #include <cassert>
#include <typeinfo> #include <typeinfo>
#include <stdexcept> #include <stdexcept>

@ -45,7 +45,7 @@ static char strict_normalize_char(char ch)
static char nonstrict_normalize_char(char ch) static char nonstrict_normalize_char(char ch)
{ {
return ch == '\\' ? '/' : std::tolower(ch); return ch == '\\' ? '/' : std::tolower(ch,std::locale());
} }
template<typename T1, typename T2> template<typename T1, typename T2>

@ -37,6 +37,7 @@
#include <vector> #include <vector>
#include <cassert> #include <cassert>
#include <typeinfo> #include <typeinfo>
#include <iostream>
#include <boost/weak_ptr.hpp> #include <boost/weak_ptr.hpp>
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>

@ -4,6 +4,7 @@
#include <OgrePlatform.h> #include <OgrePlatform.h>
#include <OgreRoot.h> #include <OgreRoot.h>
#include <iostream>
namespace SFO namespace SFO
{ {

@ -8,6 +8,8 @@
#include <OgreGpuProgramManager.h> #include <OgreGpuProgramManager.h>
#include <OgreVector4.h> #include <OgreVector4.h>
#include <iostream>
namespace sh namespace sh
{ {
OgreGpuProgram::OgreGpuProgram( OgreGpuProgram::OgreGpuProgram(

@ -8,6 +8,7 @@
#include <map> #include <map>
#include "BulletShapeLoader.h" #include "BulletShapeLoader.h"
#include "BulletCollision/CollisionShapes/btScaledBvhTriangleMeshShape.h" #include "BulletCollision/CollisionShapes/btScaledBvhTriangleMeshShape.h"
#include <boost/shared_ptr.hpp>

Loading…
Cancel
Save