Make some progress decoding map trailer
This commit is contained in:
@@ -48,6 +48,25 @@ type Header struct {
|
||||
// Need to investigate the rest of the header too
|
||||
}
|
||||
|
||||
type Trailer struct {
|
||||
Unknown1 uint16
|
||||
Unknown2 uint16
|
||||
Unknown3 uint32
|
||||
Unknown4 uint32
|
||||
Unknown5 uint32
|
||||
NumCharacters uint32
|
||||
Padding1 uint32
|
||||
Unknown6 uint16
|
||||
Unknown7 uint16
|
||||
Unknown8 uint32
|
||||
NumThingies uint32
|
||||
Padding2 [36]byte
|
||||
}
|
||||
|
||||
type Character struct {
|
||||
Unknown1 uint32
|
||||
}
|
||||
|
||||
func (h Header) Width() int {
|
||||
return int(h.MaxWidth - h.MinWidth)
|
||||
}
|
||||
|
Reference in New Issue
Block a user