| 256 | VARP(allowhudechos, 0, 1, 1); |
| 257 | |
| 258 | void hudecho(char *text) |
| 259 | { |
| 260 | char *b, *s = strtok_r(text, "\n", &b); |
| 261 | void (*outf)(const char *s, ...) = allowhudechos ? hudoutf : conoutf; |
| 262 | do |
| 263 | { |
| 264 | outf("%s", s ? s : ""); |
| 265 | s = strtok_r(NULL, "\n", &b); |
| 266 | } |
| 267 | while(s); |
| 268 | } |
| 269 | COMMAND(hudecho, "c"); |
| 270 | |
| 271 | void whereami() |
nothing calls this directly
no test coverage detected