Skip to content

Commit

Permalink
fix-up more include paths
Browse files Browse the repository at this point in the history
  • Loading branch information
EmosewaMC committed Jan 5, 2024
1 parent 858125e commit eb1252e
Show file tree
Hide file tree
Showing 26 changed files with 28 additions and 27 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ set(INCLUDED_DIRECTORIES
"thirdparty/recastnavigation"
"thirdparty/SQLite"
"thirdparty/cpplinq"
"thirdparty/cpp-httplib"

"tests"
"tests/dCommonTests"
Expand Down
2 changes: 1 addition & 1 deletion dAuthServer/AuthServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

//RakNet includes:
#include "RakNetDefines.h"
#include <MessageIdentifiers.h>
#include "MessageIdentifiers.h"

//Auth includes:
#include "AuthPackets.h"
Expand Down
2 changes: 1 addition & 1 deletion dChatServer/ChatServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

//RakNet includes:
#include "RakNetDefines.h"
#include <MessageIdentifiers.h>
#include "MessageIdentifiers.h"

namespace Game {
Logger* logger = nullptr;
Expand Down
2 changes: 1 addition & 1 deletion dCommon/AmfSerialize.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "Amf3.h"

// RakNet
#include <BitStream.h>
#include "BitStream.h"

/*!
\file AmfSerialize.h
Expand Down
2 changes: 1 addition & 1 deletion dCommon/GeneralUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <functional>
#include <type_traits>
#include <stdexcept>
#include <BitStream.h>
#include "BitStream.h"
#include "NiPoint3.h"

#include "Game.h"
Expand Down
2 changes: 1 addition & 1 deletion dCommon/ZCompression.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "ZCompression.h"

#include <zlib.h>
#include "zlib.h"

namespace ZCompression {
int32_t GetMaxCompressedLength(int32_t nLenSrc) {
Expand Down
2 changes: 1 addition & 1 deletion dCommon/dClient/AssetManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
2 changes: 1 addition & 1 deletion dGame/Character.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "dCommonVars.h"
#include <vector>
#include "../thirdparty/tinyxml2/tinyxml2.h"
#include "tinyxml2.h"
#include <unordered_map>
#include <map>

Expand Down
2 changes: 1 addition & 1 deletion dGame/Entity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion dGame/User.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include <string>
#include <vector>
#include "../thirdparty/raknet/Source/RakNetTypes.h"
#include "RakNetTypes.h"
#include "dCommonVars.h"

#include <unordered_map>
Expand Down
4 changes: 2 additions & 2 deletions dGame/UserManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 "../dWorldServer/ObjectIDManager.h"
#include "Logger.h"
Expand Down
2 changes: 1 addition & 1 deletion dGame/dComponents/ActivityComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion dGame/dComponents/BaseCombatAIComponent.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "BaseCombatAIComponent.h"
#include <BitStream.h>
#include "BitStream.h"

#include "Entity.h"
#include "EntityManager.h"
Expand Down
2 changes: 1 addition & 1 deletion dGame/dComponents/BouncerComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion dGame/dComponents/BuffComponent.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "BuffComponent.h"
#include <BitStream.h>
#include "BitStream.h"
#include "CDClientDatabase.h"
#include <stdexcept>
#include "DestroyableComponent.h"
Expand Down
2 changes: 1 addition & 1 deletion dGame/dComponents/CharacterComponent.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "CharacterComponent.h"
#include <BitStream.h>
#include "BitStream.h"
#include "tinyxml2.h"
#include "Game.h"
#include "Logger.h"
Expand Down
2 changes: 1 addition & 1 deletion dGame/dComponents/Component.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "../thirdparty/tinyxml2/tinyxml2.h"
#include "tinyxml2.h"

class Entity;

Expand Down
2 changes: 1 addition & 1 deletion dGame/dComponents/DestroyableComponent.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "DestroyableComponent.h"
#include <BitStream.h>
#include "BitStream.h"
#include "Logger.h"
#include "Game.h"
#include "dConfig.h"
Expand Down
2 changes: 1 addition & 1 deletion dGame/dComponents/PropertyEntranceComponent.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "PropertyEntranceComponent.h"

#include <CDPropertyEntranceComponentTable.h>
#include "CDPropertyEntranceComponentTable.h"

#include "Character.h"
#include "Database.h"
Expand Down
2 changes: 1 addition & 1 deletion dGame/dComponents/QuickBuildComponent.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef QUICKBUILDCOMPONENT_H
#define QUICKBUILDCOMPONENT_H

#include <BitStream.h>
#include "BitStream.h"
#include <vector>
#include <string>
#include "dCommonVars.h"
Expand Down
2 changes: 1 addition & 1 deletion dGame/dComponents/RenderComponent.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef RENDERCOMPONENT_H
#define RENDERCOMPONENT_H

#include <BitStream.h>
#include "BitStream.h"
#include <vector>
#include <string>
#include <unordered_map>
Expand Down
2 changes: 1 addition & 1 deletion dGame/dGameMessages/GameMessageHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion dGame/dGameMessages/GameMessages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion dNet/AuthPackets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include <bcrypt/BCrypt.hpp>

#include <BitStream.h>
#include "BitStream.h"
#include <future>

#include "Game.h"
Expand Down
4 changes: 2 additions & 2 deletions dNet/PacketUtils.h
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion dNet/ZoneInstanceManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <string>

// RakNet
#include <RakNetTypes.h>
#include "RakNetTypes.h"

class dServer;

Expand Down

0 comments on commit eb1252e

Please sign in to comment.