mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-17 11:38:05 +00:00
highlights in special modes
This commit is contained in:
@@ -136,6 +136,10 @@ EX namespace dialog {
|
||||
add_key_action(key, action);
|
||||
}
|
||||
|
||||
EX void extend() {
|
||||
items.back().key = items[isize(items)-2].key;
|
||||
}
|
||||
|
||||
EX void add_action(const reaction_t& action) {
|
||||
add_key_action_adjust(lastItem().key, action);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user