RigsofRods
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
pch.h
Go to the documentation of this file.
1 /*
2  This source file is part of Rigs of Rods
3  Copyright 2005-2012 Pierre-Michel Ricordel
4  Copyright 2007-2012 Thomas Fischer
5  Copyright 2013-2020 Petr Ohlidal & contributors
6 
7  For more information, see http://www.rigsofrods.org/
8 
9  Rigs of Rods is free software: you can redistribute it and/or modify
10  it under the terms of the GNU General Public License version 3, as
11  published by the Free Software Foundation.
12 
13  Rigs of Rods is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with Rigs of Rods. If not, see <http://www.gnu.org/licenses/>.
20 */
21 
22 #pragma once
23 
24 #include <memory>
25 #include <string>
26 #include <regex>
27 #include <future>
28 #include <thread>
29 #include <vector>
30 
31 
32 #include <Ogre.h>
33 #include <OgrePrerequisites.h>
34 #include <Bites/OgreWindowEventUtilities.h>
35 #include <Overlay/OgreFontManager.h>
36 #include <OIS.h>
37 #include <MyGUI.h>
38 #include <imgui.h>
39 #include <rapidjson/rapidjson.h>
40 #include <rapidjson/document.h>
41 #include <AL/al.h>
42 #include <AL/alc.h>
43 #include <moFileReader.hpp>
44 
45 
46 #ifdef USE_SOCKETW
47 #include <SocketW.h>
48 #endif// USE_SOCKETW
49 
50 #ifdef USE_DISCORD_RPC
51 #include <discord_rpc.h>
52 #endif// USE_DISCORD_RPC
53 
54 #ifdef USE_SOCKETW
55 #include <SocketW.h>
56 #endif// USE_SOCKETW
57 
58 #ifdef USE_ANGELSCRIPT
59 #include <angelscript.h>
60 #endif// USE_ANGELSCRIPT
61 
62 #ifdef USE_CURL
63 #include <curl/curl.h>
64 #endif// USE_CURL
65 
66 #ifdef USE_DISCORD_RPC
67 #include <discord_rpc.h>
68 #endif// USE_DISCORD_RPC
69 
70 #ifdef USE_CAELUM
71 #include <CaelumPrerequisites.h>
72 #include <Caelum.h>
73 #endif// USE_CAELUM
74 
75 #ifdef USE_PAGED
76 #include <PagedGeometry.h>
77 #include <TreeLoader2D.h>
78 #include <TreeLoader3D.h>
79 #include <BatchPage.h>
80 #include <GrassLoader.h>
81 #include <ImpostorPage.h>
82 #endif //USE_PAGED
83 
84 #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
85 #include <windows.h>
86 #endif