summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-02-22 19:48:25 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-02-22 19:48:25 -0500
commit96c7010c1b1757217a14b49a563707a972fd6107 (patch)
tree0113526c5024f6fd1d35522722e5594d12a9df13 /src/StardewModdingAPI/Framework
parentb30d93d0ffd28c667e5ac51b26c6125fb57ad13a (diff)
downloadSMAPI-96c7010c1b1757217a14b49a563707a972fd6107.tar.gz
SMAPI-96c7010c1b1757217a14b49a563707a972fd6107.tar.bz2
SMAPI-96c7010c1b1757217a14b49a563707a972fd6107.zip
update for Stardew Valley 1.9 (#231)
Diffstat (limited to 'src/StardewModdingAPI/Framework')
-rw-r--r--src/StardewModdingAPI/Framework/SGame.cs24
1 files changed, 15 insertions, 9 deletions
diff --git a/src/StardewModdingAPI/Framework/SGame.cs b/src/StardewModdingAPI/Framework/SGame.cs
index f64457f8..56631260 100644
--- a/src/StardewModdingAPI/Framework/SGame.cs
+++ b/src/StardewModdingAPI/Framework/SGame.cs
@@ -923,7 +923,7 @@ namespace StardewModdingAPI.Framework
{
SpriteBatch spriteBatch = Game1.spriteBatch;
SpriteFont smallFont = Game1.smallFont;
- object[] objArray = new object[8];
+ object[] objArray = new object[10];
int index1 = 0;
string str1;
if (!Game1.panMode)
@@ -938,20 +938,26 @@ namespace StardewModdingAPI.Framework
float cursorTransparency = Game1.mouseCursorTransparency;
objArray[index3] = (object)cursorTransparency;
int index4 = 3;
- string str3 = " wasMouseVisibleThisFrame: ";
+ string str3 = " mousePosition: ";
objArray[index4] = (object)str3;
int index5 = 4;
- string str4 = Game1.wasMouseVisibleThisFrame.ToString();
- objArray[index5] = (object)str4;
+ int mouseX = Game1.getMouseX();
+ objArray[index5] = (object)mouseX;
int index6 = 5;
- string newLine = Environment.NewLine;
- objArray[index6] = (object)newLine;
+ string str4 = ",";
+ objArray[index6] = (object)str4;
int index7 = 6;
- string str5 = "debugOutput: ";
- objArray[index7] = (object)str5;
+ int mouseY = Game1.getMouseY();
+ objArray[index7] = (object)mouseY;
int index8 = 7;
+ string newLine = Environment.NewLine;
+ objArray[index8] = (object)newLine;
+ int index9 = 8;
+ string str5 = "debugOutput: ";
+ objArray[index9] = (object)str5;
+ int index10 = 9;
string debugOutput = Game1.debugOutput;
- objArray[index8] = (object)debugOutput;
+ objArray[index10] = (object)debugOutput;
string text = string.Concat(objArray);
Vector2 position = new Vector2((float)this.GraphicsDevice.Viewport.TitleSafeArea.X, (float)this.GraphicsDevice.Viewport.TitleSafeArea.Y);
Color red = Color.Red;