Jeck - Minor update to trophy room, moved metadata into cards.dat

* updated daily build
* Card spoiler now sorts by collector's number.
* Metadata looks for "[m" (for speed reasons), I've been using "[meta]" in files. No sets currently use metadata.
This commit is contained in:
wagic.jeck
2010-01-05 23:32:31 +00:00
parent 2285821d36
commit bd0e139e6d
6 changed files with 130 additions and 17 deletions

View File

@@ -177,6 +177,19 @@ protected:
float mLastInput;
};
struct WCardSort{
public:
virtual bool operator()(const MTGCard*l, const MTGCard*r) = 0;
};
struct WCSortCollector: public WCardSort{
bool operator()(const MTGCard*l, const MTGCard*r);
};
struct WCSortAlpha: public WCardSort{
bool operator()(const MTGCard*l, const MTGCard*r);
};
class WGuiImage: public WGuiItem{
public:
WGuiImage(WDataSource * wds, float _w = 0, float _h = 0, int _margin = 0);