Commit Graph

367 Commits

Author SHA1 Message Date
Jesse Plamondon-Willard 6f43a3dae5 unify SMAPI versions for SDV 1.11 and 1.2 using compile switches where needed (#264) 2017-04-23 20:27:55 -04:00
Jesse Plamondon-Willard ceabb05a84 Merge branch for Stardew Valley 1.2 beta into develop
# Conflicts:
#	src/StardewModdingAPI/Framework/SGame.cs
2017-04-23 19:56:07 -04:00
Jesse Plamondon-Willard a35fe47447 fix monitor.ExitGameImmediately not working correctly 2017-04-23 19:21:48 -04:00
Jesse Plamondon-Willard 489cacca5e minor cleanup 2017-04-23 19:12:48 -04:00
Jesse Plamondon-Willard bcaf5b21c1 remove Initialize/LoadContent overrides & deprecate related events (#265) 2017-04-23 18:57:43 -04:00
Jesse Plamondon-Willard 4f87a2b478 fix mouse-changed event never updating prior mouse position 2017-04-22 23:59:38 -04:00
Jesse Plamondon-Willard 780c3335e8 rewrite references to Game1.currentMinigame broken by SDV 1.2 2017-04-05 15:00:14 -04:00
Jesse Plamondon-Willard 37d5390ed0 unbackport for SDV 1.2 branch (#258) 2017-04-05 15:00:14 -04:00
Jesse Plamondon-Willard 4675da0600 add --log-path argument to specify SMAPI log path during testing 2017-04-01 16:08:31 -04:00
Jesse Plamondon-Willard c023118356 always show friendly game version 2017-03-30 20:21:15 -04:00
Jesse Plamondon-Willard 7175e9f8ee add upper version check (#258) 2017-03-30 19:43:10 -04:00
Jesse Plamondon-Willard df1e748629 backport SMAPI 1.9 to Stardew Valley 1.11 (#258) 2017-03-30 18:59:01 -04:00
Jesse Plamondon-Willard 04cae4ef46 fix SMAPI not recognising Mod instances that don't subclass Mod directly (#252) 2017-03-26 20:15:48 -04:00
Jesse Plamondon-Willard 3530f6f67c rewrite ItemStackChange references to correct namespace (#254) 2017-03-26 20:09:46 -04:00
Jesse Plamondon-Willard 8bf3ef118a add support for rewriting method definitions (#254) 2017-03-26 19:17:48 -04:00
Jesse Plamondon-Willard 85ed488090 merge CIL finders & rewriters into one interface (#254) 2017-03-26 19:01:35 -04:00
Jesse Plamondon-Willard 23443721cd allow multiple rewriters to change the same CIL instruction (#254) 2017-03-26 19:01:13 -04:00
Jesse Plamondon-Willard 7b641d8164 simplify CIL rewriter hierarchy 2017-03-25 15:17:26 -04:00
Jesse Plamondon-Willard 267e2469da rewrite removed font references for compatibility 2017-03-25 14:06:36 -04:00
Jesse Plamondon-Willard 4d48bdfe7c drop 'generic' prefix for rewriters since they're all generic now 2017-03-25 13:50:01 -04:00
Jesse Plamondon-Willard 2e58f853d2 replace field-to-property rewriters with a generic rewriter 2017-03-25 13:40:37 -04:00
Jesse Plamondon-Willard d724f54f32 replace SpriteBatch rewriter with a generic method mapper 2017-03-25 12:55:06 -04:00
Jesse Plamondon-Willard 0e67440e63 add inline documentation to StardewModdingAPI.config.json file 2017-03-16 17:07:50 -04:00
Jesse Plamondon-Willard 104aa31412 let players override SMAPI incompatible-code detection if needed 2017-03-14 20:48:02 -04:00
Jesse Plamondon-Willard 33df1e8c94 remove unofficial patch for Chest Label System (no longer available) 2017-03-14 19:50:08 -04:00
Jesse Plamondon-Willard 307304a03e revert all projects except installer to .NET Framework 4.5
This caused obscure invalid-IL crashes when compiled through MonoDevelop on Linux.
2017-03-14 18:16:44 -04:00
Jesse Plamondon-Willard 6f37e43a9b use default C# version instead of specifying version 2017-03-14 15:18:57 -04:00
Jesse Plamondon-Willard da630efc1d downgrade to .NET Framework 4.0 for better compatibility on Windows 7–8.1 2017-03-14 14:15:50 -04:00
Jesse Plamondon-Willard 8bd265fed6 refactor SGame a bit now that it's internal 2017-03-14 13:30:29 -04:00
Jesse Plamondon-Willard ab89e42201 bump minimum game version 2017-03-12 20:31:46 -04:00
Jesse Plamondon-Willard 7bab161834 disable experimental content event for upcoming 1.9 release (#173) 2017-03-12 20:15:36 -04:00
Jesse Plamondon-Willard 183fb9ff6e remove unused IConfigFile (#238) 2017-03-12 20:12:47 -04:00
Jesse Plamondon-Willard 6a87f3566f update incompatibility record for Better Sprinklers 2017-03-12 19:15:55 -04:00
Jesse Plamondon-Willard ac19a1a85a add incompatibility finders for events removed in SMAPI 1.9 (#247) 2017-03-12 19:05:31 -04:00
Jesse Plamondon-Willard a93f1e2042 add several incompatibility finders for SMAPI 1.9 and SDV 1.2 (#247) 2017-03-12 18:38:01 -04:00
Jesse Plamondon-Willard ccc57935de replace individual instruction finders with generic implementations (#247) 2017-03-12 18:25:29 -04:00
Jesse Plamondon-Willard a6ed67a9f7 simplify & optimise instruction searching a bit (#247) 2017-03-12 17:51:59 -04:00
Jesse Plamondon-Willard a12bcf3b78 reject mods which reference obsolete SGame class (#247) 2017-03-12 17:48:53 -04:00
Jesse Plamondon-Willard 003a9586b2 simplify access to game's Program class
Stardew Valley 1.2.15 made the class public, so we no longer need reflection to access it.
2017-03-12 16:56:16 -04:00
Jesse Plamondon-Willard fae362723f reject mods which reference obsolete Game1.borderFont and Game1.smoothFont fields (#247) 2017-03-12 03:23:20 -04:00
Jesse Plamondon-Willard 9fab0bf58f reject mods which reference obsolete StardewModdingAPI.Extensions class (#247) 2017-03-12 01:32:30 -05:00
Jesse Plamondon-Willard 6d2d90b768 add logic to detect incompatible mod instructions & reject mod load (#247) 2017-03-12 01:31:15 -05:00
Jesse Plamondon-Willard b0fab4a076 log rewritten instructions (#247) 2017-03-12 01:15:01 -05:00
Jesse Plamondon-Willard 3663f70603 split IInstructionFinder from IInstructionRewriter (#247) 2017-03-12 01:01:52 -05:00
Jesse Plamondon-Willard 95e5197967 fix SaveEvents.AfterLoad being raised during the new-game intro before the player is initialised 2017-03-11 17:28:39 -05:00
Jesse Plamondon-Willard d881f56856 fix SMAPI not correctly detecting cached assets if they were translated (#173) 2017-03-10 20:49:04 -05:00
Jesse Plamondon-Willard 363f5aeef2 rename content event for consistency, simplify usage (#173) 2017-03-10 20:48:54 -05:00
Jesse Plamondon-Willard e3522edddd extend base content helper to support null content (#173) 2017-03-10 12:00:11 -05:00
Jesse Plamondon-Willard ff39e9b171 move generic content properties & methods into separate interface (#173) 2017-03-10 11:05:17 -05:00
Jesse Plamondon-Willard edbbb7cff4 update old instructions about resetting config file 2017-03-08 15:51:00 -05:00