#include "mpqfile.h"
#include "wmo.h"
#include "model.h"
Go to the source code of this file.
#define TILESIZE (533.33333f) |
void FixNameCase |
( |
char * |
name, |
|
|
size_t |
len |
|
) |
| |
49 char* ptr = name + len - 1;
52 for (; *ptr !=
'.'; --ptr)
55 for (; ptr >= name; --ptr)
57 if (ptr > name && *ptr >=
'A' && *ptr <=
'Z' && isalpha(*(ptr - 1)))
59 else if ((ptr == name || !isalpha(*(ptr - 1))) && *ptr >=
'a' && *ptr <=
'z')
void FixNameSpaces |
( |
char * |
name, |
|
|
size_t |
len |
|
) |
| |
66 for (
size_t i=0; i<len-3; i++)
char* GetExtension |
( |
char * |
FileName | ) |
|
75 if (
char* szTemp = strrchr(FileName,
'.'))
arena_t NULL
Definition: jemalloc_internal.h:624
33 if((szTemp = strrchr(FileName,
'\\')) !=
NULL)
34 FileName = szTemp + 1;
arena_t NULL
Definition: jemalloc_internal.h:624
char* GetPlainName |
( |
char * |
FileName | ) |
|
42 if((szTemp = strrchr(FileName,
'\\')) !=
NULL)
43 FileName = szTemp + 1;
arena_t NULL
Definition: jemalloc_internal.h:624