Add Stage 0 offline map geometry extraction and Recast/Detour baking tools for ground AI navigation on feat/tank-ai-nav: - Vendor upstream recastnavigation Recast and Detour sources (zlib license) under native/third_party/recastnavigation. - Define shared .wtogeo and .wtonav binary layouts in native/wto-nav/wto_nav_format.h. - Add mission-bounds.mts to collect union ground battle areas, spawns, and capture zones across mission templates. - Add Rust extractor (tools/navgen/extract) using wt-unpack and config/rendinst_dmg.blk destructionImpulse thresholds to classify hard solids, bridges, crushable objects, and tree trunks in Dagor world space. - Add multi-threaded MSVC C++ baker (tools/navgen/bake) producing 3 vehicle-width tiled Detour navmeshes, island pruning, dual-height voxel tank covers (full, hull-down, corner peek, retreat-verified), 8m tactical grids, and spawn-to-cap connectivity checks. - Add zero-dependency PNG top-down preview renderer (tools/navgen/render-preview.py). Verified: Rust release build (0 warnings), MSVC x64 baker build (0 warnings), root typecheck, and end-to-end extraction/baking/100% 3-tier connectivity and preview rendering on avg_berlin, avg_poland, and avg_hurtgen (2.61.0.58).
17 lines
446 B
TOML
17 lines
446 B
TOML
[package]
|
|
name = "wto-navgen-extract"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Offline Dagor level geometry and collision extractor for WTOffline tank navigation"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
wt-formats = "0.1.0"
|
|
wt-unpack = { git = "https://github.com/patodois/wt-unpack", rev = "01d5b7603ae35e261a676d9b7b644c521dd303a0" }
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = "thin"
|