Files
dorf/Cargo.toml
T
popertots 90a6196443 feat: soft entity collision, dead code removal, leaf standability fix
- Add TileOccupancy resource and rebuild_tile_occupancy system to track
  per-tile entity counts for soft collision avoidance
- Add collision_delay to Ambulatory; entities try relative-left step on
  occupied tiles, wait 1 tick, then push through
- Fix leaf canopy standability: leaves are now can_stand_in=true,
  can_stand_on=false (walkable, not standable-on)
- Delete FloorTilePrefab / FixtureTilePrefab / FloorTile / FixtureTile /
  TileState (all fully dead — TileMap + ChunkData are sole truth)
- Delete tile_spawns from TerrainBlob (populated but never consumed)
- Delete leaf ghost entity spawn in forestry (orphaned invisible ECS entity)
- Replace log prefab spawn with inline commands.spawn(Transform, Visibility)
- Add TileMap::remove_fixture for future digging/explosion use
- Skip collision avoidance when current tile has >2 entities (handles spawn
  cluster deadlock)
2026-03-21 01:36:38 +00:00

40 lines
794 B
TOML

[package]
name = "dorf"
version = "0.1.0"
edition = "2021"
[dependencies]
bevy = { version = "0.18.1", features = ["wayland"] }
noise = "0.9.0"
rand = "0.10.0"
bevy_rand = { version = "0.14.2", features = ["wyrand"] }
image = "0.25.10"
bevy_platform = "0.18.1"
serde = { version = "1.0", features = ["derive"] }
toml = "0.9.8"
rayon = "1.11.0"
rustc-hash = "2.1.1"
ahash = "0.8.12"
nohash-hasher = "0.2.0"
futures-lite = "2.6.1"
arrayvec = "0.7.6"
[build-dependencies]
image = "0.25.10"
# Enable max optimizations for dependencies, but not for our code:
[profile.dev.package."*"]
opt-level = 3
# Enable only a small amount of optimization in debug mode
[profile.dev]
opt-level = 1
debug = true
[profile.release]
lto = true
opt-level = 3
codegen-units = 1
incremental = false
debug = false