Fixes for building in MSVC

0.6.1
Allofich 8 years ago
parent 63f101e0cd
commit 42402976e3

@ -1,5 +1,7 @@
#include "containeritemmodel.hpp"
#include <algorithm>
#include "../mwworld/containerstore.hpp"
#include "../mwworld/class.hpp"

@ -1,5 +1,7 @@
#include "skyextensions.hpp"
#include <algorithm>
#include <components/compiler/extensions.hpp>
#include <components/compiler/opcodes.hpp>

@ -4,6 +4,7 @@
#include <stdexcept>
#include <sstream>
#include <algorithm>
#include <components/vfs/manager.hpp>

@ -2,6 +2,7 @@
#include <stdint.h>
#include <limits>
#include <algorithm>
#include "soundmanagerimp.hpp"

@ -1,6 +1,8 @@
#ifndef GAME_SOUND_SOUND_H
#define GAME_SOUND_SOUND_H
#include <algorithm>
#include "sound_output.hpp"
namespace MWSound

@ -58,7 +58,7 @@ MWState::Character* MWState::CharacterManager::createCharacter(const std::string
// The character name is user-supplied, so we need to escape the path
for (std::string::const_iterator it = name.begin(); it != name.end(); ++it)
{
if (std::isalnum(*it)) // Ignores multibyte characters and non alphanumeric characters
if (isalnum(*it)) // Ignores multibyte characters and non alphanumeric characters
stream << *it;
else
stream << "_";

@ -1,6 +1,7 @@
#include "constrainedfilestream.hpp"
#include <streambuf>
#include <algorithm>
#include "lowlevelfile.hpp"

@ -1,5 +1,7 @@
#include "controller.hpp"
#include <algorithm>
#include "statesetupdater.hpp"
#include <osg/Drawable>

Loading…
Cancel
Save