TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
vmapexport.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
3  * Copyright (C) 2005-2011 MaNGOS <http://getmangos.com/>
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License as published by the
7  * Free Software Foundation; either version 2 of the License, or (at your
8  * option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13  * more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef VMAPEXPORT_H
20 #define VMAPEXPORT_H
21 
22 #include <string>
23 
25 {
26  MOD_M2 = 1,
29 };
30 
31 extern const char * szWorkDirWmo;
32 extern const char * szRawVMAPMagic; // vmap magic string for extracted raw vmap data
33 
34 bool FileExists(const char * file);
35 void strToLower(char* str);
36 
37 bool ExtractSingleWmo(std::string& fname);
38 bool ExtractSingleModel(std::string& fname);
39 
41 
42 #endif
const char * szWorkDirWmo
Definition: vmapexport.cpp:81
ModelFlags
Definition: vmapexport.h:24
Definition: vmapexport.h:26
void strToLower(char *str)
Definition: vmapexport.cpp:218
bool ExtractSingleModel(std::string &fname)
Definition: gameobject_extract.cpp:27
bool FileExists(const char *file)
Definition: vmapexport.cpp:208
bool ExtractSingleWmo(std::string &fname)
Definition: vmapexport.cpp:281
const char * szRawVMAPMagic
Definition: vmapexport.cpp:82
void ExtractGameobjectModels()
Definition: gameobject_extract.cpp:57
Definition: vmapexport.h:28
Definition: vmapexport.h:27