Modifications to terrain render

Made changes to the terrain renderer. Themed maps are in in progress. Note that the first parameter to the function now must be an integer value. It uses the integer to determine which colors to use.