Go to file
2024-02-01 20:21:56 -08:00
src stop error 2024-02-01 20:21:56 -08:00
.gitignore Initial commit 2024-01-15 19:09:34 -08:00
Cargo.lock update common 2024-02-01 04:03:43 -08:00
Cargo.toml update common 2024-02-01 04:03:43 -08:00
LICENSE-APACHE License + README 2024-01-15 19:27:30 -08:00
LICENSE-MIT License + README 2024-01-15 19:27:30 -08:00
README.md License + README 2024-01-15 19:27:30 -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.