2014-04-23 01:27:40 +01:00
|
|
|
#pragma once
|
|
|
|
#include <QMap>
|
|
|
|
#include <QString>
|
|
|
|
#include <QSet>
|
2014-05-11 11:37:21 +01:00
|
|
|
#include <QDateTime>
|
2014-04-23 01:27:40 +01:00
|
|
|
|
|
|
|
struct FMLlib
|
|
|
|
{
|
|
|
|
QString filename;
|
|
|
|
QString checksum;
|
|
|
|
};
|
|
|
|
|
2014-05-04 23:10:59 +01:00
|
|
|
struct VersionFilterData
|
2014-04-23 01:27:40 +01:00
|
|
|
{
|
2014-05-04 23:10:59 +01:00
|
|
|
VersionFilterData();
|
2014-04-23 01:27:40 +01:00
|
|
|
// 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 11:37:21 +01:00
|
|
|
// no new versions below this date will be accepted from Mojang servers
|
|
|
|
QDateTime legacyCutoffDate;
|
2014-07-19 22:16:02 +01:00
|
|
|
// Libraries that belong to LWJGL
|
|
|
|
QSet<QString> lwjglWhitelist;
|
2021-06-23 21:24:25 +01:00
|
|
|
// release date of first version to require Java 8 (17w13a)
|
|
|
|
QDateTime java8BeginsDate;
|
|
|
|
// release data of first version to require Java 16 (21w19a)
|
|
|
|
QDateTime java16BeginsDate;
|
2021-11-16 18:25:16 +00:00
|
|
|
// release data of first version to require Java 17 (1.18 Pre Release 2)
|
|
|
|
QDateTime java17BeginsDate;
|
2014-04-23 01:27:40 +01:00
|
|
|
};
|
2021-07-25 18:11:59 +01:00
|
|
|
extern VersionFilterData g_VersionFilterData;
|