Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-27 | split helper.Content API into game/mod content APIs | Jesse Plamondon-Willard | |
2022-03-27 | add asset type to AssetRequested event (#766) | Jesse Plamondon-Willard | |
2022-03-26 | add LocaleChanged content event (#766) | Jesse Plamondon-Willard | |
2022-03-26 | expand obsolete attributes (#766) | Jesse Plamondon-Willard | |
2022-03-26 | add IContentHelper.ParseAssetName (#766) | Jesse Plamondon-Willard | |
2022-03-26 | update asset propagation for new content API (#766) | Jesse Plamondon-Willard | |
2022-03-26 | add deprecation notices for SMAPI 4.0.0 (#766) | Jesse Plamondon-Willard | |
2022-03-26 | rewrite content loading to allow handling locale variants (#766, #786, #812) | Jesse Plamondon-Willard | |
The game's content pipeline automatically loads localized variants if present. For example, it will try to load "Maps/cave.fr-FR", then "Maps/cave_international", then "Maps/cave". The old content API obfuscates this logic and treats them as interchangeable, which causes edge cases like bundle corruption (#812). This commit rewrites the loading logic to match the game logic when using the new content events, while maintaining the legacy behavior for the old IAssetLoader/IAssetEditor interfaces that'll be removed in SMAPI 4.0.0. | |||
2022-03-26 | add asset edit priority (#766) | Jesse Plamondon-Willard | |
2022-03-26 | add NameWithoutLocale fields (#766) | Jesse Plamondon-Willard | |
2022-03-25 | extend load conflict resolution into load priority (#766) | Jesse Plamondon-Willard | |
2022-03-25 | add load conflict resolution option (#766) | Jesse Plamondon-Willard | |
2022-03-25 | add content pack label to more logs (#766) | Jesse Plamondon-Willard | |
2022-03-25 | fix asset load conflict always showing multiple-mod form | Jesse Plamondon-Willard | |
2022-03-25 | add content pack labels (#766) | Jesse Plamondon-Willard | |
2022-03-25 | add AssetReady content event (#766) | Jesse Plamondon-Willard | |
2022-03-24 | add AssetInvalidated content event (#766) | Jesse Plamondon-Willard | |
2022-03-23 | fix unneeded cloning (#766) | Jesse Plamondon-Willard | |
2022-03-23 | add initial AssetRequested content event (#766) | Jesse Plamondon-Willard | |
2022-03-22 | encapsulate & cache asset operation groups (#766) | Jesse Plamondon-Willard | |
This is needed for the upcoming Stardew Valley 1.6 to avoid duplicate checks between DoesAssetExist and Load calls, and to make sure the answer doesn't change between them. | |||
2022-03-22 | reduce duplicated doc blocks | Jesse Plamondon-Willard | |
2022-03-20 | encapsulate editor/loader operations (#766) | Jesse Plamondon-Willard | |
These will be used by the new content API, and allow handling the old one the same way. | |||
2022-03-05 | handle vanilla assets in DoesAssetExist (#766) | Jesse Plamondon-Willard | |
2022-03-05 | add DoesAssetExist to support the upcoming Stardew Valley 1.6 (#766) | Jesse Plamondon-Willard | |
2022-03-05 | migrate more internal code to IAssetName (#766) | Jesse Plamondon-Willard | |
2022-03-05 | fix error loading locale code cache when a mod adds custom languages (#766) | Jesse Plamondon-Willard | |
2022-03-05 | fix regression with mod XNB files in the content pipeline (#766) | Jesse Plamondon-Willard | |
2022-02-25 | restore InterfaceProxyFactory to encapsulate Pintail (#830) | Jesse Plamondon-Willard | |
2022-02-25 | Merge pull request #830 from Shockah/api-proxy-tryproxy-object | Jesse Plamondon-Willard | |
API proxy improvements | |||
2022-02-24 | update Pintail | Shockah | |
2022-02-22 | avoid SetData when premultiplying texture with no semi-transparency | Jesse Plamondon-Willard | |
2022-02-19 | change proxy prepare behavior | Shockah | |
2022-02-19 | add Constants.GamePath & deprecate Constants.ExecutionPath | Jesse Plamondon-Willard | |
2022-02-18 | add AssetName to encapsulate asset name handling (#766) | Jesse Plamondon-Willard | |
2022-02-18 | Fix support for custom locale codes in asset names (#766) | Jesse Plamondon-Willard | |
2022-02-18 | tweak types in content coordinator | Jesse Plamondon-Willard | |
2022-02-16 | move proxying to a separate NuGet library | Shockah | |
2022-02-11 | fix thumbstick input overrides | Jesse Plamondon-Willard | |
2022-02-11 | use Array.Empty to avoid unneeded array allocations | Jesse Plamondon-Willard | |
2022-02-10 | add TryProxy for any objects | Shockah | |
2022-02-10 | add reverse API proxying (and unproxying) | Shockah | |
2022-02-10 | add proxy instance caching | Shockah | |
2022-02-10 | use Call/Callvirt depending on target | Shockah | |
2022-02-10 | fix code style warning | Shockah | |
2022-02-10 | implement `out` parameter proxying | Shockah | |
2022-02-09 | Cleanup and performance/allocation improvement for AssetDataForImage.PatchImage | Ameisen | |
2022-02-09 | add WIP proxying of methods with `out` parameters | Shockah | |
2022-02-09 | simplifies proxy method IL a bit | Shockah | |
2022-02-09 | stop proxying nulls | Shockah | |
2022-02-09 | add missing documentation | Shockah | |