Cliffs work and some map cleanup; ( !!currently old maps are broken in editor!! )

This commit is contained in:
Titus Tscharntke
2011-02-08 03:50:59 +00:00
parent e856d5e4f0
commit e03b029bea
12 changed files with 105 additions and 1033 deletions

View File

@@ -605,8 +605,8 @@ bool Program::setGridOnOff() {
return grid;
}
void Program::setMapAdvanced(int altFactor, int waterLevel) {
if(map) map->setAdvanced(altFactor, waterLevel);
void Program::setMapAdvanced(int altFactor, int waterLevel, int cliffLevel) {
if(map) map->setAdvanced(altFactor, waterLevel, cliffLevel);
}
void Program::loadMap(const string &path) {