Commit Graph

6 Commits

Author SHA1 Message Date
jendave
e340bb08a4 - New quest mode stuff and a lot of other changes. 2011-08-06 04:19:47 +00:00
jendave
2cac78c2a1 - Added CardShop. 2011-08-06 03:44:30 +00:00
jendave
a48a6f43bb A lot of fixes in cards.txt and the CardFactories, removed all warnings. 2011-08-06 02:45:22 +00:00
jendave
e74ef54912 fixed the Quest mode issue 2011-08-06 02:45:12 +00:00
jendave
8bd5c4a2c4 new deck format working now!
decks are in the res/decks folder, every deck is a file, booster decks are directories with 8 deck files in them. currently, if you run the new version, the decks folder is created automatically, but old decks are neither migrated nor overwritten. i'll commit an import program soon

major changes include
-Deck doesn't store the three boolean fields any more, but computes them
-DeckIO is now an interface, with OldDeckIO and NewDeckIO as its implementations. OldDeckIO will probably still be used for the deck migration tool.
2011-08-06 02:44:55 +00:00
jendave
386669b84e Huge update to forge's structure:
everything from the default package moved to package forge. the default package contains classes Deck and QuestData_State to keep compatibility with old files that store serialized objects of these classes

if you find other classes that are stored in the res directory through serialization, create a class for it in the default package or tell me.

about QuestData_State: i'm getting a NullPointerException when trying to create/resume quest. Maybe the quest files on SVN are simply out of date. otherwise, that seems hard. easy fix would of course be to replace null by a new Map
2011-08-06 02:43:59 +00:00