Add two new town sizes to the create town dialog.

Huge towns are a whopping 128x128 tiles and don't fit in the terrain view even when fully zoomed out.

Tiny towns are just 24x24 tiles.
This commit is contained in:
2025-03-09 15:37:12 -04:00
committed by Celtic Minstrel
parent 96e92b1655
commit 61c4bfdc99
2 changed files with 5 additions and 1 deletions

View File

@@ -1578,6 +1578,8 @@ bool new_town() {
if(size == "lg") scenario.addTown(AREA_LARGE);
else if(size == "med") scenario.addTown(AREA_MEDIUM);
else if(size == "sm") scenario.addTown(AREA_SMALL);
else if(size == "huge") scenario.addTown(AREA_HUGE);
else if(size == "tiny") scenario.addTown(AREA_TINY);
set_current_town(scenario.towns.size() - 1);
town->name = new_dlg->getControl("name").getText().substr(0,30);