1 /* Copyright (C) 2009 Wildfire Games. 2 * This file is part of 0 A.D. 3 * 4 * 0 A.D. is free software: you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation, either version 2 of the License, or 7 * (at your option) any later version. 8 * 9 * 0 A.D. is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with 0 A.D. If not, see <http://www.gnu.org/licenses/>. 16 */ 17 18 #ifndef INCLUDED_COLLADA_PRECOMPILED 19 #define INCLUDED_COLLADA_PRECOMPILED 20 21 #define COLLADA_DLL 22 #include "DLL.h" 23 24 extern void Log(int severity, const char* fmt, ...); 25 26 #ifdef _WIN32 27 # define WIN32 28 # define WIN32_LEAN_AND_MEAN 29 # pragma warning(disable: 4996) 30 #endif 31 32 #include <climits> 33 34 #include "FCollada.h" 35 #include "FCDocument/FCDAsset.h" 36 #include "FCDocument/FCDocument.h" 37 #include "FCDocument/FCDocumentTools.h" 38 #include "FCDocument/FCDAnimated.h" 39 #include "FCDocument/FCDAnimationCurve.h" 40 #include "FCDocument/FCDController.h" 41 #include "FCDocument/FCDControllerInstance.h" 42 #include "FCDocument/FCDExtra.h" 43 #include "FCDocument/FCDGeometry.h" 44 #include "FCDocument/FCDGeometryMesh.h" 45 #include "FCDocument/FCDGeometryPolygons.h" 46 #include "FCDocument/FCDGeometryPolygonsTools.h" 47 #include "FCDocument/FCDGeometrySource.h" 48 #include "FCDocument/FCDSceneNode.h" 49 #include "FCDocument/FCDSkinController.h" 50 #include "FUtils/FUDaeSyntax.h" 51 #include "FUtils/FUFileManager.h" 52 #include "FUtils/FUXmlParser.h" 53 54 #include <cassert> 55 #include <cstdarg> 56 #include <string> 57 58 // FCollada pollutes the global namespace by defining these 59 // to std::{min,max}, so undo its macros 60 #undef min 61 #undef max 62 63 #endif // INCLUDED_COLLADA_PRECOMPILED 64