refactor(editor): extract 12 composite mesh primitives into cli_gen_mesh.cpp

Moves the recently-added composite-prop mesh handlers (rock,
pillar, bridge, tower, house, fountain, statue, altar, portal,
archway, barrel, chest) into their own translation unit. These
12 handlers were the most contiguous block of similar-shaped
mesh code in main.cpp.

Other mesh handlers (--gen-mesh dispatcher, fence, tree, grid,
stairs, disc, tube, capsule, arch, pyramid, from-heightmap,
textured) still live in main.cpp and may be migrated in
subsequent batches.

main.cpp drops 24,270 → 22,681 lines (-1,589). Behavior
verified by re-running rock/chest/archway/fountain.
This commit is contained in:
Kelsi 2026-05-08 22:19:41 -07:00
parent ec9c7898d2
commit 0075494109
4 changed files with 1717 additions and 1593 deletions

File diff suppressed because it is too large Load diff