ModernUO/Projects/UOContent.Tests/Tests
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
..
Accounting fix: Use vectorized search for username-password validation. (#2152) 2025-04-11 22:40:06 -07:00
Engines feat: Add spawn position caching and spiral scan optimization (#2295) 2025-12-28 02:40:21 -08:00
Gumps feat: Adds size/style support to gump builders, optimizes EscapeHtml (#2257) 2025-11-23 11:35:31 -08:00
Items chore: Use var everywhere (#2294) 2025-12-27 16:47:28 -08:00
Misc chore: Fixes name verification test (#2201) 2025-05-26 22:36:23 -07:00
Multis chore: Use var everywhere (#2294) 2025-12-27 16:47:28 -08:00
Network/Packets chore: Use var everywhere (#2294) 2025-12-27 16:47:28 -08:00
Skills feat: Adds proper OSI tracking up to 120 tiles. (#2281) 2025-11-29 09:55:52 -08:00
Utilities chore: Use var everywhere (#2294) 2025-12-27 16:47:28 -08:00