changes to data formats: now using Packaged, implemented more things

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@9 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-10-07 13:12:15 +00:00
parent cdb4ecf031
commit 177f1a211f
9 changed files with 78 additions and 3 deletions
+5 -1
View File
@@ -10,6 +10,7 @@
// ----------------------------------------------------------------------------- : Includes
#include <util/prec.hpp>
#include <util/io/package.hpp>
#ifndef HEADER_DATA_CARD
DECLARE_POINTER_TYPE(Field);
@@ -17,12 +18,15 @@ DECLARE_POINTER_TYPE(Field);
// ----------------------------------------------------------------------------- : Game
class Game {
class Game : public Packaged {
public:
String fullName;
String iconFilename;
vector<FieldP> setFields;
vector<FieldP> cardFields;
// Is this Magic the Gathering?
bool isMagic() const;
};
// ----------------------------------------------------------------------------- : EOF