joelpt / quickfort

A spreadsheet driven construction tool for Dwarf Fortress
http://joelpt.net/quickfort
38 stars 14 forks source link

Respect width/height of blueprints based on # cells #20

Closed joelpt closed 11 years ago

joelpt commented 11 years ago

Original author: joe...@gmail.com (June 13, 2010 18:09:35)

Currently qfconvert trims a blueprint's east and south edge cells, ignoring # characters.

To fix, get the max width/height returned from parse_*_file() by finding the max index of # in any row for width, and the actual number of rows up until a row where row[0]=='#'. Pass those values into FileLayer.fixup() to coerce the blueprint to the desired dimensions.

Original issue: http://code.google.com/p/quickfort/issues/detail?id=21

joelpt commented 11 years ago

From joe...@gmail.com on June 13, 2010 19:20:46

borders now respected and throws out stuff beyond the # defined borders of an area. Could allow for detailed commenting above/below the blueprint directly in the sheet.