| 405 | |
| 406 | #[derive(Debug)] |
| 407 | struct 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 | |
| 419 | impl MapLevelHeader { |
| 420 | pub fn new(header_data: &[u8]) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected