| 429 | |
| 430 | |
| 431 | static bool parseLine(const std::string& line, |
| 432 | std::string& cmd, std::string& args) { |
| 433 | const char* s = TextUtils::skipWhitespace(line.c_str()); |
| 434 | const char* e = TextUtils::skipNonWhitespace(s); |
| 435 | if (e == s) { |
| 436 | return false; |
| 437 | } |
| 438 | cmd = std::string(s, e - s); |
| 439 | args = TextUtils::skipWhitespace(e); |
| 440 | return true; |
| 441 | } |
| 442 | |
| 443 | |
| 444 | void WorldInfo::createFaceZones() { |
no test coverage detected