ModernUO/Projects/UOContent/Engines/Craft
Kamron Batman f21c9687b2
fix: Refactors getting static tiles to use enumerators (#1611)
### Summary
* Refactors getting static/multi tiles to not use allocations.
* `TileList` is now only used during bootstrapping and uses rented buffers to eliminate extra allocations.
* Replaces `StaticTile[] GetStaticTiles` with:
    ```cs
        Map.StaticTileEnumerable GetStaticTiles(int x, int y);
        Map.StaticTileEnumerable GetStaticAndMultiTiles(int x, int y);
        Map.StaticTileEnumerable GetMultiTiles(int x, int y);
    ```
* Removes `Synchronized` and `lock` from TileMatrix. It is no longer considered a multi-thread safe system.
2023-11-26 09:39:46 -08:00
..
Core fix: Refactors getting static tiles to use enumerators (#1611) 2023-11-26 09:39:46 -08:00
DefAlchemy.cs fix: Optimizes TextDefinition to eliminate allocations. Removes TextDefinition ctor. (#1221) 2022-10-30 16:53:23 -07:00
DefBlacksmithy.cs fix: Refactors getting static tiles to use enumerators (#1611) 2023-11-26 09:39:46 -08:00
DefBowFletching.cs fix: Optimizes TextDefinition to eliminate allocations. Removes TextDefinition ctor. (#1221) 2022-10-30 16:53:23 -07:00
DefCarpentry.cs fix: Optimizes TextDefinition to eliminate allocations. Removes TextDefinition ctor. (#1221) 2022-10-30 16:53:23 -07:00
DefCartography.cs fix: Optimizes TextDefinition to eliminate allocations. Removes TextDefinition ctor. (#1221) 2022-10-30 16:53:23 -07:00
DefCooking.cs fix: Optimizes TextDefinition to eliminate allocations. Removes TextDefinition ctor. (#1221) 2022-10-30 16:53:23 -07:00
DefGlassblowing.cs fix: Optimizes TextDefinition to eliminate allocations. Removes TextDefinition ctor. (#1221) 2022-10-30 16:53:23 -07:00
DefInscription.cs fix: Fixes missing inscription message (#1518) 2023-09-29 21:38:06 -07:00
DefMasonry.cs fix: Optimizes TextDefinition to eliminate allocations. Removes TextDefinition ctor. (#1221) 2022-10-30 16:53:23 -07:00
DefTailoring.cs fix: Optimizes TextDefinition to eliminate allocations. Removes TextDefinition ctor. (#1221) 2022-10-30 16:53:23 -07:00
DefTinkering.cs fix: Optimizes TextDefinition to eliminate allocations. Removes TextDefinition ctor. (#1221) 2022-10-30 16:53:23 -07:00