mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-08 17:28:20 +00:00
fix: make include paths consistent (#1390)
* fix: bad header includes tests pass * fix-up more include paths
This commit is contained in:
parent
870b56fe02
commit
2804dc3ec2
@ -243,6 +243,7 @@ set(INCLUDED_DIRECTORIES
|
||||
"thirdparty/recastnavigation"
|
||||
"thirdparty/SQLite"
|
||||
"thirdparty/cpplinq"
|
||||
"thirdparty/cpp-httplib"
|
||||
|
||||
"tests"
|
||||
"tests/dCommonTests"
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
//RakNet includes:
|
||||
#include "RakNetDefines.h"
|
||||
#include <MessageIdentifiers.h>
|
||||
#include "MessageIdentifiers.h"
|
||||
|
||||
//Auth includes:
|
||||
#include "AuthPackets.h"
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
//RakNet includes:
|
||||
#include "RakNetDefines.h"
|
||||
#include <MessageIdentifiers.h>
|
||||
#include "MessageIdentifiers.h"
|
||||
|
||||
namespace Game {
|
||||
Logger* logger = nullptr;
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include "Amf3.h"
|
||||
|
||||
// RakNet
|
||||
#include <BitStream.h>
|
||||
#include "BitStream.h"
|
||||
|
||||
/*!
|
||||
\file AmfSerialize.h
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <functional>
|
||||
#include <type_traits>
|
||||
#include <stdexcept>
|
||||
#include <BitStream.h>
|
||||
#include "BitStream.h"
|
||||
#include "NiPoint3.h"
|
||||
|
||||
#include "Game.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "ZCompression.h"
|
||||
|
||||
#include <zlib.h>
|
||||
#include "zlib.h"
|
||||
|
||||
namespace ZCompression {
|
||||
int32_t GetMaxCompressedLength(int32_t nLenSrc) {
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include "Game.h"
|
||||
#include "Logger.h"
|
||||
|
||||
#include <zlib.h>
|
||||
#include "zlib.h"
|
||||
|
||||
AssetManager::AssetManager(const std::filesystem::path& path) {
|
||||
if (!std::filesystem::is_directory(path)) {
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include "dCommonVars.h"
|
||||
#include <vector>
|
||||
#include "../thirdparty/tinyxml2/tinyxml2.h"
|
||||
#include "tinyxml2.h"
|
||||
#include <unordered_map>
|
||||
#include <map>
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include "CDClientManager.h"
|
||||
#include "Game.h"
|
||||
#include "Logger.h"
|
||||
#include <PacketUtils.h>
|
||||
#include "PacketUtils.h"
|
||||
#include <functional>
|
||||
#include "CDDestructibleComponentTable.h"
|
||||
#include "CDClientDatabase.h"
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "../thirdparty/raknet/Source/RakNetTypes.h"
|
||||
#include "RakNetTypes.h"
|
||||
#include "dCommonVars.h"
|
||||
|
||||
#include <unordered_map>
|
||||
|
@ -8,9 +8,9 @@
|
||||
#include "Game.h"
|
||||
#include "Logger.h"
|
||||
#include "User.h"
|
||||
#include <WorldPackets.h>
|
||||
#include "WorldPackets.h"
|
||||
#include "Character.h"
|
||||
#include <BitStream.h>
|
||||
#include "BitStream.h"
|
||||
#include "PacketUtils.h"
|
||||
#include "ObjectIDManager.h"
|
||||
#include "Logger.h"
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "ZoneInstanceManager.h"
|
||||
#include "Game.h"
|
||||
#include "Logger.h"
|
||||
#include <WorldPackets.h>
|
||||
#include "WorldPackets.h"
|
||||
#include "EntityManager.h"
|
||||
#include "ChatPackets.h"
|
||||
#include "Player.h"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "BaseCombatAIComponent.h"
|
||||
#include <BitStream.h>
|
||||
#include "BitStream.h"
|
||||
|
||||
#include "Entity.h"
|
||||
#include "EntityManager.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include "Game.h"
|
||||
#include "Logger.h"
|
||||
#include "GameMessages.h"
|
||||
#include <BitStream.h>
|
||||
#include "BitStream.h"
|
||||
#include "eTriggerEventType.h"
|
||||
|
||||
BouncerComponent::BouncerComponent(Entity* parent) : Component(parent) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "BuffComponent.h"
|
||||
#include <BitStream.h>
|
||||
#include "BitStream.h"
|
||||
#include "CDClientDatabase.h"
|
||||
#include <stdexcept>
|
||||
#include "DestroyableComponent.h"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "CharacterComponent.h"
|
||||
#include <BitStream.h>
|
||||
#include "BitStream.h"
|
||||
#include "tinyxml2.h"
|
||||
#include "Game.h"
|
||||
#include "Logger.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "../thirdparty/tinyxml2/tinyxml2.h"
|
||||
#include "tinyxml2.h"
|
||||
|
||||
class Entity;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "DestroyableComponent.h"
|
||||
#include <BitStream.h>
|
||||
#include "BitStream.h"
|
||||
#include "Logger.h"
|
||||
#include "Game.h"
|
||||
#include "dConfig.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "PropertyEntranceComponent.h"
|
||||
|
||||
#include <CDPropertyEntranceComponentTable.h>
|
||||
#include "CDPropertyEntranceComponentTable.h"
|
||||
|
||||
#include "Character.h"
|
||||
#include "Database.h"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef QUICKBUILDCOMPONENT_H
|
||||
#define QUICKBUILDCOMPONENT_H
|
||||
|
||||
#include <BitStream.h>
|
||||
#include "BitStream.h"
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include "dCommonVars.h"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef RENDERCOMPONENT_H
|
||||
#define RENDERCOMPONENT_H
|
||||
|
||||
#include <BitStream.h>
|
||||
#include "BitStream.h"
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "MissionComponent.h"
|
||||
#include "BitStreamUtils.h"
|
||||
#include "dServer.h"
|
||||
#include "../thirdparty/raknet/Source/RakNetworkFactory.h"
|
||||
#include "RakNetworkFactory.h"
|
||||
#include <future>
|
||||
#include "User.h"
|
||||
#include "UserManager.h"
|
||||
|
@ -50,7 +50,7 @@
|
||||
#include <chrono>
|
||||
#include "RakString.h"
|
||||
|
||||
#include "../thirdparty/cpp-httplib/httplib.h" //sorry not sorry.
|
||||
#include "httplib.h" //sorry not sorry.
|
||||
|
||||
//CDB includes:
|
||||
#include "CDClientManager.h"
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
#include <bcrypt/BCrypt.hpp>
|
||||
|
||||
#include <BitStream.h>
|
||||
#include "BitStream.h"
|
||||
#include <future>
|
||||
|
||||
#include "Game.h"
|
||||
|
@ -1,8 +1,8 @@
|
||||
#ifndef PACKETUTILS_H
|
||||
#define PACKETUTILS_H
|
||||
|
||||
#include <MessageIdentifiers.h>
|
||||
#include <BitStream.h>
|
||||
#include "MessageIdentifiers.h"
|
||||
#include "BitStream.h"
|
||||
#include <string>
|
||||
|
||||
enum class eConnectionType : uint16_t;
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <string>
|
||||
|
||||
// RakNet
|
||||
#include <RakNetTypes.h>
|
||||
#include "RakNetTypes.h"
|
||||
|
||||
class dServer;
|
||||
|
||||
|
@ -4,8 +4,6 @@
|
||||
#include "Game.h"
|
||||
#include "Logger.h"
|
||||
#include "dServer.h"
|
||||
#include "EntityInfo.h"
|
||||
#include "EntityManager.h"
|
||||
#include "dConfig.h"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user