Skip to main content
Verticopolis engine

SAVE_VERSION

Constant SAVE_VERSION 

Source
pub const SAVE_VERSION: i64 = 11;
Expand description

The newest save format version this engine writes. It loads every older version back to the oldest one crate::identity::identity names.

Version 8 adds one key, lobbyHeights (#308), and version 9 lists it per hall (#2068), so a save is stamped with the oldest version that reads it whole (save_version): 9 when it holds a tall lobby, which a build from before tall lobbies refuses rather than drop, and PLAIN_SAVE_VERSION otherwise, which every build from version 7 on still loads. Version 10 adds an elevator schedule’s heldBack hours (#1546), held when a sold car left a cut-back hour at the fleet’s size. Version 11 folds floor tiles into runs (save_floor_runs).