diff options
author | Zoryn Aaron <zoryn4163@gmail.com> | 2016-03-29 06:28:11 -0400 |
---|---|---|
committer | Zoryn Aaron <zoryn4163@gmail.com> | 2016-03-29 06:28:11 -0400 |
commit | 5754736e2907844df81f5cc7334af62f585a92d7 (patch) | |
tree | 36f7993e695b8b8ac50f6735b7e74de0e352709f | |
parent | 56bc5b8ba05f7262868e0c2993de07c981530e37 (diff) | |
download | SMAPI-5754736e2907844df81f5cc7334af62f585a92d7.tar.gz SMAPI-5754736e2907844df81f5cc7334af62f585a92d7.tar.bz2 SMAPI-5754736e2907844df81f5cc7334af62f585a92d7.zip |
cleanup a little. left some commented code for reference though.
-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)
{
|