Version revert logic improvements, colorful icons for mod lists and resource pack list.

Icons are from Oxygen.
This commit is contained in:
Petr Mrázek
2014-06-08 21:26:48 +02:00
parent bf7b070508
commit be73eb3322
26 changed files with 150 additions and 23 deletions

View File

@ -51,6 +51,11 @@ public:
// remove any customizations on top of vanilla
bool revertToVanilla();
// does this version consist of obsolete files?
bool hasDeprecatedVersionFiles();
// remove obsolete files
bool removeDeprecatedVersionFiles();
// does this version have an FTB pack patch file?
bool hasFtbPack();
// remove FTB pack
@ -61,9 +66,6 @@ public:
void installJarMods(QStringList selectedFiles);
void installJarModByFilename(QString filepath);
// does this version still use a legacy custom.json file?
bool usesLegacyCustomJson();
enum MoveDirection { MoveUp, MoveDown };
void move(const int index, const MoveDirection direction);
void resetOrder();