Some checks failed
CodeQL Code Scanning / CodeQL (push) Has been cancelled
Build Application / Build Debug (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (macos-13, x86_64-darwin) (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (macos-14, aarch64-darwin) (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (ubuntu-22.04, x86_64-linux) (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (ubuntu-22.04-arm, aarch64-linux) (push) Has been cancelled
Update Flake Lockfile / update-flake (push) Has been cancelled
30 lines
974 B
C
Executable File
30 lines
974 B
C
Executable File
#pragma once
|
|
#include <QDateTime>
|
|
#include <QMap>
|
|
#include <QSet>
|
|
#include <QString>
|
|
|
|
struct FMLlib {
|
|
QString filename;
|
|
QString checksum;
|
|
};
|
|
|
|
struct VersionFilterData {
|
|
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;
|
|
// release date of first version to require Java 8 (17w13a)
|
|
QDateTime java8BeginsDate;
|
|
// release data of first version to require Java 16 (21w19a)
|
|
QDateTime java16BeginsDate;
|
|
// release data of first version to require Java 17 (1.18 Pre Release 2)
|
|
QDateTime java17BeginsDate;
|
|
};
|
|
extern VersionFilterData g_VersionFilterData;
|