Use precompiled headers to improve compilation time

This commit is contained in:
Vsevolod Kremianskii 2021-06-11 00:39:34 +07:00
parent 2aceec0ed2
commit e265fb43d2
323 changed files with 88 additions and 1271 deletions

View file

@ -86,6 +86,7 @@ set(COMMON_SOURCES
add_library(libcommon STATIC ${COMMON_HEADERS} ${COMMON_SOURCES}) add_library(libcommon STATIC ${COMMON_HEADERS} ${COMMON_SOURCES})
set_target_properties(libcommon PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set_target_properties(libcommon PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
target_precompile_headers(libcommon PRIVATE src/engine/pch.h)
## END libcommon static library ## END libcommon static library
@ -154,6 +155,7 @@ set(RESOURCE_SOURCES
add_library(libresource STATIC ${RESOURCE_HEADERS} ${RESOURCE_SOURCES}) add_library(libresource STATIC ${RESOURCE_HEADERS} ${RESOURCE_SOURCES})
set_target_properties(libresource PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set_target_properties(libresource PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
target_precompile_headers(libresource PRIVATE src/engine/pch.h)
## END libresource static library ## END libresource static library
@ -251,6 +253,7 @@ set(GRAPHICS_SOURCES
add_library(libgraphics STATIC ${GRAPHICS_HEADERS} ${GRAPHICS_SOURCES}) add_library(libgraphics STATIC ${GRAPHICS_HEADERS} ${GRAPHICS_SOURCES})
set_target_properties(libgraphics PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set_target_properties(libgraphics PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
target_precompile_headers(libgraphics PRIVATE src/engine/pch.h)
## END libgraphics static library ## END libgraphics static library
@ -280,6 +283,7 @@ set(AUDIO_SOURCES
add_library(libaudio STATIC ${AUDIO_HEADERS} ${AUDIO_SOURCES}) add_library(libaudio STATIC ${AUDIO_HEADERS} ${AUDIO_SOURCES})
set_target_properties(libaudio PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set_target_properties(libaudio PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
target_precompile_headers(libaudio PRIVATE src/engine/pch.h)
## END libaudio static library ## END libaudio static library
@ -295,6 +299,7 @@ set(VIDEO_SOURCES
add_library(libvideo STATIC ${VIDEO_HEADERS} ${VIDEO_SOURCES}) add_library(libvideo STATIC ${VIDEO_HEADERS} ${VIDEO_SOURCES})
set_target_properties(libvideo PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set_target_properties(libvideo PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
target_precompile_headers(libvideo PRIVATE src/engine/pch.h)
## END libvideo static library ## END libvideo static library
@ -336,6 +341,7 @@ set(SCENE_SOURCES
add_library(libscene STATIC ${SCENE_HEADERS} ${SCENE_SOURCES}) add_library(libscene STATIC ${SCENE_HEADERS} ${SCENE_SOURCES})
set_target_properties(libscene PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set_target_properties(libscene PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
target_precompile_headers(libscene PRIVATE src/engine/pch.h)
## END libscene static library ## END libscene static library
@ -374,6 +380,7 @@ set(GUI_SOURCES
add_library(libgui STATIC ${GUI_HEADERS} ${GUI_SOURCES}) add_library(libgui STATIC ${GUI_HEADERS} ${GUI_SOURCES})
set_target_properties(libgui PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set_target_properties(libgui PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
target_precompile_headers(libgui PRIVATE src/engine/pch.h)
## END libgui static library ## END libgui static library
@ -403,6 +410,7 @@ set(SCRIPT_SOURCES
add_library(libscript STATIC ${SCRIPT_HEADERS} ${SCRIPT_SOURCES}) add_library(libscript STATIC ${SCRIPT_HEADERS} ${SCRIPT_SOURCES})
set_target_properties(libscript PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set_target_properties(libscript PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
target_precompile_headers(libscript PRIVATE src/engine/pch.h)
## END libscript static library ## END libscript static library
@ -657,6 +665,7 @@ set(GAME_SOURCES
add_library(libgame STATIC ${GAME_HEADERS} ${GAME_SOURCES}) add_library(libgame STATIC ${GAME_HEADERS} ${GAME_SOURCES})
set_target_properties(libgame PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set_target_properties(libgame PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
target_precompile_headers(libgame PRIVATE src/engine/pch.h)
## END libgame static library ## END libgame static library
@ -664,6 +673,7 @@ set_target_properties(libgame PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY
set(REONE_HEADERS set(REONE_HEADERS
src/engine/engine.h src/engine/engine.h
src/engine/pch.h
src/engine/program.h) src/engine/program.h)
set(REONE_SOURCES set(REONE_SOURCES
@ -677,6 +687,7 @@ endif()
add_executable(reone ${REONE_HEADERS} ${REONE_SOURCES}) add_executable(reone ${REONE_HEADERS} ${REONE_SOURCES})
set_target_properties(reone PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) set_target_properties(reone PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
target_precompile_headers(reone PRIVATE src/engine/pch.h)
target_link_libraries(reone PRIVATE target_link_libraries(reone PRIVATE
libgame libscript libgui libscene libvideo libaudio libgraphics libresource libcommon libgame libscript libgui libscene libvideo libaudio libgraphics libresource libcommon
@ -721,6 +732,7 @@ if(BUILD_TOOLS)
add_executable(reone-tools ${TOOLS_HEADERS} ${TOOLS_SOURCES}) add_executable(reone-tools ${TOOLS_HEADERS} ${TOOLS_SOURCES})
set_target_properties(reone-tools PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) set_target_properties(reone-tools PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
target_precompile_headers(reone-tools PRIVATE src/engine/pch.h)
target_link_libraries(reone-tools PRIVATE target_link_libraries(reone-tools PRIVATE
libgraphics libresource libcommon libgraphics libresource libcommon
@ -762,6 +774,7 @@ if(BUILD_LAUNCHER)
target_link_libraries(reone-launcher ${wxWidgets_LIBRARIES} ${Boost_FILESYSTEM_LIBRARY} ${Boost_PROGRAM_OPTIONS_LIBRARY} ${Boost_SYSTEM_LIBRARY}) target_link_libraries(reone-launcher ${wxWidgets_LIBRARIES} ${Boost_FILESYSTEM_LIBRARY} ${Boost_PROGRAM_OPTIONS_LIBRARY} ${Boost_SYSTEM_LIBRARY})
set_target_properties(reone-launcher PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) set_target_properties(reone-launcher PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
target_precompile_headers(reone-launcher PRIVATE src/engine/pch.h)
list(APPEND InstallTargets reone-launcher) list(APPEND InstallTargets reone-launcher)
else() else()
message(WARNING "wxWidgets not found - launcher cannot be built") message(WARNING "wxWidgets not found - launcher cannot be built")
@ -788,6 +801,7 @@ if(BUILD_TESTS)
endif() endif()
add_test(${TEST_NAME} test_${TEST_NAME}) add_test(${TEST_NAME} test_${TEST_NAME})
target_precompile_headers(test_${TEST_NAME} PRIVATE src/engine/pch.h)
endforeach() endforeach()
endif() endif()

View file

@ -17,8 +17,6 @@
#pragma once #pragma once
#include <string>
#include "../common/cache.h" #include "../common/cache.h"
#include "../resource/resources.h" #include "../resource/resources.h"

View file

@ -17,15 +17,10 @@
#pragma once #pragma once
#include <istream> #include "../stream.h"
#include <memory>
#include <boost/noncopyable.hpp>
#include "mad.h" #include "mad.h"
#include "../stream.h"
namespace reone { namespace reone {
namespace audio { namespace audio {

View file

@ -17,8 +17,6 @@
#include "wavreader.h" #include "wavreader.h"
#include <utility>
#include "../../common/streamutil.h" #include "../../common/streamutil.h"
#include "mp3reader.h" #include "mp3reader.h"

View file

@ -17,14 +17,6 @@
#include "player.h" #include "player.h"
#include <algorithm>
#include <functional>
#include <stdexcept>
#include "glm/gtx/norm.hpp"
#include "AL/al.h"
#include "../common/log.h" #include "../common/log.h"
#include "../common/guardutil.h" #include "../common/guardutil.h"

View file

@ -17,20 +17,6 @@
#pragma once #pragma once
#include <atomic>
#include <cstdint>
#include <map>
#include <mutex>
#include <string>
#include <thread>
#include <vector>
#include <boost/noncopyable.hpp>
#include "AL/alc.h"
#include "glm/vec3.hpp"
#include "files.h" #include "files.h"
#include "options.h" #include "options.h"
#include "soundinstance.h" #include "soundinstance.h"

View file

@ -17,10 +17,6 @@
#pragma once #pragma once
#include <memory>
#include <boost/noncopyable.hpp>
#include "../resource/services.h" #include "../resource/services.h"
#include "files.h" #include "files.h"

View file

@ -17,12 +17,6 @@
#pragma once #pragma once
#include <atomic>
#include <boost/noncopyable.hpp>
#include "glm/vec3.hpp"
namespace reone { namespace reone {
namespace audio { namespace audio {

View file

@ -17,11 +17,6 @@
#include "soundinstance.h" #include "soundinstance.h"
#include <stdexcept>
#include <utility>
#include "AL/al.h"
#include "../common/log.h" #include "../common/log.h"
#include "soundhandle.h" #include "soundhandle.h"

View file

@ -17,13 +17,6 @@
#pragma once #pragma once
#include <string>
#include <memory>
#include <boost/noncopyable.hpp>
#include "glm/vec3.hpp"
#include "stream.h" #include "stream.h"
namespace reone { namespace reone {

View file

@ -17,11 +17,6 @@
#include "stream.h" #include "stream.h"
#include <stdexcept>
#include <string>
#include "AL/al.h"
using namespace std; using namespace std;
namespace reone { namespace reone {

View file

@ -17,13 +17,6 @@
#pragma once #pragma once
#include <functional>
#include <memory>
#include <stdexcept>
#include <unordered_map>
#include <boost/noncopyable.hpp>
#include "guardutil.h" #include "guardutil.h"
namespace reone { namespace reone {

View file

@ -17,11 +17,6 @@
#pragma once #pragma once
#include <functional>
#include <map>
#include <unordered_map>
#include <vector>
namespace reone { namespace reone {
template <class T> template <class T>

View file

@ -17,9 +17,6 @@
#pragma once #pragma once
#include <stdexcept>
#include <string>
namespace reone { namespace reone {
template <class T> template <class T>

View file

@ -17,11 +17,6 @@
#include "log.h" #include "log.h"
#include <iostream>
#include <memory>
#include <boost/filesystem.hpp>
namespace fs = boost::filesystem; namespace fs = boost::filesystem;
using namespace std; using namespace std;

View file

@ -17,11 +17,6 @@
#pragma once #pragma once
#include <cstdint>
#include <string>
#include <boost/format.hpp>
#include "types.h" #include "types.h"
namespace reone { namespace reone {

View file

@ -17,14 +17,6 @@
#pragma once #pragma once
#include <memory>
#include <stdexcept>
#include <string>
#include <utility>
#include <vector>
#include <boost/noncopyable.hpp>
namespace reone { namespace reone {
template <class Frame> template <class Frame>

View file

@ -17,9 +17,6 @@
#include "pathutil.h" #include "pathutil.h"
#include <boost/algorithm/string.hpp>
#include <boost/format.hpp>
#include "log.h" #include "log.h"
using namespace std; using namespace std;

View file

@ -17,8 +17,6 @@
#pragma once #pragma once
#include <boost/filesystem.hpp>
namespace reone { namespace reone {
boost::filesystem::path getPathIgnoreCase(const boost::filesystem::path &basePath, const std::string &relPath, bool logNotFound = true); boost::filesystem::path getPathIgnoreCase(const boost::filesystem::path &basePath, const std::string &relPath, bool logNotFound = true);

View file

@ -17,9 +17,6 @@
#include "random.h" #include "random.h"
#include <ctime>
#include <random>
using namespace std; using namespace std;
namespace reone { namespace reone {

View file

@ -17,8 +17,6 @@
#include "stopwatch.h" #include "stopwatch.h"
#include "SDL2/SDL_timer.h"
namespace reone { namespace reone {
Stopwatch::Stopwatch() : Stopwatch::Stopwatch() :

View file

@ -17,8 +17,6 @@
#pragma once #pragma once
#include <cstdint>
namespace reone { namespace reone {
/** /**

View file

@ -17,9 +17,6 @@
#include "streamreader.h" #include "streamreader.h"
#include <sstream>
#include <stdexcept>
#include "guardutil.h" #include "guardutil.h"
using namespace std; using namespace std;

View file

@ -17,15 +17,6 @@
#pragma once #pragma once
#include <cstdint>
#include <istream>
#include <memory>
#include <string>
#include <vector>
#include <boost/endian/conversion.hpp>
#include <boost/noncopyable.hpp>
#include "types.h" #include "types.h"
namespace reone { namespace reone {

View file

@ -17,8 +17,6 @@
#include "streamutil.h" #include "streamutil.h"
#include <boost/iostreams/stream.hpp>
using namespace std; using namespace std;
namespace io = boost::iostreams; namespace io = boost::iostreams;

View file

@ -17,8 +17,6 @@
#include "streamwriter.h" #include "streamwriter.h"
#include <stdexcept>
#include "guardutil.h" #include "guardutil.h"
using namespace std; using namespace std;

View file

@ -17,15 +17,6 @@
#pragma once #pragma once
#include <cstdint>
#include <cstring>
#include <memory>
#include <ostream>
#include <string>
#include <boost/endian/conversion.hpp>
#include <boost/noncopyable.hpp>
#include "types.h" #include "types.h"
namespace reone { namespace reone {

View file

@ -17,8 +17,6 @@
#include "timer.h" #include "timer.h"
#include "glm/common.hpp"
namespace reone { namespace reone {
Timer::Timer(float timeout) { Timer::Timer(float timeout) {

View file

@ -17,8 +17,6 @@
#pragma once #pragma once
#include <vector>
namespace reone { namespace reone {
struct DebugChannels { struct DebugChannels {

View file

@ -17,9 +17,6 @@
#pragma once #pragma once
#include <boost/filesystem/path.hpp>
#include <boost/noncopyable.hpp>
#include "game/options.h" #include "game/options.h"
namespace reone { namespace reone {

View file

@ -17,8 +17,6 @@
#pragma once #pragma once
#include <boost/noncopyable.hpp>
#include "../types.h" #include "../types.h"
namespace reone { namespace reone {

View file

@ -17,8 +17,6 @@
#pragma once #pragma once
#include <memory>
#include "action.h" #include "action.h"
namespace reone { namespace reone {

View file

@ -17,8 +17,6 @@
#pragma once #pragma once
#include "glm/vec3.hpp"
#include "action.h" #include "action.h"
namespace reone { namespace reone {

View file

@ -17,9 +17,6 @@
#pragma once #pragma once
#include <memory>
#include <stdexcept>
#include "../../common/guardutil.h" #include "../../common/guardutil.h"
#include "action.h" #include "action.h"

View file

@ -17,8 +17,6 @@
#pragma once #pragma once
#include "glm/common.hpp"
#include "../../common/timer.h" #include "../../common/timer.h"
#include "action.h" #include "action.h"

View file

@ -17,10 +17,6 @@
#include "actionexecutor.h" #include "actionexecutor.h"
#include <stdexcept>
#include "SDL2/SDL_timer.h"
#include "../common/log.h" #include "../common/log.h"
#include "../common/guardutil.h" #include "../common/guardutil.h"
#include "../scene/types.h" #include "../scene/types.h"

View file

@ -17,10 +17,6 @@
#include "animatedcamera.h" #include "animatedcamera.h"
#include <unordered_map>
#include <boost/format.hpp>
#include "../../graphics/types.h" #include "../../graphics/types.h"
#include "../../graphics/model/models.h" #include "../../graphics/model/models.h"
#include "../../resource/resources.h" #include "../../resource/resources.h"

View file

@ -17,8 +17,6 @@
#pragma once #pragma once
#include <string>
#include "../../scene/node/modelnode.h" #include "../../scene/node/modelnode.h"
#include "../../scene/scenegraph.h" #include "../../scene/scenegraph.h"

View file

@ -17,12 +17,6 @@
#pragma once #pragma once
#include <memory>
#include "SDL2/SDL_events.h"
#include "glm/vec3.hpp"
#include "../../scene/node/cameranode.h" #include "../../scene/node/cameranode.h"
namespace reone { namespace reone {

View file

@ -17,8 +17,6 @@
#include "dialogcamera.h" #include "dialogcamera.h"
#include "glm/ext.hpp"
using namespace std; using namespace std;
using namespace reone::graphics; using namespace reone::graphics;

View file

@ -17,8 +17,6 @@
#pragma once #pragma once
#include <functional>
#include "../../scene/scenegraph.h" #include "../../scene/scenegraph.h"
#include "../types.h" #include "../types.h"

View file

@ -17,8 +17,6 @@
#include "firstperson.h" #include "firstperson.h"
#include "glm/ext.hpp"
#include "../../graphics/types.h" #include "../../graphics/types.h"
using namespace std; using namespace std;

View file

@ -17,8 +17,6 @@
#include "staticcamera.h" #include "staticcamera.h"
#include "glm/ext.hpp"
#include "../object/placeablecamera.h" #include "../object/placeablecamera.h"
using namespace std; using namespace std;

View file

@ -17,8 +17,6 @@
#include "thirdperson.h" #include "thirdperson.h"
#include "glm/ext.hpp"
#include "../game.h" #include "../game.h"
using namespace std; using namespace std;

View file

@ -17,8 +17,6 @@
#pragma once #pragma once
#include <functional>
#include "../types.h" #include "../types.h"
#include "camera.h" #include "camera.h"

View file

@ -17,12 +17,6 @@
#pragma once #pragma once
#include <cstdint>
#include <list>
#include <map>
#include <queue>
#include <set>
#include "../../common/timer.h" #include "../../common/timer.h"
#include "../../scene/services.h" #include "../../scene/services.h"

View file

@ -17,8 +17,6 @@
#include "combat.h" #include "combat.h"
#include <stdexcept>
#include "../../common/log.h" #include "../../common/log.h"
#include "../../common/random.h" #include "../../common/random.h"

View file

@ -21,9 +21,6 @@
#include "combat.h" #include "combat.h"
#include "glm/gtx/euler_angles.hpp"
#include "glm/gtx/transform.hpp"
using namespace std; using namespace std;
using namespace reone::graphics; using namespace reone::graphics;

View file

@ -17,13 +17,6 @@
#include "console.h" #include "console.h"
#include <iomanip>
#include <sstream>
#include <boost/algorithm/string.hpp>
#include "glm/ext.hpp"
#include "../common/log.h" #include "../common/log.h"
#include "../graphics/font.h" #include "../graphics/font.h"
#include "../graphics/fonts.h" #include "../graphics/fonts.h"

View file

@ -17,17 +17,6 @@
#pragma once #pragma once
#include <functional>
#include <memory>
#include <stack>
#include <string>
#include <queue>
#include <unordered_map>
#include <boost/noncopyable.hpp>
#include "SDL2/SDL_events.h"
#include "../gui/textinput.h" #include "../gui/textinput.h"
#include "../graphics/font.h" #include "../graphics/font.h"
#include "../graphics/options.h" #include "../graphics/options.h"

View file

@ -17,8 +17,6 @@
#include "cursors.h" #include "cursors.h"
#include <stdexcept>
#include "../common/streamutil.h" #include "../common/streamutil.h"
#include "../graphics/texture/curreader.h" #include "../graphics/texture/curreader.h"

View file

@ -17,12 +17,6 @@
#pragma once #pragma once
#include <cstdint>
#include <memory>
#include <unordered_map>
#include <boost/noncopyable.hpp>
#include "../graphics/services.h" #include "../graphics/services.h"
#include "../resource/services.h" #include "../resource/services.h"

View file

@ -17,10 +17,6 @@
#pragma once #pragma once
#include <map>
#include <set>
#include <vector>
#include "../types.h" #include "../types.h"
#include "savingthrows.h" #include "savingthrows.h"

View file

@ -17,8 +17,6 @@
#include "attributes.h" #include "attributes.h"
#include <algorithm>
#include "classes.h" #include "classes.h"
using namespace std; using namespace std;

View file

@ -17,10 +17,6 @@
#include "class.h" #include "class.h"
#include <stdexcept>
#include <boost/algorithm/string.hpp>
#include "classes.h" #include "classes.h"
using namespace std; using namespace std;

View file

@ -17,10 +17,6 @@
#pragma once #pragma once
#include <string>
#include <unordered_set>
#include <vector>
#include "../../resource/format/2dareader.h" #include "../../resource/format/2dareader.h"
#include "../../resource/services.h" #include "../../resource/services.h"

View file

@ -17,10 +17,6 @@
#pragma once #pragma once
#include <cstdint>
#include <memory>
#include <string>
#include "../../graphics/texture/texture.h" #include "../../graphics/texture/texture.h"
#include "../types.h" #include "../types.h"

View file

@ -17,9 +17,6 @@
#include "feats.h" #include "feats.h"
#include <stdexcept>
#include <string>
#include "../../common/collectionutil.h" #include "../../common/collectionutil.h"
using namespace std; using namespace std;

View file

@ -17,10 +17,6 @@
#pragma once #pragma once
#include <unordered_map>
#include <boost/noncopyable.hpp>
#include "../../graphics/texture/textures.h" #include "../../graphics/texture/textures.h"
#include "../../resource/services.h" #include "../../resource/services.h"

View file

@ -17,9 +17,6 @@
#pragma once #pragma once
#include <memory>
#include <string>
#include "../../graphics/texture/texture.h" #include "../../graphics/texture/texture.h"
namespace reone { namespace reone {

View file

@ -17,10 +17,6 @@
#pragma once #pragma once
#include <unordered_map>
#include <boost/noncopyable.hpp>
#include "../../graphics/services.h" #include "../../graphics/services.h"
#include "../../resource/services.h" #include "../../resource/services.h"

View file

@ -17,10 +17,6 @@
#pragma once #pragma once
#include <cstdint>
#include <memory>
#include <string>
#include "../../graphics/texture/texture.h" #include "../../graphics/texture/texture.h"
#include "../types.h" #include "../types.h"

View file

@ -17,10 +17,6 @@
#pragma once #pragma once
#include <unordered_map>
#include <boost/noncopyable.hpp>
#include "../../graphics/texture/textures.h" #include "../../graphics/texture/textures.h"
#include "../../resource/services.h" #include "../../resource/services.h"

View file

@ -17,10 +17,6 @@
#include "dialog.h" #include "dialog.h"
#include <stdexcept>
#include <boost/algorithm/string.hpp>
#include "../common/guardutil.h" #include "../common/guardutil.h"
#include "../resource/strings.h" #include "../resource/strings.h"

View file

@ -17,11 +17,6 @@
#pragma once #pragma once
#include <string>
#include <vector>
#include <boost/noncopyable.hpp>
#include "../resource/format/gffreader.h" #include "../resource/format/gffreader.h"
#include "../resource/strings.h" #include "../resource/strings.h"

View file

@ -17,10 +17,6 @@
#pragma once #pragma once
#include <memory>
#include "glm/common.hpp"
#include "../../script/enginetype.h" #include "../../script/enginetype.h"
#include "../types.h" #include "../types.h"

View file

@ -17,8 +17,6 @@
#pragma once #pragma once
#include "glm/vec3.hpp"
#include "../../script/enginetype.h" #include "../../script/enginetype.h"
namespace reone { namespace reone {

View file

@ -17,8 +17,6 @@
#include "footstepsounds.h" #include "footstepsounds.h"
#include <boost/format.hpp>
#include "../common/guardutil.h" #include "../common/guardutil.h"
using namespace std; using namespace std;

View file

@ -17,9 +17,6 @@
#pragma once #pragma once
#include <memory>
#include <vector>
#include "../audio/files.h" #include "../audio/files.h"
#include "../audio/stream.h" #include "../audio/stream.h"
#include "../common/cache.h" #include "../common/cache.h"

View file

@ -17,10 +17,6 @@
#include "game.h" #include "game.h"
#include <boost/algorithm/string.hpp>
#include "SDL2/SDL_timer.h"
#include "../common/log.h" #include "../common/log.h"
#include "../common/pathutil.h" #include "../common/pathutil.h"
#include "../video/bikreader.h" #include "../video/bikreader.h"

View file

@ -18,13 +18,6 @@
#pragma once #pragma once
#include <cstdint>
#include <memory>
#include <set>
#include <string>
#include <boost/filesystem/path.hpp>
#include "../audio/services.h" #include "../audio/services.h"
#include "../graphics/eventhandler.h" #include "../graphics/eventhandler.h"
#include "../graphics/services.h" #include "../graphics/services.h"

View file

@ -21,8 +21,6 @@
#include "game.h" #include "game.h"
#include <boost/iostreams/stream.hpp>
#include "../common/streamutil.h" #include "../common/streamutil.h"
#include "../graphics/texture/tgawriter.h" #include "../graphics/texture/tgawriter.h"
#include "../resource/format/erfreader.h" #include "../resource/format/erfreader.h"

View file

@ -17,8 +17,6 @@
#pragma once #pragma once
#include <boost/filesystem/path.hpp>
#include "types.h" #include "types.h"
namespace reone { namespace reone {

View file

@ -17,12 +17,6 @@
#include "abilities.h" #include "abilities.h"
#include <unordered_map>
#include <boost/algorithm/string.hpp>
#include "glm/common.hpp"
#include "../../../gui/control/listbox.h" #include "../../../gui/control/listbox.h"
#include "../../../resource/strings.h" #include "../../../resource/strings.h"

View file

@ -17,8 +17,6 @@
#include "chargen.h" #include "chargen.h"
#include <stdexcept>
#include "../../../gui/scenebuilder.h" #include "../../../gui/scenebuilder.h"
#include "../../../graphics/model/models.h" #include "../../../graphics/model/models.h"
#include "../../../resource/resources.h" #include "../../../resource/resources.h"

View file

@ -17,8 +17,6 @@
#include "custom.h" #include "custom.h"
#include <boost/algorithm/string.hpp>
#include "../../game.h" #include "../../game.h"
#include "../colorutil.h" #include "../colorutil.h"

View file

@ -17,8 +17,6 @@
#include "levelup.h" #include "levelup.h"
#include <boost/algorithm/string.hpp>
#include "../../game.h" #include "../../game.h"
#include "../colorutil.h" #include "../colorutil.h"

View file

@ -17,8 +17,6 @@
#include "quick.h" #include "quick.h"
#include <boost/algorithm/string.hpp>
#include "../../game.h" #include "../../game.h"
#include "../colorutil.h" #include "../colorutil.h"

View file

@ -17,10 +17,6 @@
#include "skills.h" #include "skills.h"
#include <unordered_map>
#include <boost/algorithm/string.hpp>
#include "../../../gui/control/listbox.h" #include "../../../gui/control/listbox.h"
#include "../../../resource/strings.h" #include "../../../resource/strings.h"

View file

@ -17,8 +17,6 @@
#pragma once #pragma once
#include "glm/vec3.hpp"
#include "../types.h" #include "../types.h"
namespace reone { namespace reone {

View file

@ -17,13 +17,6 @@
#include "dialog.h" #include "dialog.h"
#include <unordered_map>
#include <boost/algorithm/string.hpp>
#include <boost/format.hpp>
#include "SDL2/SDL_timer.h"
#include "../../audio/files.h" #include "../../audio/files.h"
#include "../../audio/player.h" #include "../../audio/player.h"
#include "../../audio/soundhandle.h" #include "../../audio/soundhandle.h"

View file

@ -17,8 +17,6 @@
#include "gui.h" #include "gui.h"
#include <boost/format.hpp>
#include "../../audio/player.h" #include "../../audio/player.h"
#include "../../graphics/texture/textures.h" #include "../../graphics/texture/textures.h"

View file

@ -17,8 +17,6 @@
#include "character.h" #include "character.h"
#include <boost/format.hpp>
#include "../../../graphics/model/models.h" #include "../../../graphics/model/models.h"
#include "../../../gui/scenebuilder.h" #include "../../../gui/scenebuilder.h"

View file

@ -17,13 +17,14 @@
#pragma once #pragma once
#include "../gui.h"
#include "../../../gui/control/button.h" #include "../../../gui/control/button.h"
#include "../../../gui/control/label.h" #include "../../../gui/control/label.h"
#include "../../../gui/control/listbox.h" #include "../../../gui/control/listbox.h"
#include "../../../gui/control/slider.h" #include "../../../gui/control/slider.h"
#include "../../../scene/node/modelnode.h" #include "../../../scene/node/modelnode.h"
#include "../gui.h"
namespace reone { namespace reone {
namespace game { namespace game {

View file

@ -17,9 +17,6 @@
#include "equip.h" #include "equip.h"
#include <boost/algorithm/string.hpp>
#include <boost/format.hpp>
#include "../../../graphics/texture/textures.h" #include "../../../graphics/texture/textures.h"
#include "../../../resource/strings.h" #include "../../../resource/strings.h"

View file

@ -17,8 +17,6 @@
#include "ingame.h" #include "ingame.h"
#include <unordered_map>
#include "../../game.h" #include "../../game.h"
#include "../../gameidutil.h" #include "../../gameidutil.h"

View file

@ -27,7 +27,6 @@
#include "map.h" #include "map.h"
#include "messages.h" #include "messages.h"
#include "options.h" #include "options.h"
#include <memory>
namespace reone { namespace reone {

View file

@ -17,8 +17,6 @@
#include "map.h" #include "map.h"
#include <stdexcept>
#include "../../../resource/strings.h" #include "../../../resource/strings.h"
#include "../../game.h" #include "../../game.h"

View file

@ -17,8 +17,6 @@
#include "mainmenu.h" #include "mainmenu.h"
#include "glm/glm.hpp"
#include "../../audio/player.h" #include "../../audio/player.h"
#include "../../common/log.h" #include "../../common/log.h"
#include "../../gui/control/listbox.h" #include "../../gui/control/listbox.h"

View file

@ -17,8 +17,6 @@
#include "partyselect.h" #include "partyselect.h"
#include <boost/algorithm/string.hpp>
#include "../../gui/control/label.h" #include "../../gui/control/label.h"
#include "../../gui/control/togglebutton.h" #include "../../gui/control/togglebutton.h"
#include "../../graphics/texture/textures.h" #include "../../graphics/texture/textures.h"

View file

@ -17,13 +17,6 @@
#include "profileoverlay.h" #include "profileoverlay.h"
#include <algorithm>
#include <sstream>
#include "SDL2/SDL_timer.h"
#include "glm/ext.hpp"
#include "../../common/guardutil.h" #include "../../common/guardutil.h"
#include "../../graphics/fonts.h" #include "../../graphics/fonts.h"
#include "../../graphics/mesh/meshes.h" #include "../../graphics/mesh/meshes.h"

View file

@ -17,12 +17,6 @@
#pragma once #pragma once
#include <cstdint>
#include <memory>
#include <vector>
#include "SDL2/SDL_events.h"
#include "../../common/timer.h" #include "../../common/timer.h"
#include "../../graphics/font.h" #include "../../graphics/font.h"
#include "../../graphics/services.h" #include "../../graphics/services.h"

View file

@ -17,11 +17,6 @@
#include "saveload.h" #include "saveload.h"
#include <algorithm>
#include <boost/algorithm/string.hpp>
#include <boost/filesystem.hpp>
#include "../../common/log.h" #include "../../common/log.h"
#include "../../common/streamutil.h" #include "../../common/streamutil.h"
#include "../../graphics/texture/tgareader.h" #include "../../graphics/texture/tgareader.h"

View file

@ -17,8 +17,6 @@
#pragma once #pragma once
#include <boost/filesystem/path.hpp>
#include "../savedgame.h" #include "../savedgame.h"
#include "gui.h" #include "gui.h"

View file

@ -17,8 +17,6 @@
#include "selectoverlay.h" #include "selectoverlay.h"
#include <unordered_map>
#include "../../common/guardutil.h" #include "../../common/guardutil.h"
#include "../../graphics/context.h" #include "../../graphics/context.h"
#include "../../graphics/font.h" #include "../../graphics/font.h"

View file

@ -17,15 +17,6 @@
#pragma once #pragma once
#include <memory>
#include <unordered_map>
#include <vector>
#include "SDL2/SDL_events.h"
#include "glm/mat4x4.hpp"
#include "glm/vec3.hpp"
#include "../../graphics/font.h" #include "../../graphics/font.h"
#include "../../graphics/texture/texture.h" #include "../../graphics/texture/texture.h"

View file

@ -17,10 +17,6 @@
#pragma once #pragma once
#include <memory>
#include <boost/noncopyable.hpp>
#include "../../audio/files.h" #include "../../audio/files.h"
#include "../../audio/stream.h" #include "../../audio/stream.h"
#include "../../resource/2da.h" #include "../../resource/2da.h"

View file

@ -17,14 +17,6 @@
#include "map.h" #include "map.h"
#include <stdexcept>
#include "glm/mat4x4.hpp"
#include "GL/glew.h"
#include "SDL2/SDL_opengl.h"
#include "../common/log.h" #include "../common/log.h"
#include "../common/guardutil.h" #include "../common/guardutil.h"
#include "../graphics/context.h" #include "../graphics/context.h"

View file

@ -17,12 +17,6 @@
#pragma once #pragma once
#include <memory>
#include <string>
#include "glm/vec2.hpp"
#include "glm/vec4.hpp"
#include "../graphics/texture/texture.h" #include "../graphics/texture/texture.h"
#include "../resource/format/gffreader.h" #include "../resource/format/gffreader.h"

View file

@ -17,15 +17,6 @@
#include "area.h" #include "area.h"
#include <algorithm>
#include <stdexcept>
#include <sstream>
#include <boost/algorithm/string.hpp>
#include <boost/format.hpp>
#include "glm/gtx/norm.hpp"
#include "../../common/guardutil.h" #include "../../common/guardutil.h"
#include "../../common/log.h" #include "../../common/log.h"
#include "../../common/random.h" #include "../../common/random.h"

Some files were not shown because too many files have changed in this diff Show more