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
|
|
|
|
{
|
2018-07-15 18:21:05 +05:30
|
|
|
QString filename;
|
|
|
|
QString checksum;
|
2014-04-23 05:57:40 +05:30
|
|
|
};
|
|
|
|
|
2014-05-05 03:40:59 +05:30
|
|
|
struct VersionFilterData
|
2014-04-23 05:57:40 +05:30
|
|
|
{
|
2018-07-15 18:21:05 +05:30
|
|
|
VersionFilterData();
|
|
|
|
// 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;
|
|
|
|
// no new versions below this date will be accepted from Mojang servers
|
|
|
|
QDateTime legacyCutoffDate;
|
|
|
|
// Libraries that belong to LWJGL
|
|
|
|
QSet<QString> lwjglWhitelist;
|
2021-06-24 01:54:25 +05:30
|
|
|
// 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 23:55:16 +05:30
|
|
|
// release data of first version to require Java 17 (1.18 Pre Release 2)
|
|
|
|
QDateTime java17BeginsDate;
|
2014-04-23 05:57:40 +05:30
|
|
|
};
|
2021-07-25 22:41:59 +05:30
|
|
|
extern VersionFilterData g_VersionFilterData;
|