mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 13:07:16 +00:00
vpush2 with extra parameter
This commit is contained in:
parent
9151efb300
commit
a25a476835
@ -1891,6 +1891,11 @@ EX namespace dialog {
|
||||
if(!hasInfix(s)) return;
|
||||
dialog::v.push_back(make_pair(s, color));
|
||||
}
|
||||
|
||||
EX void vpush2(color_t color, const string& name, const string& extra) {
|
||||
if(!hasInfix(extra)) return;
|
||||
dialog::v.push_back(make_pair(name, color));
|
||||
}
|
||||
|
||||
EX string editchecker(int sym, int uni) {
|
||||
if(uni >= 32 && uni < 127) return string("") + char(uni);
|
||||
|
Loading…
Reference in New Issue
Block a user