summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Content
AgeCommit message (Collapse)Author
2022-10-09set texture name earlier to support mods like SpriteMasterJesse Plamondon-Willard
2022-10-08tweak new codeJesse Plamondon-Willard
2022-10-08 use try..finally to make sure rented arrays are returnedJesse Plamondon-Willard
2022-10-08fix indexing math again.atravita-mods
2022-10-08Avoid copying memory for contingous buffers.atravita-mods
2022-10-08fix indexing again, because apparently I'm bad at math now?atravita-mods
2022-10-08cleanup and commentsatravita-mods
2022-10-08use startindex/endindex since I've already calculated those...atravita-mods
2022-10-08Skip transparent rows at the start and end when doing a patch overlay.atravita-mods
2022-10-08Avoid making copy if the source image is just taller than the sourceArea.atravita-mods
2022-10-08fix fast-track array copyingatravita-mods
2022-10-08Partially revert "Favor record structs when there are four or fewer elements."atravita-mods
This reverts commit f5d49515c4eddfb415903a89d70654cf9b6de299.
2022-10-08Favor record structs when there are four or fewer elements.atravita-mods
2022-10-08Skip math if above is fully opaque.atravita-mods
2022-10-08arraypool in the modcontentmanager, a bit of fussingatravita-mods
2022-10-08Use array pools in editing images.atravita-mods
2022-07-09raise deprecation levelsJesse Plamondon-Willard
2022-06-20add flag to disable deprecated codeJesse Plamondon-Willard
2022-06-10tweak new code, update release notesJesse Plamondon-Willard
2022-06-10Cleaning up and optimizing `ContentCache.cs`Ameisen
2022-06-10add IRawTextureData asset typeJesse Plamondon-Willard
2022-05-15reduce performance impact of deprecation warningsJesse Plamondon-Willard
Creating a stack is *very* slow, so it should be avoided if possible until after the duplicate-warning check.
2022-05-11rewrite asset operations to reduce allocationsJesse Plamondon-Willard
• When raising AssetRequested, SMAPI now creates a single event args model and reuses it for each handler. • There's now a single AssetOperationGroup per asset, which tracks the loaders/editors registered by every mod for that asset. • The operation group's loader/editor lists are now used directly instead of querying them.
2022-05-08use records for asset edit operationsJesse Plamondon-Willard
2022-05-08only build AssetWithoutLocale when it's usedJesse Plamondon-Willard
2022-04-27add backwards compatibility for loading content assets with .xnb extensionJesse Plamondon-Willard
2022-04-23fix ReplaceWith not working for legacy IAssetEditor implementationsJesse Plamondon-Willard
2022-04-19fix null reference when adding new layers in a map patchJesse Plamondon-Willard
2022-04-19suppress some duplicate deprecation noticesJesse Plamondon-Willard
2022-04-19move deprecation code into namespaceJesse Plamondon-Willard
2022-04-17simplify ExtendMap usageJesse Plamondon-Willard
2022-04-16fix broken unit testsJesse Plamondon-Willard
2022-04-14track full mod & stack metadata in queued deprecation warningsJesse Plamondon-Willard
2022-04-13remove reflection no longer needed after migration to MonoGameJesse Plamondon-Willard
2022-04-13enable nullable annotations in the rest of SMAPI core (#837)Jesse Plamondon-Willard
2022-04-13enable nullable annotations in SMAPI where no logic changes are needed (#837)Jesse Plamondon-Willard
2022-04-13enable nullable annotations in SMAPI where no changes are needed (#837)Jesse Plamondon-Willard
2022-04-11add IAssetDataForMap.ExtendMapJesse 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-06remove some unused/redundant codeJesse Plamondon-Willard
2022-04-06simplify with newer pattern featuresJesse Plamondon-Willard
2022-04-06simplify 'is not' patternsJesse Plamondon-Willard
2022-04-06use target-typed newJesse Plamondon-Willard
2022-03-27split helper.Content API into game/mod content APIsJesse Plamondon-Willard
2022-03-26expand obsolete attributes (#766)Jesse Plamondon-Willard
2022-03-26add deprecation notices for SMAPI 4.0.0 (#766)Jesse Plamondon-Willard
2022-03-26add asset edit priority (#766)Jesse Plamondon-Willard
2022-03-26add NameWithoutLocale fields (#766)Jesse Plamondon-Willard
2022-03-25extend load conflict resolution into load priority (#766)Jesse Plamondon-Willard
2022-03-25add load conflict resolution option (#766)Jesse Plamondon-Willard