make map size customizable in star dialog

This commit is contained in:
Geoffray Levasseur committed 2026-11-09 12:18:42 +01:00
1 parent 8606bf8bcc
commit a564d06798
3 files changed
+17 -5

No files matched your search

+5 -2
View File
@@ -148,8 +148,11 @@ StartDlg::StartDlg(DirectDlg *direct, Background *background)
// Page visibility tags (Tag and (256 shl Page) <> 0).
setTag(ui->startBtn, 15104);
setTag(ui->down1Btn, 4096);
setTag(ui->up1Btn, 4096);
// c-evo-evo extension: world size is also adjustable directly from the
// "Start new game" quick-start page, not just the map editor (+256 for
// Page::StartRandom, on top of the original's Page::EditRandom bit).
setTag(ui->down1Btn, 4352);
setTag(ui->up1Btn, 4352);
setTag(ui->renameBtn, 10240);
setTag(ui->deleteBtn, 10240);
setTag(ui->down2Btn, 6912);