lad 0.1.1

A simple DooM WAD file loader/reader
Documentation
  • Coverage
  • 29.41%
    5 out of 17 items documented0 out of 2 items with examples
  • Size
  • Source code size: 16.23 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 808.61 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • VioletasTheThird

LAD - Load All the Data

LAD is a rust crate for parsing and reading WAD files. That's about it.

Getting started

In your Cargo.toml, add the following:

[dependencies]
lad = "*"

to include the library with your project, and then in your main.rs, add the following to the top:

extern crate lad;

There you go! You can now use LAD in your project! As an example - assuming you have a file named DOOM2.WAD in your current working directory, you can simply do

use std::path::Path;

fn main() {
    let doom2 = lad::Wad::load(&Path::new("DOOM2.WAD").unwrap());
    println!("{:?}", doom2);
}

and then run with cargo run, and then it should print the contents of the doom2 variable, showing all the entries + data in it.

License

This project is under the Apache2 license. More details can be found in the LICENSE file in the root of this repo.