diff options
Diffstat (limited to 'common/util.h')
| -rw-r--r-- | common/util.h | 23 | 
1 files changed, 1 insertions, 22 deletions
diff --git a/common/util.h b/common/util.h index c23513596c..32f07181c4 100644 --- a/common/util.h +++ b/common/util.h @@ -53,28 +53,6 @@ template<typename T> inline void SWAP(T &a, T &b) { T tmp = a; a = b; b = tmp; }  namespace Common {  /** - * Simple DOS-style pattern matching function (understands * and ? like used in DOS). - * Taken from exult/files/listfiles.cc - * - * Token meaning: - *		"*": any character, any amount of times. - *		"?": any character, only once. - * - * Example strings/patterns: - *		String: monkey.s??	 Pattern: monkey.s01	=> true - *		String: monkey.s??	 Pattern: monkey.s101	=> false - *		String: monkey.s?1	 Pattern: monkey.s99	=> false - *		String: monkey.s*	 Pattern: monkey.s101	=> true - *		String: monkey.s*1	 Pattern: monkey.s99	=> false - * - * @param str Text to be matched against the given pattern. - * @param pat Glob pattern. - * - * @return true if str matches the pattern, false otherwise. - */ -bool matchString(const char *str, const char *pat); - -/**   * A simple non-optimized string tokenizer.   *   * Example of use: @@ -210,6 +188,7 @@ enum Platform {  	kPlatformApple2GS,  	kPlatformPC98, +	kPlatformWii,  	kPlatformUnknown = -1  };  | 
