mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
numeric statistics dimensions; minor tweaks of graph
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@150 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
|
||||
StatsDimension::StatsDimension()
|
||||
: automatic(false)
|
||||
, numeric(false)
|
||||
{}
|
||||
|
||||
StatsDimension::StatsDimension(const Field& field)
|
||||
@@ -20,6 +21,7 @@ StatsDimension::StatsDimension(const Field& field)
|
||||
, name (field.name)
|
||||
, description (field.description)
|
||||
, icon_filename(field.icon_filename)
|
||||
, numeric(false)
|
||||
{
|
||||
// initialize script, card.{field_name}
|
||||
Script& s = script.getScript();
|
||||
@@ -34,6 +36,7 @@ IMPLEMENT_REFLECTION(StatsDimension) {
|
||||
REFLECT(description);
|
||||
REFLECT_N("icon", icon_filename);
|
||||
REFLECT(script);
|
||||
REFLECT(numeric);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user