Merge pull request #83 from Zoryn4163/master

small cleanup
This commit is contained in:
Zoryn 2016-03-29 06:29:04 -04:00
commit 3c3338125c
1 changed files with 2 additions and 11 deletions

View File

@ -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)
{