MCPcopy Create free account
hub / github.com/AdRoll/rustenstein / MapLevelHeader

Class MapLevelHeader

src/cache.rs:407–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405
406#[derive(Debug)]
407struct MapLevelHeader {
408 offset_plane0: i32,
409 offset_plane1: i32,
410 offset_plane2: i32,
411 length_plane0: u16,
412 length_plane1: u16,
413 length_plane2: u16,
414 width_n_tiles: u16,
415 height_n_tiles: u16,
416 name: String,
417}
418
419impl MapLevelHeader {
420 pub fn new(header_data: &[u8]) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected