Skip to content

Commit 863b6cb

Browse files
committed
holy fucking shit fuck my life
1 parent d127436 commit 863b6cb

File tree

3 files changed

+576
-59
lines changed

3 files changed

+576
-59
lines changed

StardewModdingAPI/Constants.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,10 @@ public static class Constants
5858
/// Do not mark as 'const' or else 'if' checks will complain that the expression is always true in ReSharper
5959
/// </summary>
6060
public static bool EnableDrawingIntoRenderTarget => true;
61+
62+
/// <summary>
63+
/// Completely overrides the base game's draw call to the one is SGame
64+
/// </summary>
65+
public static bool EnableCompletelyOverridingBaseDrawCall => true;
6166
}
6267
}

StardewModdingAPI/Events/Time.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ public static class TimeEvents
88
public static event EventHandler<EventArgsIntChanged> DayOfMonthChanged = delegate { };
99
public static event EventHandler<EventArgsIntChanged> YearOfGameChanged = delegate { };
1010
public static event EventHandler<EventArgsStringChanged> SeasonOfYearChanged = delegate { };
11+
public static event EventHandler OnNewDay = delegate { };
1112

1213
public static void InvokeTimeOfDayChanged(int priorInt, int newInt)
1314
{
@@ -28,5 +29,10 @@ public static void InvokeSeasonOfYearChanged(string priorString, string newStrin
2829
{
2930
SeasonOfYearChanged.Invoke(null, new EventArgsStringChanged(priorString, newString));
3031
}
32+
33+
public static void InvokeOnNewDay(int priorInt, int newInt)
34+
{
35+
OnNewDay.Invoke(null, new EventArgsIntChanged(priorInt, newInt));
36+
}
3137
}
3238
}

0 commit comments

Comments
 (0)