ModernUO/Projects/UOContent/Multis/Houses
Kamron Batman 3e8d548f38
feat: Add spawn position caching and spiral scan optimization (#2295)
### Summary

Adds spawn position caching and optimization for constrained spawners (e.g., those near houses, water, or blocked terrain).

### Key features:
- Sector-based bitmap cache (32 bytes per 16x16 sector) stores valid spawn positions
- Spiral scan progressively discovers positions from spawner center outward
- Automatic mode detects constrained spawners after 5+ non-transient failures
- Prevents mob spawning inside private houses (allows public AoS buildings)
- Deduplicates sector lookups for multi-bounds spawners (RegionSpawner)
- Cache invalidation on house placement/demolition
- Moves SpawnBounds to Spawner

### New spawner properties:
- SpawnPositionMode: Automatic (default), Enabled, Disabled, Abandoned
- MaxSpawnAttempts: Configurable attempts before optimization engages (default: 5)
2025-12-28 02:40:21 -08:00
..
BaseHouse.cs feat: Add spawn position caching and spiral scan optimization (#2295) 2025-12-28 02:40:21 -08:00
ContestHouses.cs fix: Converts houses/deeds to serialization generator (#2288) 2025-12-04 21:26:39 -08:00
HouseFoundation.cs fix: Eliminates List allocations in various places. (#2158) 2025-11-16 18:33:53 -08:00
HousePackets.cs chore: Use var everywhere (#2294) 2025-12-27 16:47:28 -08:00
HousePlacement.cs chore: Use var everywhere (#2294) 2025-12-27 16:47:28 -08:00
HousePlacementTool.cs chore: Use var everywhere (#2294) 2025-12-27 16:47:28 -08:00
Houses.cs fix: Converts houses/deeds to serialization generator (#2288) 2025-12-04 21:26:39 -08:00
HouseSign.cs feat: Moves gumps out of the core (#1916) 2024-08-09 19:07:32 -07:00
HouseTeleporter.cs fix: Moves ContextMenu out of core, streamlines code, fixes bugs (#1873) 2024-07-20 21:33:23 -07:00
MovingCrate.cs fix: Converts houses/deeds to serialization generator (#2288) 2025-12-04 21:26:39 -08:00
PreviewHouse.cs fix: Converts houses/deeds to serialization generator (#2288) 2025-12-04 21:26:39 -08:00