During some of the work relating to the pathfinder we are using in KAI, we found ourselves trying to estimate the slopemap being used internally in spring. So instead of trying to emulate the calculation in an already existing spring feature for calculating slopes

Would you save us the development time and give access to spring's Slopemap in the same way as you give access to the Heightmap?
class IAICallback in iaicallback.h has the following function declared:
virtual const float* GetHeightMap()=0;
//Could be like this:
virtual const float* GetSlopeMap()=0;
//with a def like
const float* CAICallback::GetSlopeMap()
{
return readmap->slopemap;
}
I'm sure other AI devs might agree with me that this is useful.
With this at our fingertips you might see a new KAI with support for sea units, spiders, amphibies, subs, you name it
