diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-02-12 17:02:17 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-02-12 17:02:17 +0200 |
commit | 992c2920f7e1940aa293e27cf4ea7ec23668a673 (patch) | |
tree | 4328076c6585a015433cb8bb763eab687da675bc /src/utils/stringutils.h | |
parent | 428770c113abf002e5cc0b79ae872db1f26cf283 (diff) | |
download | manaverse-992c2920f7e1940aa293e27cf4ea7ec23668a673.tar.gz manaverse-992c2920f7e1940aa293e27cf4ea7ec23668a673.tar.bz2 manaverse-992c2920f7e1940aa293e27cf4ea7ec23668a673.tar.xz manaverse-992c2920f7e1940aa293e27cf4ea7ec23668a673.zip |
Add items attribute what allow hide other sprites only by id.
Diffstat (limited to 'src/utils/stringutils.h')
-rw-r--r-- | src/utils/stringutils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h index 15d41380f..934c0f82d 100644 --- a/src/utils/stringutils.h +++ b/src/utils/stringutils.h @@ -25,6 +25,7 @@ #include <string> #include <sstream> #include <list> +#include <set> /** * Trims spaces off the end and the beginning of the given string. @@ -164,4 +165,6 @@ void replaceSpecialChars(std::string &text); */ std::string normalize(const std::string &name); +std::set<int> splitToIntSet(const std::string &text, char separator); + #endif // UTILS_STRINGUTILS_H |