kFmatVersion top-level constant

int const kFmatVersion

The version this reader writes and the only one it accepts.

Additions do not bump it, and hints is the case that proves why. The gate below refuses a whole file whose number is larger than this one, so raising it to two would make every .fmat written since — and every one an artist has on disk — unreadable by the readers already shipped, in exchange for a key those readers would have ignored anyway. A version is for a difference that changes what the old reader would draw; a new key that an old reader skips with a warning is not one.

Implementation

const int kFmatVersion = 1;