Difference between revisions of "Callback: Disable autosloping"
From GRFSpecs
Jump to navigationJump to searchm (Create a separate page for each callback) |
(grf version 8) |
||
Line 1: | Line 1: | ||
== Disable autosloping (3C/14F/15D) == |
== Disable autosloping (3C/14F/15D) == |
||
− | With this callback, you can prevent the autoslope feature from altering the ground below a house/industry/object tile. To allow altering the ground, return |
+ | With this callback, you can prevent the autoslope feature from altering the ground below a house/industry/object tile. To allow altering the ground, return 0. Returning 1 will disallow land modifications. |
+ | |||
+ | {{grf|8}} Note that GRF versions 7 and lower only distinguished zero and non-zero return values. |
||
+ | |||
[[Category:Callbacks]] |
[[Category:Callbacks]] |
Revision as of 00:36, 9 November 2011
Disable autosloping (3C/14F/15D)
With this callback, you can prevent the autoslope feature from altering the ground below a house/industry/object tile. To allow altering the ground, return 0. Returning 1 will disallow land modifications.
GRFv8 Note that GRF versions 7 and lower only distinguished zero and non-zero return values.