Stored layoutId turned out to be unreliable for pirate ships. The blueprint's layout is used instead.
CrewState
playerControlled
Magic numbers for skill mastery thresholds
Fixed the unknown Y being reported with X's value.
Changed the guess for combat skill.
SystemState
damagedBars
ionizedBars
WeaponState
cooldownTicks
Parser.readX methods were made less likely to be fooled into reading too far, or allocating rediculous amounts of memory when a position glitch feeds them unexpected bytes. They print the offending value and throw exceptions that are handled cleanly, instead of an OutOfMemoryError.
MappedDatParser
Strips unicode byte-order marks from files it reads
Echoes typoed xml lines to the logger when unmarshalling fails.
Fixes autoBlueprints.xml
DataManager
Reads autoBlueprints.xml (For now, getShip() just searches both the ships map and autoShips map and returns whichever has a non-null result)
SavedGameState
ShipState
CrewState
SystemState
WeaponState
Parser.readX methods were made less likely to be fooled into reading too far, or allocating rediculous amounts of memory when a position glitch feeds them unexpected bytes. They print the offending value and throw exceptions that are handled cleanly, instead of an OutOfMemoryError.
MappedDatParser
DataManager