Added warnings to Reader, fixed some bugs found that way

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@30 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-10-19 13:03:11 +00:00
parent 9f73e2e9dc
commit ba4785ac49
5 changed files with 30 additions and 5 deletions
+4 -1
View File
@@ -37,6 +37,8 @@ IMPLEMENT_REFLECTION(Field) {
String type = typeName();
REFLECT(type);
}
REFLECT(name);
REFLECT(description);
REFLECT(editable);
REFLECT(save_value);
REFLECT(show_statistics);
@@ -44,7 +46,8 @@ IMPLEMENT_REFLECTION(Field) {
REFLECT(card_list_column);
REFLECT(card_list_width);
REFLECT(card_list_allow);
REFLECT(card_list_align);
REFLECT(card_list_name);
REFLECT_N("card_list_alignment", card_list_align);
REFLECT(tab_index);
}
+1 -1
View File
@@ -31,7 +31,7 @@ String ChoiceField::typeName() const {
IMPLEMENT_REFLECTION(ChoiceField) {
REFLECT_BASE(Field);
REFLECT(choices);
REFLECT_N("choices", choices->choices);
REFLECT(script);
REFLECT_N("default", default_script);
REFLECT(initial);