mostly backwards compatibility with old pack system, uses boost tribool

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1311 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2009-01-09 00:49:14 +00:00
parent bce5761781
commit 432cdcd583
8 changed files with 30 additions and 5 deletions
+2 -1
View File
@@ -13,6 +13,7 @@
#include <util/reflect.hpp>
#include <script/scriptable.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/logic/tribool.hpp>
#define USE_NEW_PACK_SYSTEM 1
@@ -135,7 +136,7 @@ class PackType : public IntrusivePtrBase<PackType> {
String name; ///< Name of this pack
Scriptable<bool> enabled; ///< Is this pack enabled?
bool selectable; ///< Is this pack listed in the UI?
tribool selectable; ///< Is this pack listed in the UI?
bool summary; ///< Should the total be listed for this type?
PackSelectType select; ///< What cards/items to select
OptionalScript filter; ///< Filter to select this type of cards