Skip to content

mapChanges beta ​

Function of @v12-engine/editor

ts
export declare function mapChanges(before: GameMap, after: GameMap): string[];

What changed from one version of a map to another, a line each: nothing for two that are the same. Maps of different sizes say how the size changed and no more of the ground (its cells are not the same cells); the look's lists (its lights, effects, decals) thing by thing, as the map's own. What map diff --text prints, and the Versions panel shows