1 /* 2 * OpenClonk, http://www.openclonk.org 3 * 4 * Copyright (c) 1998-2000, Matthes Bender 5 * Copyright (c) 2001-2009, RedWolf Design GmbH, http://www.clonk.de/ 6 * Copyright (c) 2009-2016, The OpenClonk Team and contributors 7 * 8 * Distributed under the terms of the ISC license; see accompanying file 9 * "COPYING" for details. 10 * 11 * "Clonk" is a registered trademark of Matthes Bender, used with permission. 12 * See accompanying file "TRADEMARK" for details. 13 * 14 * To redistribute this file separately, substitute the full license texts 15 * for the above references. 16 */ 17 18 /* This header is included first from every source file. It serves three purposes: 19 - PlatformAbstraction.h 20 - Common utility functionality that's used everywhere 21 - Speeding up the compilation by precompiling this header 22 All of our headers are designed to be used with C4Include.h included before and 23 don't need to include this file or any of the files it includes. */ 24 25 #ifndef INC_C4Include 26 #define INC_C4Include 27 28 #include "platform/PlatformAbstraction.h" 29 30 constexpr bool DEBUGREC_SCRIPT = true; 31 constexpr int DEBUGREC_START_FRAME = 0; 32 constexpr bool DEBUGREC_PXS = true; 33 constexpr bool DEBUGREC_MATSCAN = true; 34 constexpr bool DEBUGREC_MENU = true; 35 constexpr bool DEBUGREC_OCF = true; 36 constexpr bool DEBUGREC_RECRUITMENT = false; 37 38 // solidmask debugging 39 constexpr bool SOLIDMASK_DEBUG = false; 40 41 #include <algorithm> 42 #include <cassert> 43 #include <cctype> 44 #include <cerrno> 45 #include <climits> 46 #include <cmath> 47 #include <cstdarg> 48 #include <cstddef> 49 #include <cstdio> 50 #include <cstdlib> 51 #include <cstring> 52 #include <ctime> 53 #include <iostream> 54 #include <list> 55 #include <map> 56 #include <memory> 57 #include <regex> 58 #include <set> 59 #include <sstream> 60 #include <stdexcept> 61 #include <string> 62 #include <utility> 63 #include <vector> 64 #include <unordered_set> 65 #include <math.h> 66 67 #include "C4Prototypes.h" 68 #include "lib/C4Log.h" 69 #include "lib/C4Real.h" 70 #include "lib/Standard.h" 71 #include "lib/StdBuf.h" 72 #include "platform/StdFile.h" 73 74 #include "c4group/C4Language.h" 75 #include "config/C4Config.h" 76 #include "config/C4Reloc.h" 77 #include "game/C4Game.h" 78 79 #endif // INC_C4Include 80