Type name of ScriptObjects is now reported as the actual object type (card/set/value/etc.);

Back trace is slightly smarter
Removed move_cursor_with_sort

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@542 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-07-10 14:39:28 +00:00
parent 1ec62f304f
commit d4af90505a
12 changed files with 100 additions and 20 deletions
+3
View File
@@ -125,6 +125,9 @@ class Set : public Packaged {
map<ScriptValueP,OrderCacheP> order_cache;
};
inline String type_name(const Set&) {
return _TYPE_("set");
}
inline int item_count(const Set& set) {
return (int)set.cards.size();
}