- Removed dependencies on Boost/string in mtg sources

- Removes dependencies on Boost/shared_ptr in mtg sources only for WP8 for the moment
- Various compilation fixes on WP8
This commit is contained in:
Xawotihs@gmail.com
2013-09-30 21:25:17 +00:00
parent 7894ca3ace
commit 490752e9da
11 changed files with 34 additions and 18 deletions
+1 -3
View File
@@ -1,5 +1,4 @@
#include "PrecompiledHeader.h"
#include <boost/algorithm/string.hpp>
#include "ManaCost.h"
#include "ManaCostHybrid.h"
#include "ExtraCost.h"
@@ -8,7 +7,6 @@
#include "Player.h"
#include "WEvent.h"
#include "MTGAbility.h"
#include "iterator"
SUPPORT_OBJECT_ANALYTICS(ManaCost)
@@ -95,7 +93,7 @@ ManaCost * ManaCost::parseManaCost(string s, ManaCost * _manaCost, MTGCardInstan
}
//switch on the first letter. If two costs share their first letter, add an "if" within the switch
boost::algorithm::to_lower(value);
std::transform(value.begin(), value.end(), value.begin(), ::tolower);
switch (value[0])
{
case 'x':