Skip to main content
Topic: Bugfix: Slopetools (Read 9502 times) previous topic - next topic

Bugfix: Slopetools

This is a small patch fixing some odd wrong behaviour of slopetools regarding double heights. See image: Without the patch is possible to add a full slope at spots marked 'o', and it was possible to do a full slope dig at the tiles 'x'. Both the double-high tower and the double-height hole were not recognized.

I ****umed the corner1 .. corner4-macros work with the following configuration of corner numbers
Code: [Select]
1 -- 2
|    |
4 -- 3

edith: patch updated
Parsley, sage, rosemary, and maggikraut.

Re: Bugfix: Slopetools

Reply #1
Well spotted, this stemmed still from pre-rotation times. But it still fails directly next to a slope, where now triple height are allowed.

Re: Bugfix: Slopetools

Reply #2
personally, I think this is more a bug in the back-image calculation, since the double-heigth above a slope can still be displayed with the graphics already in pak's. I will take a look into this.

I corrected the patch, see updated patch file above. I was not aware of the fact that the double-height restriction is not only enforced in the corners of the tiles but also with respect to the height of the whole tile.
Parsley, sage, rosemary, and maggikraut.

 

Re: Bugfix: Slopetools

Reply #3
Sorry, was not thinking correctly. The patch was too complicated and could have been done much easier ...