| 897 | } |
| 898 | |
| 899 | static bool isTreeTile(df::coord pos) |
| 900 | { |
| 901 | auto ptile = Maps::getTileType(pos); |
| 902 | |
| 903 | return ptile && |
| 904 | (tileShape(*ptile) == tiletype_shape::BRANCH || |
| 905 | tileShape(*ptile) == tiletype_shape::TRUNK_BRANCH || |
| 906 | tileShape(*ptile) == tiletype_shape::TWIG); |
| 907 | } |
| 908 | |
| 909 | static bool adjustToTarget(EngineInfo *engine, df::coord *pos) |
| 910 | { |
no test coverage detected