This commit is contained in:
TinyHerm committed 2026-11-24 23:40:08 +03:00
commit 1c7a8cf25f
579 files changed
+83196

No files matched your search

+42
View File
@@ -0,0 +1,42 @@
namespace VibranceHud.DarkBoost;
public static class DarkBoostTints
{
public static readonly DarkBoostTint[] All = new DarkBoostTint[5]
{
DarkBoostTint.Green,
DarkBoostTint.Clean,
DarkBoostTint.Amber,
DarkBoostTint.Cyan,
DarkBoostTint.White
};
public static string Name(DarkBoostTint t)
{
return t.ToString();
}
public static string Fact(DarkBoostTint t)
{
return t switch
{
DarkBoostTint.Green => "Green adds all colours together, so it pulls out the most detail.",
DarkBoostTint.Clean => "Clean keeps the game’s own colours. A little less detail than Green.",
DarkBoostTint.Amber => "Amber adds all colours together and makes the picture warm orange.",
DarkBoostTint.Cyan => "Cyan adds all colours together and makes the picture blue-green.",
_ => "White adds all colours together and makes the picture grey.",
};
}
public static double[]? PreviewWeights(DarkBoostTint t)
{
return t switch
{
DarkBoostTint.Green => new double[3] { 0.08, 1.0, 0.25 },
DarkBoostTint.Amber => new double[3] { 1.0, 0.62, 0.12 },
DarkBoostTint.Cyan => new double[3] { 0.12, 0.85, 1.0 },
DarkBoostTint.White => new double[3] { 0.9, 0.9, 0.9 },
_ => null,
};
}
}