2014-04-23 05:57:40 +05:30
|
|
|
#pragma once
|
|
|
|
#include <QMap>
|
|
|
|
#include <QString>
|
|
|
|
#include <QSet>
|
2014-05-11 16:07:21 +05:30
|
|
|
#include <QDateTime>
|
2014-04-23 05:57:40 +05:30
|
|
|
|
|
|
|
struct FMLlib
|
|
|
|
{
|
|
|
|
QString filename;
|
|
|
|
QString checksum;
|
|
|
|
bool ours;
|
|
|
|
};
|
|
|
|
|
2014-05-05 03:40:59 +05:30
|
|
|
struct VersionFilterData
|
2014-04-23 05:57:40 +05:30
|
|
|
{
|
2014-05-05 03:40:59 +05:30
|
|
|
VersionFilterData();
|
2014-04-23 05:57:40 +05:30
|
|
|
// mapping between minecraft versions and FML libraries required
|
|
|
|
QMap<QString, QList<FMLlib>> fmlLibsMapping;
|
|
|
|
// set of minecraft versions for which using forge installers is blacklisted
|
|
|
|
QSet<QString> forgeInstallerBlacklist;
|
2014-05-11 16:07:21 +05:30
|
|
|
// set of 'legacy' versions that will not show up in the version lists.
|
|
|
|
QSet<QString> legacyBlacklist;
|
|
|
|
// no new versions below this date will be accepted from Mojang servers
|
|
|
|
QDateTime legacyCutoffDate;
|
2014-07-20 02:46:02 +05:30
|
|
|
// Libraries that belong to LWJGL
|
|
|
|
QSet<QString> lwjglWhitelist;
|
2015-05-02 16:14:37 +05:30
|
|
|
// Currently recommended minecraft version
|
|
|
|
QString recommendedMinecraftVersion;
|
|
|
|
// Currently discouraged java version (anything equal and above will be discouraged)
|
|
|
|
QString discouragedJavaVersion;
|
2014-04-23 05:57:40 +05:30
|
|
|
};
|
2014-05-05 03:40:59 +05:30
|
|
|
extern VersionFilterData g_VersionFilterData;
|