mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
support for saving sets
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@104 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -60,7 +60,7 @@ SetP MSE1FileFormat::importSet(const String& filename) {
|
||||
set->value<TextValue>(_("copyright")).value = file.ReadLine();
|
||||
file.ReadLine(); // border color, ignored
|
||||
String stylesheet = file.ReadLine();
|
||||
file.ReadLine(); // apprentice prefix ('MY'), ignored
|
||||
set->apprentice_code = file.ReadLine(); // apprentice prefix
|
||||
file.ReadLine(); // 'formatN'?, not even used by MSE1 :S, ignored
|
||||
file.ReadLine(); // 'formatS'?, same, ignored
|
||||
file.ReadLine(); // symbol filename, ignored
|
||||
|
||||
@@ -145,7 +145,6 @@ String Settings::settingsFile() {
|
||||
}
|
||||
|
||||
IMPLEMENT_REFLECTION(Settings) {
|
||||
tag.handleAppVersion();
|
||||
tag.addAlias(300, _("style settings"), _("stylesheet settings"));
|
||||
tag.addAlias(300, _("default style settings"), _("default stylesheet settings"));
|
||||
REFLECT(recent_sets);
|
||||
|
||||
@@ -105,5 +105,5 @@ void Reader::handle(StyleSheetP& stylesheet) {
|
||||
stylesheet = StyleSheet::byGameAndName(*game_for_reading(), value);
|
||||
}
|
||||
void Writer::handle(const StyleSheetP& stylesheet) {
|
||||
if (stylesheet) handle(stylesheet->name());
|
||||
if (stylesheet) handle(stylesheet->stylesheetName());
|
||||
}
|
||||
|
||||
@@ -159,7 +159,6 @@ void SymbolPart::calculateBounds() {
|
||||
// ----------------------------------------------------------------------------- : Symbol
|
||||
|
||||
IMPLEMENT_REFLECTION(Symbol) {
|
||||
tag.handleAppVersion();
|
||||
REFLECT(parts);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user