mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-07 22:50:10 +00:00
added hooks_cgi_string
This commit is contained in:
parent
820c640212
commit
3c1e0ebb38
@ -1014,6 +1014,8 @@ EX int last_texture_step;
|
|||||||
|
|
||||||
int ntimestamp;
|
int ntimestamp;
|
||||||
|
|
||||||
|
EX hookset<void(string&)> hooks_cgi_string;
|
||||||
|
|
||||||
EX string cgi_string() {
|
EX string cgi_string() {
|
||||||
string s;
|
string s;
|
||||||
auto V = [&] (string a, string b) { s += a; s += ": "; s += b; s += "; "; };
|
auto V = [&] (string a, string b) { s += a; s += ": "; s += b; s += "; "; };
|
||||||
@ -1080,6 +1082,8 @@ EX string cgi_string() {
|
|||||||
|
|
||||||
V("LQ", its(vid.linequality));
|
V("LQ", its(vid.linequality));
|
||||||
|
|
||||||
|
callhooks(hooks_cgi_string, s);
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user