diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bindings/scripts/ScriptMgr.cpp | 2 | ||||
-rw-r--r-- | src/bindings/scripts/ScriptMgr.h | 2 | ||||
-rw-r--r-- | src/game/AchievementMgr.cpp | 2 | ||||
-rw-r--r-- | src/game/AchievementMgr.h | 4 | ||||
-rw-r--r-- | src/game/AuctionHouseMgr.cpp | 2 | ||||
-rw-r--r-- | src/game/HostilRefManager.cpp | 2 | ||||
-rw-r--r-- | src/game/Mail.cpp | 2 | ||||
-rw-r--r-- | src/game/Makefile.am | 5 | ||||
-rw-r--r-- | src/game/Map.h | 2 | ||||
-rw-r--r-- | src/game/OutdoorPvPEP.h | 2 | ||||
-rw-r--r-- | src/game/PetAI.cpp | 2 | ||||
-rw-r--r-- | src/game/ReputationMgr.cpp | 2 | ||||
-rw-r--r-- | src/game/ReputationMgr.h | 2 | ||||
-rw-r--r-- | src/game/SpellHandler.cpp | 2 | ||||
-rw-r--r-- | src/game/SpellMgr.cpp | 2 | ||||
-rw-r--r-- | src/game/SpellMgr.h | 2 | ||||
-rw-r--r-- | src/game/TotemAI.cpp | 2 | ||||
-rw-r--r-- | src/game/Transports.cpp | 2 | ||||
-rw-r--r-- | src/game/Unit.h | 2 | ||||
-rw-r--r-- | src/game/World.cpp | 2 | ||||
-rw-r--r-- | src/shared/Database/DatabaseEnv.h | 1 | ||||
-rw-r--r-- | src/shared/Database/Makefile.am | 11 | ||||
-rw-r--r-- | src/shared/Database/SQLStorageImpl.h | 2 |
23 files changed, 30 insertions, 29 deletions
diff --git a/src/bindings/scripts/ScriptMgr.cpp b/src/bindings/scripts/ScriptMgr.cpp index b63d27055d4..09bbf7955e8 100644 --- a/src/bindings/scripts/ScriptMgr.cpp +++ b/src/bindings/scripts/ScriptMgr.cpp @@ -5,7 +5,7 @@ #include "precompiled.h" #include "Config/Config.h" #include "Database/DatabaseEnv.h" -#include "Database/DBCStores.h" +#include "DBCStores.h" #include "ObjectMgr.h" #include "ProgressBar.h" #include "scripts/creature/mob_event_ai.h" diff --git a/src/bindings/scripts/ScriptMgr.h b/src/bindings/scripts/ScriptMgr.h index 75474cfa2b8..7d814c373da 100644 --- a/src/bindings/scripts/ScriptMgr.h +++ b/src/bindings/scripts/ScriptMgr.h @@ -10,7 +10,7 @@ #include "Common.h" #include "Platform/CompilerDefs.h" -#include "Database/DBCStructure.h" +#include "DBCStructure.h" class Player; class Creature; diff --git a/src/game/AchievementMgr.cpp b/src/game/AchievementMgr.cpp index dfd63f4b37d..7496be71533 100644 --- a/src/game/AchievementMgr.cpp +++ b/src/game/AchievementMgr.cpp @@ -20,7 +20,7 @@ #include "Common.h" #include "Player.h" #include "WorldPacket.h" -#include "Database/DBCEnums.h" +#include "DBCEnums.h" #include "GameEventMgr.h" #include "ObjectMgr.h" #include "Guild.h" diff --git a/src/game/AchievementMgr.h b/src/game/AchievementMgr.h index 83a4317f601..030d053a554 100644 --- a/src/game/AchievementMgr.h +++ b/src/game/AchievementMgr.h @@ -20,9 +20,9 @@ #include "Common.h" #include "Policies/Singleton.h" -#include "Database/DBCEnums.h" -#include "Database/DBCStores.h" #include "Database/DatabaseEnv.h" +#include "DBCEnums.h" +#include "DBCStores.h" #include <map> #include <string> diff --git a/src/game/AuctionHouseMgr.cpp b/src/game/AuctionHouseMgr.cpp index 0e028b62296..f50de441b58 100644 --- a/src/game/AuctionHouseMgr.cpp +++ b/src/game/AuctionHouseMgr.cpp @@ -18,8 +18,8 @@ #include "Common.h" #include "Database/DatabaseEnv.h" -#include "Database/DBCStores.h" #include "Database/SQLStorage.h" +#include "DBCStores.h" #include "ProgressBar.h" #include "AccountMgr.h" diff --git a/src/game/HostilRefManager.cpp b/src/game/HostilRefManager.cpp index aee035ded49..4a51d54248d 100644 --- a/src/game/HostilRefManager.cpp +++ b/src/game/HostilRefManager.cpp @@ -21,7 +21,7 @@ #include "HostilRefManager.h" #include "ThreatManager.h" #include "Unit.h" -#include "Database/DBCStructure.h" +#include "DBCStructure.h" #include "SpellMgr.h" HostilRefManager::~HostilRefManager() diff --git a/src/game/Mail.cpp b/src/game/Mail.cpp index 8b5c5e5faf2..09c95628921 100644 --- a/src/game/Mail.cpp +++ b/src/game/Mail.cpp @@ -29,8 +29,8 @@ #include "UpdateMask.h" #include "Unit.h" #include "Language.h" -#include "Database/DBCStores.h" #include "AuctionHouseBot.h" +#include "DBCStores.h" void MailItem::deleteItem( bool inDB ) { diff --git a/src/game/Makefile.am b/src/game/Makefile.am index 329ecdaa9cf..4c629fcf40b 100644 --- a/src/game/Makefile.am +++ b/src/game/Makefile.am @@ -380,6 +380,11 @@ libmangosgame_a_SOURCES = \ CreatureAISelector.h \ Creature.cpp \ Creature.h \ + DBCEnums.h \ + DBCfmt.h \ + DBCStores.cpp \ + DBCStores.h \ + DBCStructure.h \ debugcmds.cpp \ DestinationHolder.cpp \ DestinationHolder.h \ diff --git a/src/game/Map.h b/src/game/Map.h index bd3ca891a58..83cb1009669 100644 --- a/src/game/Map.h +++ b/src/game/Map.h @@ -26,7 +26,7 @@ #include "zthread/Lockable.h" #include "zthread/Mutex.h" #include "zthread/FairReadWriteLock.h" -#include "Database/DBCStructure.h" +#include "DBCStructure.h" #include "GridDefines.h" #include "Cell.h" #include "Timer.h" diff --git a/src/game/OutdoorPvPEP.h b/src/game/OutdoorPvPEP.h index 5ba4591e48d..08d31de5cf5 100644 --- a/src/game/OutdoorPvPEP.h +++ b/src/game/OutdoorPvPEP.h @@ -21,7 +21,7 @@ #include "OutdoorPvP.h" -#include "Database/DBCStructure.h" +#include "DBCStructure.h" const uint32 EP_AllianceBuffs[4] = {11413, 11414, 11415, 1386}; diff --git a/src/game/PetAI.cpp b/src/game/PetAI.cpp index f218818febf..3ba66bd57a0 100644 --- a/src/game/PetAI.cpp +++ b/src/game/PetAI.cpp @@ -22,7 +22,7 @@ #include "Errors.h" #include "Pet.h" #include "Player.h" -#include "Database/DBCStores.h" +#include "DBCStores.h" #include "Spell.h" #include "ObjectAccessor.h" #include "SpellMgr.h" diff --git a/src/game/ReputationMgr.cpp b/src/game/ReputationMgr.cpp index 0ff70201015..15854fef958 100644 --- a/src/game/ReputationMgr.cpp +++ b/src/game/ReputationMgr.cpp @@ -17,7 +17,7 @@ */ #include "ReputationMgr.h" -#include "Database/DBCStores.h" +#include "DBCStores.h" #include "Player.h" #include "WorldPacket.h" diff --git a/src/game/ReputationMgr.h b/src/game/ReputationMgr.h index cb4c85fd5be..b81634119df 100644 --- a/src/game/ReputationMgr.h +++ b/src/game/ReputationMgr.h @@ -21,7 +21,7 @@ #include "Common.h" #include "SharedDefines.h" -#include "Database/DBCStructure.h" +#include "DBCStructure.h" #include <map> enum FactionFlags diff --git a/src/game/SpellHandler.cpp b/src/game/SpellHandler.cpp index e15dd92149b..2fd5384d03e 100644 --- a/src/game/SpellHandler.cpp +++ b/src/game/SpellHandler.cpp @@ -19,7 +19,7 @@ */ #include "Common.h" -#include "Database/DBCStores.h" +#include "DBCStores.h" #include "WorldPacket.h" #include "WorldSession.h" #include "ObjectMgr.h" diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index dead7ed3cc2..36039c4c04c 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -22,7 +22,7 @@ #include "ObjectMgr.h" #include "SpellAuraDefines.h" #include "ProgressBar.h" -#include "Database/DBCStores.h" +#include "DBCStores.h" #include "World.h" #include "Chat.h" #include "Spell.h" diff --git a/src/game/SpellMgr.h b/src/game/SpellMgr.h index 190059f81c4..234922fc0b4 100644 --- a/src/game/SpellMgr.h +++ b/src/game/SpellMgr.h @@ -25,7 +25,7 @@ // For more high level function for sSpellStore data #include "SharedDefines.h" -#include "Database/DBCStructure.h" +#include "DBCStructure.h" #include "Database/SQLStorage.h" #include "Utilities/UnorderedMap.h" diff --git a/src/game/TotemAI.cpp b/src/game/TotemAI.cpp index a8a049f9dd0..cc32d40fdae 100644 --- a/src/game/TotemAI.cpp +++ b/src/game/TotemAI.cpp @@ -21,7 +21,7 @@ #include "TotemAI.h" #include "Totem.h" #include "Creature.h" -#include "Database/DBCStores.h" +#include "DBCStores.h" #include "ObjectAccessor.h" #include "SpellMgr.h" diff --git a/src/game/Transports.cpp b/src/game/Transports.cpp index ea267f5df46..147f8ce39a3 100644 --- a/src/game/Transports.cpp +++ b/src/game/Transports.cpp @@ -26,7 +26,7 @@ #include "Path.h" #include "WorldPacket.h" -#include "Database/DBCStores.h" +#include "DBCStores.h" #include "ProgressBar.h" #include "World.h" diff --git a/src/game/Unit.h b/src/game/Unit.h index 80547a7e237..b8d58110352 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -33,7 +33,7 @@ #include "FollowerRefManager.h" #include "Utilities/EventProcessor.h" #include "MotionMaster.h" -#include "Database/DBCStructure.h" +#include "DBCStructure.h" #include <list> #define WORLD_TRIGGER 12999 diff --git a/src/game/World.cpp b/src/game/World.cpp index 3a2709549e8..8aaaeec2dc4 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -42,7 +42,7 @@ #include "ObjectMgr.h" #include "SpellMgr.h" #include "Chat.h" -#include "Database/DBCStores.h" +#include "DBCStores.h" #include "LootMgr.h" #include "ItemEnchantmentMgr.h" #include "MapManager.h" diff --git a/src/shared/Database/DatabaseEnv.h b/src/shared/Database/DatabaseEnv.h index 9366d1e0070..c915538276c 100644 --- a/src/shared/Database/DatabaseEnv.h +++ b/src/shared/Database/DatabaseEnv.h @@ -25,7 +25,6 @@ #include "Log.h" #include "Errors.h" -#include "Database/DBCStores.h" #include "Database/Field.h" #include "Database/QueryResult.h" diff --git a/src/shared/Database/Makefile.am b/src/shared/Database/Makefile.am index b030fca9b7e..6092bdc0e8e 100644 --- a/src/shared/Database/Makefile.am +++ b/src/shared/Database/Makefile.am @@ -29,10 +29,9 @@ AM_CPPFLAGS = $(TRINI_INCLUDES) -I$(top_builddir)/src/shared -I$(srcdir) -I$(src noinst_LIBRARIES = libmangosdatabase.a libmangosdatabase_a_SOURCES = \ - DBCStores.cpp \ - DBCStores.h \ - DBCStructure.h \ - DBCfmt.cpp \ + DBCFileLoader.cpp \ + DBCFileLoader.h \ + DBCStore.h \ Database.cpp \ Database.h \ DatabaseEnv.h \ @@ -61,6 +60,4 @@ libmangosdatabase_a_SOURCES = \ SqlDelayThread.cpp \ SqlDelayThread.h \ SqlOperations.cpp \ - SqlOperations.h \ - dbcfile.cpp \ - dbcfile.h + SqlOperations.h diff --git a/src/shared/Database/SQLStorageImpl.h b/src/shared/Database/SQLStorageImpl.h index b7927851fef..b511bdad68c 100644 --- a/src/shared/Database/SQLStorageImpl.h +++ b/src/shared/Database/SQLStorageImpl.h @@ -18,7 +18,7 @@ #include "ProgressBar.h" #include "Log.h" -#include "dbcfile.h" +#include "DBCFileLoader.h" template<class T> template<class S, class D> |