From 33abea62211d43229cd85c20d3c9adaf689804cb Mon Sep 17 00:00:00 2001 From: twanvl Date: Tue, 10 Oct 2006 17:22:05 +0000 Subject: [PATCH] 'ported' scripting code to work with unicode and the rest of MSE git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@14 0fc631ac-6414-0410-93d0-97cfa31319b6 --- src/data/card.cpp | 1 + src/data/field.cpp | 27 ++++++++++++++++--- src/data/field.hpp | 14 +++++----- src/data/game.cpp | 1 + src/data/set.cpp | 1 + src/data/settings.cpp | 3 ++- src/data/symbol.cpp | 1 + src/mse.vcproj | 55 +++++++++++++++++++++++++++++++++----- src/script/dependency.cpp | 27 ++++++++++--------- src/script/parser.cpp | 34 +++++++++++------------ src/script/script.cpp | 13 +++++---- src/script/value.cpp | 53 ++++++++++++++++++++++-------------- src/script/value.hpp | 50 +++++++++++++++------------------- src/util/error.hpp | 16 +++++++++++ src/util/io/get_member.cpp | 5 ++++ src/util/io/get_member.hpp | 11 +++++--- src/util/io/writer.cpp | 4 +-- src/util/reflect.hpp | 16 +++++++++-- src/util/smart_ptr.hpp | 36 ++++++++++++++++++++++++- 19 files changed, 259 insertions(+), 109 deletions(-) diff --git a/src/data/card.cpp b/src/data/card.cpp index aea44857..9edc57bd 100644 --- a/src/data/card.cpp +++ b/src/data/card.cpp @@ -10,6 +10,7 @@ #include #include #include +#include