mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
[7552] Move client version dependend DBC code to src/game. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
#include "Common.h"
|
||||
#include "Platform/CompilerDefs.h"
|
||||
#include "Database/DBCStructure.h"
|
||||
#include "DBCStructure.h"
|
||||
|
||||
class Player;
|
||||
class Creature;
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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 )
|
||||
{
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include "OutdoorPvP.h"
|
||||
|
||||
#include "Database/DBCStructure.h"
|
||||
#include "DBCStructure.h"
|
||||
|
||||
const uint32 EP_AllianceBuffs[4] = {11413, 11414, 11415, 1386};
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
*/
|
||||
|
||||
#include "ReputationMgr.h"
|
||||
#include "Database/DBCStores.h"
|
||||
#include "DBCStores.h"
|
||||
#include "Player.h"
|
||||
#include "WorldPacket.h"
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include "Common.h"
|
||||
#include "SharedDefines.h"
|
||||
#include "Database/DBCStructure.h"
|
||||
#include "DBCStructure.h"
|
||||
#include <map>
|
||||
|
||||
enum FactionFlags
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
#include "Common.h"
|
||||
#include "Database/DBCStores.h"
|
||||
#include "DBCStores.h"
|
||||
#include "WorldPacket.h"
|
||||
#include "WorldSession.h"
|
||||
#include "ObjectMgr.h"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include "Path.h"
|
||||
|
||||
#include "WorldPacket.h"
|
||||
#include "Database/DBCStores.h"
|
||||
#include "DBCStores.h"
|
||||
#include "ProgressBar.h"
|
||||
|
||||
#include "World.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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#include "Log.h"
|
||||
#include "Errors.h"
|
||||
|
||||
#include "Database/DBCStores.h"
|
||||
#include "Database/Field.h"
|
||||
#include "Database/QueryResult.h"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "ProgressBar.h"
|
||||
#include "Log.h"
|
||||
#include "dbcfile.h"
|
||||
#include "DBCFileLoader.h"
|
||||
|
||||
template<class T>
|
||||
template<class S, class D>
|
||||
|
||||
@@ -897,6 +897,21 @@
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Server">
|
||||
<File
|
||||
RelativePath="..\..\src\game\DBCEnums.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game\DBCfmt.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game\DBCStores.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game\DBCStores.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game\DBCStructure.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game\GlobalEvents.cpp">
|
||||
</File>
|
||||
|
||||
@@ -195,34 +195,13 @@
|
||||
<Filter
|
||||
Name="DataStores">
|
||||
<File
|
||||
RelativePath="..\..\src\shared\Database\dbcfile.cpp">
|
||||
RelativePath="..\..\src\shared\Database\DBCFileLoader.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\Database\dbcfile.h">
|
||||
RelativePath="..\..\src\shared\Database\DBCFileLoader.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\Database\DBCfmt.cpp">
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
ObjectFile="$(IntDir)/$(InputName)1.obj"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
ObjectFile="$(IntDir)/$(InputName)1.obj"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\Database\DBCStores.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\Database\DBCStores.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\Database\DBCStructure.h">
|
||||
RelativePath="..\..\src\shared\Database\DBCStore.h">
|
||||
</File>
|
||||
</Filter>
|
||||
</Filter>
|
||||
|
||||
@@ -1331,6 +1331,26 @@
|
||||
<Filter
|
||||
Name="Server"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\src\game\DBCEnums.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game\DBCfmt.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game\DBCStores.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game\DBCStores.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game\DBCStructure.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game\GlobalEvents.cpp"
|
||||
>
|
||||
|
||||
@@ -440,59 +440,15 @@
|
||||
Name="DataStores"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\Database\dbcfile.cpp"
|
||||
RelativePath="..\..\src\shared\Database\DBCFileLoader.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\Database\dbcfile.h"
|
||||
RelativePath="..\..\src\shared\Database\DBCFileLoader.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\Database\DBCfmt.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
ObjectFile="$(IntDir)/$(InputName)1.obj"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|x64"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
ObjectFile="$(IntDir)/$(InputName)1.obj"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
ObjectFile="$(IntDir)/$(InputName)1.obj"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug|x64"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
ObjectFile="$(IntDir)/$(InputName)1.obj"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\Database\DBCStores.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\Database\DBCStores.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\Database\DBCStructure.h"
|
||||
RelativePath="..\..\src\shared\Database\DBCStore.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
|
||||
@@ -1330,6 +1330,26 @@
|
||||
<Filter
|
||||
Name="Server"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\src\game\DBCEnums.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game\DBCfmt.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game\DBCStores.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game\DBCStores.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game\DBCStructure.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game\GlobalEvents.cpp"
|
||||
>
|
||||
|
||||
@@ -447,59 +447,15 @@
|
||||
Name="DataStores"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\Database\dbcfile.cpp"
|
||||
RelativePath="..\..\src\shared\Database\DBCFileLoader.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\Database\dbcfile.h"
|
||||
RelativePath="..\..\src\shared\Database\DBCFileLoader.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\Database\DBCfmt.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
ObjectFile="$(IntDir)/$(InputName)1.obj"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|x64"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
ObjectFile="$(IntDir)/$(InputName)1.obj"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
ObjectFile="$(IntDir)/$(InputName)1.obj"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug|x64"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
ObjectFile="$(IntDir)/$(InputName)1.obj"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\Database\DBCStores.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\Database\DBCStores.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\Database\DBCStructure.h"
|
||||
RelativePath="..\..\src\shared\Database\DBCStore.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
|
||||
Reference in New Issue
Block a user