changed terrain drawing code to store hill segments instead of calculating them on the fly