pmd_wan 6.0.0

A library that can read wan file, a sprite format used in pokemon mystery dungeon games
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use binread::BinRead;
use binwrite::BinWrite;

/// The coordinate of some point in the Pokémon, in the form of X then Y
#[derive(BinWrite, BinRead, Debug, PartialEq, Eq, Clone)]
#[binwrite(little)]
#[br(little)]
pub struct FrameOffset {
    pub head: (i16, i16),
    pub hand_left: (i16, i16),
    pub hand_right: (i16, i16),
    pub center: (i16, i16),
}