- # ----- getway_old (objectname, way, version, baselong, basey, masterscale)
- # returns old version of way
+ # ----- getway_old
+ # returns old version of way
+
+ # in: [0] SWF object name, [1] way id,
+ # [2] way version to get (or -1 for "last deleted version")
+ # [3] baselong, [4] basey, [5] masterscale
+ # does: gets old version of way and all constituent nodes
+ # for undelete, always uses the most recent version of each node
+ # (even if it's moved)
+ # for revert, uses the historic version of each node, but if that node is
+ # still visible and has been changed since, generates a new node id
+ # out: [0] 0 (code for success), [1] SWF object name,
+ # [2] array of points (as getway _except_ [3] is node.visible?, 0 or 1),
+ # [4] xmin, [5] xmax, [6] ymin, [7] ymax (unprojected bbox),
+ # [8] way version