Respect sprite X and Y offsets

This makes menus display more correctly, and also fixes trees and other
objects on the main map, although it messes up bounds clipping (sigh).
This commit is contained in:
2020-03-21 00:56:35 +00:00
parent eb5c4430e8
commit 7a8e9dbd97
10 changed files with 109 additions and 55 deletions

View File

@@ -14,7 +14,8 @@ import (
)
type SpriteHeader struct {
Unknown0 uint32
XOffset uint16
YOffset uint16
Width uint16
Height uint16
Padding1 uint32 // I don't think this is used. Could be wrong.