/* =========================================================================== maya2q3 - export .md3 files from maya Copyright (C) 2005 HermitWorks Entertainment Corporation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. =========================================================================== */ #ifndef INC__afx_h_ #define INC__afx_h_ #if defined( _MSC_VER ) && _MSC_VER >= 1400 #define _CRT_SECURE_NO_DEPRECATE #define _CRT_NONSTDC_NO_DEPRECATE #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include "../glew/include/GL/glew.h" #include "NVMeshMender.h" #include "NvTriStrip.h" #include "NvTriStripObjects.h" #ifdef _MSC_VER #pragma warning( push ) #pragma warning( disable : 4100 ) //unreferenced formal parameter #endif //fixes a link blow-up under Linux //due to a non-static, non-extern global variable //otherwise defined in MApiVersion.h #define MNoVersionString #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #if MAYA_API_VERSION >= 700 #include #include #endif #ifdef _MSC_VER #pragma warning( pop ) //disable warnings for the exporter code #pragma warning( disable : 4201 ) //nameless struct/union #endif #ifdef __linux__ #include #include #endif #ifdef assert #undef assert #endif #ifdef None #undef None #endif #include #include "../common/math.h" #include "../common/math-vector.h" #include "../common/util.h" #include "../common/util-string.h" #include "util-maya2q3.h" #include "q3types.h" #include "q3util.h" #include "plugins.h" #include "q3shader.h" #include "../physfs/physfs.h" #endif