ComaToes / ftl-profile-editor

Profile editor for FTL: Faster Than Light (www.ftlgame.com)
GNU General Public License v3.0
10 stars 38 forks source link

Parsing Non-Player Ships, System Damage, etc. #11

Closed Vhati closed 12 years ago

Vhati commented 12 years ago

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