Files
@ d6859ea7177f
Branch filter:
Location: ATITD-Tools/Desert-Paint-Codex/Util/Constants.cs - annotation
d6859ea7177f
960 B
text/x-csharp
Add some sanity checks on min/max concentration and min/max reagents in recipe generation. Also, clear out the search queue when generation has finished so the queue isn't loaded next time. This fixes the start/resume button state when entering the recipe generator after a prior run had finished.
40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 6919080271d5 6919080271d5 6919080271d5 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 | using DesertPaintCodex.Models;
namespace DesertPaintCodex.Util
{
public static class Constants
{
public static int DefaultPixelMultiplier = 1;
public static int DefaultScreenWidth = 1920;
public static int DefaultScreenHeight = 1080;
public static int DefaultScreenX = 0;
public static int DefaultScreenY = 0;
private static ReactionTest? _stubReactionTest = null;
public static ReactionTest StubReactionTest
{
get
{
if (_stubReactionTest == null)
{
_stubReactionTest = new ReactionTest(
new Reagent("Toad Skin", "ToadSkin", 48, 96, 48, 0),
new Reagent("Falcons Bait", "FalconBait", 128, 240, 224, 1),
null, ClipType.None, true);
}
return _stubReactionTest;
}
}
}
}
|