From d0a3d03422ccf25b1b8c9ac4778189ed484ee930 Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 18 Feb 2009 16:50:21 -0600 Subject: [7295] Make more static world data accessable for scripts use. Author: NoFantasy --HG-- branch : trunk --- src/shared/Database/DBCStores.cpp | 4 +++- src/shared/Database/DBCStores.h | 3 +++ src/shared/revision_nr.h | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'src/shared') diff --git a/src/shared/Database/DBCStores.cpp b/src/shared/Database/DBCStores.cpp index 8890ad0eb1e..54e71d2cbf0 100644 --- a/src/shared/Database/DBCStores.cpp +++ b/src/shared/Database/DBCStores.cpp @@ -709,4 +709,6 @@ uint32 const* GetTalentTabPages(uint32 cls) TRINITY_DLL_SPEC DBCStorage const* GetSoundEntriesStore() { return &sSoundEntriesStore; } TRINITY_DLL_SPEC DBCStorage const* GetSpellStore() { return &sSpellStore; } TRINITY_DLL_SPEC DBCStorage const* GetSpellRangeStore() { return &sSpellRangeStore; } - +TRINITY_DLL_SPEC DBCStorage const* GetFactionStore() { return &sFactionStore; } +TRINITY_DLL_SPEC DBCStorage const* GetItemDisplayStore() { return &sItemStore; } +TRINITY_DLL_SPEC DBCStorage const* GetCreatureDisplayStore() { return &sCreatureDisplayInfoStore; } diff --git a/src/shared/Database/DBCStores.h b/src/shared/Database/DBCStores.h index 8a7ee02cc95..6b5f5990eea 100644 --- a/src/shared/Database/DBCStores.h +++ b/src/shared/Database/DBCStores.h @@ -220,5 +220,8 @@ void LoadDBCStores(const std::string& dataPath); TRINITY_DLL_SPEC DBCStorage const* GetSoundEntriesStore(); TRINITY_DLL_SPEC DBCStorage const* GetSpellStore(); TRINITY_DLL_SPEC DBCStorage const* GetSpellRangeStore(); +TRINITY_DLL_SPEC DBCStorage const* GetFactionStore(); +TRINITY_DLL_SPEC DBCStorage const* GetItemDisplayStore(); +TRINITY_DLL_SPEC DBCStorage const* GetCreatureDisplayStore(); #endif diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 71c1b309dce..caca4e0642d 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7294" + #define REVISION_NR "7295" #endif // __REVISION_NR_H__ -- cgit v1.2.3