strafe-project/lib/snf
2025-01-06 23:14:08 -08:00
..
src snf: demo file brainstorming 2025-01-06 23:14:08 -08:00
.gitignore snf: move into folder 2025-01-02 19:40:26 -08:00
Cargo.toml set up cargo workspace 2025-01-03 06:44:58 -08:00
LICENSE-APACHE snf: move into folder 2025-01-02 19:40:26 -08:00
LICENSE-MIT snf: move into folder 2025-01-02 19:40:26 -08:00
README.md snf: move into folder 2025-01-02 19:40:26 -08:00

StrafesNET File Format

Example

let file=std::fs::File::open(path)?;
let mut input=std::io::BufReader::new(file);
let snf=snf::read(input)?;
match snf{
	snf::SNF::Map(map)=>{},
	snf::SNF::Bot(bot)=>{},
	snf::SNF::Demo(demo)=>{},
}

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.