Added ScriptableImage plus the beginnings of dependency stuff

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@58 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-10-29 16:23:31 +00:00
parent 368082ade2
commit f46b0b6b7b
22 changed files with 533 additions and 18 deletions
+11
View File
@@ -12,6 +12,7 @@
#include <data/card.hpp>
#include <data/field.hpp>
#include <script/value.hpp>
#include <script/script_manager.hpp>
// ----------------------------------------------------------------------------- : Set
@@ -26,8 +27,18 @@ Set::Set(const StyleSheetP& stylesheet)
, game(stylesheet->game)
{}
Set::~Set() {}
Context& Set::getContext() {
throw "TODO";
}
String Set::typeName() const { return _("set"); }
void Set::validate() {
}
IMPLEMENT_REFLECTION(Set) {
tag.addAlias(300, _("style"), _("stylesheet")); // < 0.3.0 used style instead of stylesheet
REFLECT(game);