I copied this comment from order_cmd.cpp. I thought it would be a good thing if the comments were consistent over all the code, but I must admit that I also had some problems to understand what it wanted me to tell
![Smile :)](./images/smilies/icon_smile.gif)
For the LowerRaiseTile patch I defined all SLOPE_* in squirrel.
And finally I used svn diff instead of the linux diff command.
@ac84 and @saint
When those functions finally exists that might be a good idea. But when I think about it I come to another question. Where do we want to integrate further intelligence, like finding a suitable place for an airport or pathfinding. If we build this in C(++) it would be real fast and powerfull, but if we build this in squirrel people could more easily change it and they would include it as library into their ai.
If this question is cleared I could create a function that finds a suitable place for building. So an ai-programmer doesn't have to search for it himself. If I remember right there also was a pathfinder available.
EDIT:
I changed LowerRaise.patch to include the enumeration of SLOPE_*. This way it is included in the noai doxygen docu and it will be automatically copied to the squirrel files.