Added "AE" filter to flavor text. Allowed nesting of curly quotes.

Also compatibility update.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@445 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
coppro
2007-06-29 18:36:45 +00:00
parent 02de1629ce
commit 14b68de6cb
5 changed files with 18 additions and 11 deletions
+6 -6
View File
@@ -43,12 +43,12 @@ class ExportTemplate : public Packaged {
/// Information that can be used by export functions
struct ExportInfo {
SetP set; ///< The set that is being exported
ExportTemplateP export_template; ///< The export template used
String directory_relative; ///< The directory for storing extra files (or "" if !export->create_directory)
/// This is just the directory name
String directory_absolute; ///< The absolute path of the directory
set<String> exported_images; ///< Images (from symbol font) already exported
SetP set; ///< The set that is being exported
ExportTemplateP export_template; ///< The export template used
String directory_relative; ///< The directory for storing extra files (or "" if !export->create_directory)
/// This is just the directory name
String directory_absolute; ///< The absolute path of the directory
std::set<String> exported_images; ///< Images (from symbol font) already exported
};
DECLARE_DYNAMIC_ARG(ExportInfo*, export_info);
+1
View File
@@ -15,6 +15,7 @@
#include <data/export_template.hpp>
#include <util/window_id.hpp>
#include <util/error.hpp>
#include <util/platform.hpp>
#include <wx/filename.h>
#include <wx/wfstream.h>
+3 -1
View File
@@ -1,3 +1,4 @@
//+----------------------------------------------------------------------------+
//| Description: Magic Set Editor - Program to make Magic (tm) cards |
//| Copyright: (C) 2001 - 2007 Twan van Laarhoven |
@@ -106,7 +107,8 @@ SCRIPT_FUNCTION(curly_quotes) {
} else if (c == _('>')) {
in_tag = false;
} else if (!in_tag) {
open = isSpace(c);
// Also allow double-nesting of quotes
open = isSpace(c) || c == LEFT_DOUBLE_QUOTE || c == LEFT_SINGLE_QUOTE;
}
}
SCRIPT_RETURN(input);