summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/SGame.cs
AgeCommit message (Collapse)Author
2022-05-11replace event.HasListeners() with propertyJesse Plamondon-Willard
2022-04-13remove unused code (#837)Jesse Plamondon-Willard
2022-04-13enable nullable annotations in SMAPI where no logic changes are needed (#837)Jesse Plamondon-Willard
2022-04-06enable nullable annotations by default (#837)Jesse Plamondon-Willard
This adds `#nullable disable` to all existing code (except where null is impossible like enum files), so it can be migrated incrementally.
2022-04-06use target-typed newJesse Plamondon-Willard
2021-12-03update for Stardew Valley 1.5.5 hotfixJesse Plamondon-Willard
2021-11-28update for other changes in SDV 1.5.5Jesse Plamondon-Willard
2021-09-27fix SMAPI's display device not hooked correctly in split-screen modeJesse Plamondon-Willard
2021-07-30migrate to the new Harmony patch pattern used in my modsJesse Plamondon-Willard
That improves validation and error-handling.
2021-01-19add multi-key binding API (#744)Jesse Plamondon-Willard
2021-01-15add split-screen info to multiplayer peerJesse Plamondon-Willard
2021-01-15update for draw code changes in SDV 1.5.3Jesse Plamondon-Willard
2021-01-08update for draw changes in SDV 1.5.2Jesse Plamondon-Willard
2020-12-20update for draw changesJesse Plamondon-Willard
That includes child menus, UI draw mode, and UI scaling.
2020-12-20update for split-screen modeJesse Plamondon-Willard
This includes splitting GameRunner (the main game instance) from Game1 (now a per-screen game state), adding a PerScreen<T> utility to simplify per-screen values, adding separate per-screen input handling and events, adding new Context fields for split-screen, and logging the screen ID in split-screen mode to distinguish log entries.
2020-09-16fix typo in error messagesJesse Plamondon-Willard
2020-09-05minor cleanupJesse Plamondon-Willard
2020-08-31switch SGame back to callbacksJesse Plamondon-Willard
Callbacks are simpler and more efficient in this case.
2020-08-24minor tweaksJesse Plamondon-Willard
2020-08-24switch to ILSpy for decompiled codeJesse Plamondon-Willard
2020-08-23centralise core SMAPI logic, decouple from Game1 where possibleJesse Plamondon-Willard
2020-08-02fix compile error on Linux/MacJesse Plamondon-Willard
2020-07-26use ordinal comparison/sorting instead of invariantJesse Plamondon-Willard
2020-07-25log GPU info to simplify troubleshootingJesse Plamondon-Willard
2020-06-15Merge pull request #723 from spacechase0/event-priorityJesse Plamondon-Willard
Implement event priority attribute
2020-06-15merge inconsistent event raise methodsJesse Plamondon-Willard
2020-05-16minor cleanupJesse Plamondon-Willard
2020-03-08rework input handling to allow sending custom input to the game/modsJesse Plamondon-Willard
That will let Virtual Keyboard on Android work with the future multi-key binding API, and with mods that check input state directly (e.g. Pathoschild/StardewMods#520). It might also be useful as a public API in future versions.
2020-03-07add support for flipped and rotated map tilesJesse Plamondon-Willard
2020-02-22fix mods receiving their own broadcastsJesse Plamondon-Willard
2020-02-22update draw logic for recent game updatesJesse Plamondon-Willard
2020-02-19rename InputStatus to SButtonState for consistencyJesse Plamondon-Willard
2020-01-26tweak namespaceJesse Plamondon-Willard
2020-01-26refactor performance counter codeJesse Plamondon-Willard
This commit performs some general refactoring, including... - avoid manually duplicating the event list; - rework the 'is important' event flag; - remove the new packages (Cyotek.Collections can be replaced with built-in types, and System.ValueTuple won't work in the Mono version used on Linux/Mac); - improve performance; - minor cleanup.
2020-01-15Added documentation for all performance counter methods and members. ↵Drachenkaetzchen
Refactored the naming of several members and methods to reflect their actual intention.
2020-01-11Reworked the console implementation, added monitoring. Some internal ↵Drachenkaetzchen
refactoring.
2020-01-04fix new asset invalidation code not correctly handling interceptors which ↵Jesse Plamondon-Willard
both load and edit
2020-01-01unify item diff logic for players & chestsJesse Plamondon-Willard
2019-12-31minor refactoringJesse Plamondon-Willard
2019-12-31Finished chest eventswartech0
2019-12-31minor refactoringJesse Plamondon-Willard
This commit... - removes key fields added to non-keyed types like NetListWatcher and SnapshotListDiff; - fixes existing chests not being watched; - fixes diffs not correctly updated for added/removed chests; - performs minor cleanup, adds missing docs, etc.
2019-12-31Added the new ChestItemChanged event.wartech0
2019-12-12batch asset editor/loader changesJesse Plamondon-Willard
2019-11-16update for more draw changes (#638)Jesse Plamondon-Willard
2019-11-16fix render events not raised during minigamesJesse Plamondon-Willard
2019-11-16update for more draw changes (#638)Jesse Plamondon-Willard
2019-11-16update for more draw changes (#638)Jesse Plamondon-Willard
2019-11-16update for more draw changes (#638)Jesse Plamondon-Willard
2019-11-16update for draw changes in SDV 1.4 (#638)Jesse Plamondon-Willard
2019-10-01auto-fix save data when a custom location mod is removedJesse Plamondon-Willard