2020-01-27 13:23:00 +01:00
|
|
|
|
using Model;
|
|
|
|
|
using System;
|
2020-01-24 14:34:10 +01:00
|
|
|
|
using System.Collections.Generic;
|
2020-02-01 23:50:59 +01:00
|
|
|
|
using System.IO;
|
2020-01-24 14:34:10 +01:00
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace Common
|
|
|
|
|
{
|
|
|
|
|
public class Constants
|
|
|
|
|
{
|
2020-01-29 16:32:23 +01:00
|
|
|
|
public const long FileSizeLimit = 1024 * 1024;
|
|
|
|
|
|
2020-02-01 23:50:59 +01:00
|
|
|
|
private const string workingDirectory = "WD";
|
|
|
|
|
private static readonly string iraArt = Path.Combine(workingDirectory, "IRA");
|
|
|
|
|
private static readonly string iraRff = Path.Combine(workingDirectory, "BLOOD.RFF");
|
|
|
|
|
private static readonly string iraSound = Path.Combine(workingDirectory, "SOUNDS.RFF");
|
|
|
|
|
|
2020-01-27 13:23:00 +01:00
|
|
|
|
public static readonly IReadOnlyDictionary<string, Mod> SupportedMods = new Dictionary<string, Mod>()
|
|
|
|
|
{
|
|
|
|
|
{ "BLOOD", new Mod("BLOOD", "Blood", "") },
|
|
|
|
|
{ "CRYPTIC", new Mod("CRYPTIC", "Cryptic Passage", "-ini CRYPTIC.INI") },
|
|
|
|
|
{ "DW", new Mod("DW", "Death Wish", "-ini dw.ini") },
|
2020-02-01 23:50:59 +01:00
|
|
|
|
{ "TWOIRA", new Mod("TWOIRA", "The Way of Ira", $"-game_dir IRA -ini ira.ini -art {iraArt} -rff {iraRff} -snd {iraSound}") },
|
2020-01-27 13:23:00 +01:00
|
|
|
|
};
|
2020-01-24 14:34:10 +01:00
|
|
|
|
}
|
|
|
|
|
}
|