Go to file
2024-07-25 15:35:51 -07:00
.cargo switch to strafesnet registry + update deps 2024-07-22 13:55:53 -07:00
src newtypes from engine types (boilerplate) 2024-07-25 15:35:51 -07:00
.gitignore Initial commit 2024-01-15 19:09:34 -08:00
Cargo.lock switch to strafesnet registry + update deps 2024-07-22 13:55:53 -07:00
Cargo.toml switch to strafesnet registry + update deps 2024-07-22 13:55:53 -07: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.