[8923] Restructure gossip menus and make it possible to build selections by database
commit48bea8f6f4c7ef80b874e42a9470f8c0c10e5fc5
authorNoFantasy <nofantasy@nf.no>
Sun, 6 Dec 2009 01:26:29 +0000 (6 02:26 +0100)
committerNoFantasy <nofantasy@nf.no>
Sun, 6 Dec 2009 01:27:26 +0000 (6 02:27 +0100)
treefc2cc91b6d1dac94f5144fd715a2ae95a9d6f76d
parent92145a52a591434a7329fa71c6e182ec0323602d
[8923] Restructure gossip menus and make it possible to build selections by database

As result, gossip for GO is now possible. Moved related data structures and remove useless from code.
Please note that after some time, table npc_gossip will be fully removed (use menuId in _template in relation to gossip_menu as replacement).
Special thanks to GriffonHeart for help with research, discussions and ideas of code and thanks to Vladimir for helpful input.

Signed-off-by: NoFantasy <nofantasy@nf.no>
19 files changed:
sql/mangos.sql
sql/updates/8923_01_mangos_gossip.sql [new file with mode: 0644]
sql/updates/Makefile.am
src/game/Creature.cpp
src/game/Creature.h
src/game/GameObject.cpp
src/game/GossipDef.cpp
src/game/GossipDef.h
src/game/Level3.cpp
src/game/NPCHandler.cpp
src/game/ObjectMgr.cpp
src/game/ObjectMgr.h
src/game/Player.cpp
src/game/Player.h
src/game/QuestHandler.cpp
src/game/World.cpp
src/shared/Database/SQLStorage.cpp
src/shared/revision_nr.h
src/shared/revision_sql.h