![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|

Go to the source code of this file.
Functions | |
| int | match_wildcard (const wchar_t *s, const wchar_t *w) |
| see if string matches pattern. More... | |
| int match_wildcard | ( | const wchar_t * | s, |
| const wchar_t * | w | ||
| ) |
see if string matches pattern.
| s | input string |
| w | pseudo-regex to match against. case-insensitive; may contain '?' and/or '*' wildcards. if NULL, matches everything. |
algorithm from http://www.codeproject.com/string/wildcmp.asp.