1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-25 02:47:40 +00:00

intra:: create/manage portal maps from the map editor

This commit is contained in:
Zeno Rogue
2022-10-27 00:01:32 +02:00
parent a83228cd15
commit f4282e1118
2 changed files with 29 additions and 0 deletions

View File

@@ -3242,6 +3242,16 @@ EX namespace mapeditor {
add_edit(game_keys_scroll);
dialog::addInfo(XLAT("hint: shift+A to enter the map editor"));
if(WDIM == 3 && !intra::in) {
dialog::addBoolItem(XLAT("become a portal map"), intra::in, 'm');
dialog::add_action_push(intra::become_menu);
}
if(WDIM == 3 && intra::in) {
dialog::addItem(XLAT("manage portals"), 'm');
dialog::add_action_push(intra::show_portals);
}
dialog::addItem(XLAT("change the pattern/color of new Canvas cells"), 'c');
dialog::add_action_push(patterns::showPrePatternNoninstant);