diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-22 03:07:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-22 03:07:13 +0300 |
commit | dddfb405de9d04f50d3a95cc3b0ebc3e49884a65 (patch) | |
tree | 4bb96a90cb585a65025533e512e7c3de7cffed00 /src/utils/stringutils.h | |
parent | 07c2eb8ffd62fe69f410cc045efc837441a6b6d4 (diff) | |
download | mv-dddfb405de9d04f50d3a95cc3b0ebc3e49884a65.tar.gz mv-dddfb405de9d04f50d3a95cc3b0ebc3e49884a65.tar.bz2 mv-dddfb405de9d04f50d3a95cc3b0ebc3e49884a65.tar.xz mv-dddfb405de9d04f50d3a95cc3b0ebc3e49884a65.zip |
Add highlight list option.
Before in highlight was only player nick.
Diffstat (limited to 'src/utils/stringutils.h')
-rw-r--r-- | src/utils/stringutils.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h index 94747d2fe..4fe6369e9 100644 --- a/src/utils/stringutils.h +++ b/src/utils/stringutils.h @@ -133,7 +133,7 @@ bool isWordSeparator(char chr); unsigned long findI(std::string str, std::string subStr); -unsigned long findI(std::string str, std::vector<std::string> &list); +unsigned long findI(std::string &text, std::vector<std::string> &list); const std::string encodeStr(unsigned int value, unsigned int size = 0); @@ -176,6 +176,9 @@ std::list<int> splitToIntList(const std::string &text, char separator); std::list<std::string> splitToStringList(const std::string &text, char separator); +void splitToStringVector(std::vector<std::string> &tokens, + const std::string &text, char separator); + std::string combineDye(std::string file, std::string dye); std::string combineDye2(std::string file, std::string dye); |