summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/Constants.cs
diff options
context:
space:
mode:
authorZoryn Aaron <zoryn4163@gmail.com>2016-03-26 21:50:47 -0400
committerZoryn Aaron <zoryn4163@gmail.com>2016-03-26 21:50:47 -0400
commit36fb605a7c5262a04e2752c55ae97093d26c1a73 (patch)
tree3d77521f80fa319ed86de1cdf63bbc6c2ec50103 /StardewModdingAPI/Constants.cs
parent02fe4b3e33f77a4f983e1b83733cd888606fe4e6 (diff)
downloadSMAPI-36fb605a7c5262a04e2752c55ae97093d26c1a73.tar.gz
SMAPI-36fb605a7c5262a04e2752c55ae97093d26c1a73.tar.bz2
SMAPI-36fb605a7c5262a04e2752c55ae97093d26c1a73.zip
uhhhhhh. async logging. an event i think. something or other. mid-update commit.
Diffstat (limited to 'StardewModdingAPI/Constants.cs')
-rw-r--r--StardewModdingAPI/Constants.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/StardewModdingAPI/Constants.cs b/StardewModdingAPI/Constants.cs
index a29e5fa8..109f22f8 100644
--- a/StardewModdingAPI/Constants.cs
+++ b/StardewModdingAPI/Constants.cs
@@ -42,13 +42,20 @@ namespace StardewModdingAPI
/// Path for log files to be output to.
/// %LocalAppData%//StardewValley//ErrorLogs
/// </summary>
- public static string LogPath => Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "StardewValley", "ErrorLogs");
+ public static string LogDir => Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "StardewValley", "ErrorLogs");
+ public static string LogPath => Path.Combine(LogDir, "MODDED_ProgramLog.Log_LATEST.txt");
- public static readonly Version Version = new Version(0, 39, 2, "Alpha");
+ public static readonly Version Version = new Version(0, 39, 3, "Alpha");
/// <summary>
/// Not quite "constant", but it makes more sense for it to be here, at least for now
/// </summary>
public static int ModsLoaded = 0;
+
+ /// <summary>
+ /// Whether or not to enable the Render Target drawing code offered by ClxS
+ /// Do not mark as 'const' or else 'if' checks will complain that the expression is always true in ReSharper
+ /// </summary>
+ public static bool EnableDrawingIntoRenderTarget => true;
}
}