vache / BuildingEditor

New version of cataclysm building editor
2 stars 1 forks source link

Model View -> OMT/Tile Coordinates #10

Open vache opened 9 years ago

vache commented 9 years ago

Currently coordinates are determined by the model index then converted to OMT/Tile coordinates where needed, but this fails if the top left is not 0,0,z, as we would want it to be if the top row or left column is not 0. Once we have overmap specials implemented, there should be some way to determine an OMT index and we can use that in coordinate calculations to make sure we grab the right OMT.