- [CHG] Pujat el maxim d'habitacions per al prologo

This commit is contained in:
2024-10-07 13:56:09 +02:00
parent fa97ea79e8
commit 304f636a95
4 changed files with 22 additions and 22 deletions

View File

@@ -740,27 +740,27 @@ namespace modules
ui::label("EXITS", 2, line, 96, 11, GRAY); line+=10;
ui::label("XN", 2, line, 48, 11);
changed |= btn_small(48, line, room::editor::refExit(XN), -1, 64, 36);
changed |= btn_small(48, line, room::editor::refExit(XN), -1, MAX_ROOMS, 36);
if (ui::button("GO", 84, line, 13, 11)) room::load(room::editor::refExit(XN), XP);
line += 10;
ui::label("YP", 2, line, 48, 11);
changed |= btn_small(48, line, room::editor::refExit(YP), -1, 64, 36);
changed |= btn_small(48, line, room::editor::refExit(YP), -1, MAX_ROOMS, 36);
if (ui::button("GO", 84, line, 13, 11)) room::load(room::editor::refExit(YP), YN);
line += 10;
ui::label("XP", 2, line, 48, 11);
changed |= btn_small(48, line, room::editor::refExit(XP), -1, 64, 36);
changed |= btn_small(48, line, room::editor::refExit(XP), -1, MAX_ROOMS, 36);
if (ui::button("GO", 84, line, 13, 11)) room::load(room::editor::refExit(XP), XN);
line += 10;
ui::label("YN", 2, line, 48, 11);
changed |= btn_small(48, line, room::editor::refExit(YN), -1, 64, 36);
changed |= btn_small(48, line, room::editor::refExit(YN), -1, MAX_ROOMS, 36);
if (ui::button("GO", 84, line, 13, 11)) room::load(room::editor::refExit(YN), YP);
line += 10;
ui::label("ZP", 2, line, 48, 11);
changed |= btn_small(48, line, room::editor::refExit(ZP), -1, 64, 36);
changed |= btn_small(48, line, room::editor::refExit(ZP), -1, MAX_ROOMS, 36);
if (ui::button("GO", 84, line, 13, 11)) room::load(room::editor::refExit(ZP), ZN);
line += 10;
ui::label("ZN", 2, line, 48, 11);
changed |= btn_small(48, line, room::editor::refExit(ZN), -1, 64, 36);
changed |= btn_small(48, line, room::editor::refExit(ZN), -1, MAX_ROOMS, 36);
if (ui::button("GO", 84, line, 13, 11)) room::load(room::editor::refExit(ZN), ZP);
line += 10;