File diff r11766:0601b9652c14 → r11767:eb8d525df68b
src/genworld_gui.cpp
Show inline comments
 
@@ -633,27 +633,27 @@ struct GenerateLandscapeWindow : public 
 
		this->DrawWidgets();
 

	
 
		this->DrawEditBox(GLAND_RANDOM_EDITBOX);
 

	
 
		if (mode != GLWP_GENERATE) {
 
			if (_settings_newgame.game_creation.heightmap_rotation == HM_CLOCKWISE) {
 
				SetDParam(0, this->y);
 
				SetDParam(1, this->x);
 
			} else {
 
				SetDParam(0, this->x);
 
				SetDParam(1, this->y);
 
			}
 
			int right = DrawString(0, 326, 91, STR_HEIGHTMAP_SIZE, TC_BLACK, SA_RIGHT);
 
			int right = DrawString(0, 326, 91, STR_HEIGHTMAP_SIZE, TC_FROMSTRING, SA_RIGHT);
 

	
 
			DrawString( 12, 114, 91, STR_HEIGHTMAP_NAME, TC_BLACK);
 
			DrawString( 12, 114, 91, STR_HEIGHTMAP_NAME);
 
			SetDParamStr(0, this->name);
 
			DrawString(114, right - 5, 91, STR_JUST_RAW_STRING, TC_ORANGE);
 
		}
 
	}
 

	
 
	virtual void OnClick(Point pt, int widget)
 
	{
 
		switch (widget) {
 
			case 0: delete this; break;
 

	
 
			case GLAND_TEMPERATE:
 
			case GLAND_ARCTIC: