mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[11240] Drop dead code from vmap extractor
This commit is contained in:
parent
99b8c8b34f
commit
98a5eb6f0e
2 changed files with 2 additions and 20 deletions
|
|
@ -60,20 +60,6 @@ const char * szRawVMAPMagic = "VMAP003";
|
||||||
|
|
||||||
// Local testing functions
|
// Local testing functions
|
||||||
|
|
||||||
static void clreol()
|
|
||||||
{
|
|
||||||
printf("\r \r");
|
|
||||||
}
|
|
||||||
|
|
||||||
void strToLower(char* str)
|
|
||||||
{
|
|
||||||
while(*str)
|
|
||||||
{
|
|
||||||
*str=tolower(*str);
|
|
||||||
++str;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
static const char * GetPlainName(const char * szFileName)
|
static const char * GetPlainName(const char * szFileName)
|
||||||
{
|
{
|
||||||
const char * szTemp;
|
const char * szTemp;
|
||||||
|
|
@ -208,10 +194,6 @@ int ExtractWmo()
|
||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ExtractMapsFromMpq()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void ParsMapFiles()
|
void ParsMapFiles()
|
||||||
{
|
{
|
||||||
char fn[512];
|
char fn[512];
|
||||||
|
|
@ -522,7 +504,7 @@ int main(int argc, char ** argv)
|
||||||
//nError = ERROR_SUCCESS;
|
//nError = ERROR_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
clreol();
|
printf("\n");
|
||||||
if(!success)
|
if(!success)
|
||||||
{
|
{
|
||||||
printf("ERROR: Extract %s. Work NOT complete.\n Precise vector data=%d.\nPress any key.\n",versionString, preciseVectorData);
|
printf("ERROR: Extract %s. Work NOT complete.\n Precise vector data=%d.\nPress any key.\n",versionString, preciseVectorData);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11239"
|
#define REVISION_NR "11240"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue