Changeset 244 for trunk/UMap.pas
- Timestamp:
- Sep 22, 2018, 11:25:47 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UMap.pas
r242 r244 567 567 Shape := Source.Shape; 568 568 Image.Picture.Bitmap.Assign(Source.Image.Picture.Bitmap); 569 Cyclic := Source.Cyclic; 569 570 570 571 // TODO: How to copy cells … … 598 599 DefaultCellSize.Y := ReadInteger(Node, 'DefaultCellSizeY', 1); 599 600 MaxPower := ReadInteger(Node, 'MaxPower', DefaultMaxPower); 601 Cyclic := ReadBoolean(Node, 'Cyclic', False); 600 602 Shape := TMapShape(ReadInteger(Node, 'Shape', Integer(msRectangle))); 601 603 Node2 := Node.FindNode('Cells'); … … 615 617 WriteInteger(Node, 'DefaultCellSizeY', DefaultCellSize.Y); 616 618 WriteInteger(Node, 'MaxPower', MaxPower); 619 WriteBoolean(Node, 'Cyclic', Cyclic); 617 620 WriteInteger(Node, 'Shape', Integer(Shape)); 618 621 WriteInteger(Node, 'SizeX', Size.X);
Note:
See TracChangeset
for help on using the changeset viewer.