This is an unfinished terrain decomposition thingy, meant to replicate some BWTA2's functionality for a Java-based SpringRTS AI.
A lot of the code is essentially ported from BTWA2.
The input file is hardwired so far and represents a preprocessed thresholded slopemap.