X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=filematch.c;h=e06439614c2174927168128adf5b1fcbe8fa268d;hp=14c1d1605ab43d77616f2577d7a5ade11549673f;hb=58c33270c280aafe85a1eacb224efdd9138fdb19;hpb=ca4d37309cf7721bd7fd42d2a95ac5db7d057d01 diff --git a/filematch.c b/filematch.c index 14c1d160..e0643961 100644 --- a/filematch.c +++ b/filematch.c @@ -5,9 +5,9 @@ #include #endif -#include "quakedef.h" +#include "darkplaces.h" -// LordHavoc: some portable directory listing code I wrote for lmp2pcx, now used in darkplaces to load id1/*.pak and such... +// LadyHavoc: some portable directory listing code I wrote for lmp2pcx, now used in darkplaces to load id1/*.pak and such... int matchpattern(const char *in, const char *pattern, int caseinsensitive) { @@ -16,7 +16,7 @@ int matchpattern(const char *in, const char *pattern, int caseinsensitive) // wildcard_least_one: if true * matches 1 or more characters // if false * matches 0 or more characters -int matchpattern_with_separator(const char *in, const char *pattern, int caseinsensitive, const char *separators, qboolean wildcard_least_one) +int matchpattern_with_separator(const char *in, const char *pattern, int caseinsensitive, const char *separators, qbool wildcard_least_one) { int c1, c2; while (*pattern) @@ -122,7 +122,7 @@ static int stringlistsort_cmp(const void *a, const void *b) return strcasecmp(*(const char **)a, *(const char **)b); } -void stringlistsort(stringlist_t *list, qboolean uniq) +void stringlistsort(stringlist_t *list, qbool uniq) { int i, j; if(list->numstrings < 1)