diff options
author | Zoryn <Zoryn4163@users.noreply.github.com> | 2016-03-29 06:29:04 -0400 |
---|---|---|
committer | Zoryn <Zoryn4163@users.noreply.github.com> | 2016-03-29 06:29:04 -0400 |
commit | 3c3338125ccb11c63265fd7e553df0c88f408452 (patch) | |
tree | 36f7993e695b8b8ac50f6735b7e74de0e352709f /StardewModdingAPI/Inheritance | |
parent | 7988687d103fbd1af207a951fac3043d8d40044a (diff) | |
parent | 979bb4668bf76a1f19b98515908c3fa7ff3a93b4 (diff) | |
download | SMAPI-3c3338125ccb11c63265fd7e553df0c88f408452.tar.gz SMAPI-3c3338125ccb11c63265fd7e553df0c88f408452.tar.bz2 SMAPI-3c3338125ccb11c63265fd7e553df0c88f408452.zip |
Merge pull request #83 from Zoryn4163/master
small cleanup
Diffstat (limited to 'StardewModdingAPI/Inheritance')
-rw-r--r-- | StardewModdingAPI/Inheritance/SGame.cs | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/StardewModdingAPI/Inheritance/SGame.cs b/StardewModdingAPI/Inheritance/SGame.cs index c7ad1436..1389ef22 100644 --- a/StardewModdingAPI/Inheritance/SGame.cs +++ b/StardewModdingAPI/Inheritance/SGame.cs @@ -460,11 +460,13 @@ namespace StardewModdingAPI.Inheritance QueueDebugMessage("FPS: " + FramesPerSecond);
UpdateEventCalls();
+ /*
if (ZoomLevelIsOne)
{
options.zoomLevel = 0.99f;
InvokeBasePrivateInstancedMethod("Window_ClientSizeChanged", null, null);
}
+ */
if (FramePressedKeys.Contains(Keys.F3))
{
@@ -1160,17 +1162,6 @@ namespace StardewModdingAPI.Inheritance //base.Draw(gameTime);
- /*try
- {
- BaseBaseDraw bbd = (BaseBaseDraw) Delegate.CreateDelegate(typeof (BaseBaseDraw), Program.gamePtr, "Draw");
- bbd.GetType().BaseType.BaseType.GetField("_target", BindingFlags.Instance | BindingFlags.NonPublic).SetValue(bbd, this);
- bbd();
- }
- catch(Exception ex)
- {
- Log.Error(ex);
- }*/
-
spriteBatch.Begin(SpriteSortMode.FrontToBack, BlendState.AlphaBlend, SamplerState.PointClamp, null, null);
if (eventUp && currentLocation.currentEvent != null)
{
|