Skip to main content

roxlap_formats/
lib.rs

1//! Voxlap on-disk formats and data manipulation.
2//!
3//! Parsers for `.vxl` (heightmap + slab voxel columns), `.kv6` / `.kvx`
4//! (sprite voxel data), and `.kfa` (kv6 transform / animation). Lands
5//! across the R2.* sub-substages of `PORTING-RUST.md`:
6//!
7//! - R2.1: `.kvx`
8//! - R2.2: `.kv6`
9//! - R2.3: `.vxl`
10//! - R2.4: `.kfa`
11//!
12//! [`edit`] hosts voxel-edit primitives (delslab/insslab/expandrle/
13//! compilerle/`ScumCtx`) and high-level wrappers (`set_spans`,
14//! `set_cube`, `set_sphere`, `set_rect`). They live with the data
15//! they manipulate; rendering stays in `roxlap-core`.
16
17mod bytes;
18
19pub mod edit;
20pub mod kfa;
21pub mod kv6;
22pub mod kvx;
23pub mod palette;
24pub mod sprite;
25pub mod vxl;
26
27pub use palette::Rgb6;